evidence.schema.json (933B)
1 { 2 "$comment": "Evidence references use exact byte offsets into the immutable source revision, or trusted record fields", 3 "type": "object", 4 "properties": { 5 "source_id": { 6 "type": "string", 7 "minLength": 1 8 }, 9 "revision": { 10 "type": "string", 11 "minLength": 1 12 }, 13 "kind": { 14 "type": "string", 15 "enum": [ 16 "span", 17 "record_field" 18 ] 19 }, 20 "start": { 21 "type": [ 22 "integer", 23 "null" 24 ], 25 "minimum": 0 26 }, 27 "end": { 28 "type": [ 29 "integer", 30 "null" 31 ], 32 "minimum": 0 33 }, 34 "record_id": { 35 "type": [ 36 "string", 37 "null" 38 ] 39 }, 40 "field": { 41 "type": [ 42 "string", 43 "null" 44 ] 45 }, 46 "method": { 47 "type": "string" 48 } 49 }, 50 "required": [ 51 "source_id", 52 "revision", 53 "kind", 54 "method" 55 ], 56 "additionalProperties": false 57 }