github.com/mistwind/reviewdog@v0.0.0-20230322024206-9cfa11856d58/proto/rdf/jsonschema/Location.jsonschema (about) 1 { 2 "$schema": "http://json-schema.org/draft-04/schema#", 3 "properties": { 4 "path": { 5 "type": "string", 6 "description": "File path. It could be either absolute path or relative path." 7 }, 8 "range": { 9 "properties": { 10 "start": { 11 "$ref": "reviewdog.rdf.Position", 12 "additionalProperties": true, 13 "type": "object", 14 "description": "Required." 15 }, 16 "end": { 17 "$ref": "reviewdog.rdf.Position", 18 "additionalProperties": true, 19 "type": "object", 20 "description": "end can be omitted. Then the range is handled as zero-length (start == end).\n Optional." 21 } 22 }, 23 "additionalProperties": true, 24 "type": "object", 25 "description": "Range in the file path.\n Optional." 26 } 27 }, 28 "additionalProperties": true, 29 "type": "object", 30 "definitions": { 31 "reviewdog.rdf.Position": { 32 "$schema": "http://json-schema.org/draft-04/schema#", 33 "properties": { 34 "line": { 35 "type": "integer", 36 "description": "Line number, starting at 1.\n Optional." 37 }, 38 "column": { 39 "type": "integer", 40 "description": "Column number, starting at 1 (byte count in UTF-8).\n Example: 'a𐐀b'\n The column of a: 1\n The column of 𐐀: 2\n The column of b: 6 since 𐐀 is represented with 4 bytes in UTF-8.\n Optional." 41 } 42 }, 43 "additionalProperties": true, 44 "type": "object", 45 "id": "reviewdog.rdf.Position" 46 } 47 } 48 }