vector.schema.json (996B)
1 { 2 "$schema": "http://json-schema.org/draft-07/schema#", 3 "$id": "https://radroots.org/core/conformance/vector.schema.json", 4 "title": "radroots core conformance vector", 5 "type": "object", 6 "required": [ 7 "suite", 8 "contract_version", 9 "vectors" 10 ], 11 "properties": { 12 "suite": { 13 "type": "string", 14 "minLength": 1 15 }, 16 "contract_version": { 17 "type": "string", 18 "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$" 19 }, 20 "vectors": { 21 "type": "array", 22 "items": { 23 "type": "object", 24 "required": [ 25 "id", 26 "kind", 27 "input", 28 "expected" 29 ], 30 "properties": { 31 "id": { 32 "type": "string", 33 "minLength": 1 34 }, 35 "kind": { 36 "type": "string", 37 "minLength": 1 38 }, 39 "input": {}, 40 "expected": {} 41 }, 42 "additionalProperties": false 43 } 44 } 45 }, 46 "additionalProperties": false 47 }