{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "urn:nobei:contracts:l1-candidate:v1", "type": "object", "additionalProperties": false, "required": ["schemaVersion", "candidates"], "properties": { "schemaVersion": { "const": 1 }, "candidates": { "type": "array", "maxItems": 20, "items": { "type": "object", "additionalProperties": false, "required": ["type", "title", "statement", "evidence"], "properties": { "type": { "enum": ["concept", "process", "comparison", "formula", "fact", "code"] }, "title": { "type": "string", "minLength": 1, "maxLength": 120 }, "statement": { "type": "string", "minLength": 1, "maxLength": 2000 }, "evidence": { "type": "array", "minItems": 1, "maxItems": 3, "items": { "type": "object", "additionalProperties": false, "required": ["quote", "prefix", "suffix"], "properties": { "quote": { "type": "string", "minLength": 1, "maxLength": 2000 }, "prefix": { "type": "string", "maxLength": 200 }, "suffix": { "type": "string", "maxLength": 200 } } } } } } } } }