summaryrefslogtreecommitdiff
path: root/schema/json/Range.json
diff options
context:
space:
mode:
Diffstat (limited to 'schema/json/Range.json')
-rw-r--r--schema/json/Range.json41
1 files changed, 41 insertions, 0 deletions
diff --git a/schema/json/Range.json b/schema/json/Range.json
new file mode 100644
index 00000000..52953837
--- /dev/null
+++ b/schema/json/Range.json
@@ -0,0 +1,41 @@
+{
+ "title": "Range",
+ "$ref": "#/definitions/continuedev__src__continuedev__models__main__Range",
+ "definitions": {
+ "Position": {
+ "title": "Position",
+ "type": "object",
+ "properties": {
+ "line": {
+ "title": "Line",
+ "type": "integer"
+ },
+ "character": {
+ "title": "Character",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "line",
+ "character"
+ ]
+ },
+ "continuedev__src__continuedev__models__main__Range": {
+ "title": "Range",
+ "description": "A range in a file. 0-indexed.",
+ "type": "object",
+ "properties": {
+ "start": {
+ "$ref": "#/definitions/Position"
+ },
+ "end": {
+ "$ref": "#/definitions/Position"
+ }
+ },
+ "required": [
+ "start",
+ "end"
+ ]
+ }
+ }
+} \ No newline at end of file