{"$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "required": ["version", "type", "target", "credit", "title", "summary", "advance", "limits", "references", "claims", "arguments", "materials"], "additionalProperties": false, "properties": {"version": {"const": 1}, "type": {"type": "string", "enum": ["note", "object", "application", "register", "review"]}, "target": {"type": "string", "minLength": 1, "maxLength": 256, "pattern": "^/[A-Za-z0-9_/%.-]+$"}, "credit": {"type": "string", "minLength": 1, "maxLength": 140}, "title": {"type": "object", "required": ["fr", "en"], "additionalProperties": false, "properties": {"fr": {"type": "string", "minLength": 1, "maxLength": 180}, "en": {"type": "string", "minLength": 1, "maxLength": 180}}}, "summary": {"type": "object", "required": ["fr", "en"], "additionalProperties": false, "properties": {"fr": {"type": "string", "minLength": 1, "maxLength": 1400}, "en": {"type": "string", "minLength": 1, "maxLength": 1400}}}, "advance": {"type": "object", "required": ["fr", "en"], "additionalProperties": false, "properties": {"fr": {"type": "string", "minLength": 1, "maxLength": 1800}, "en": {"type": "string", "minLength": 1, "maxLength": 1800}}}, "limits": {"type": "object", "required": ["fr", "en"], "additionalProperties": false, "properties": {"fr": {"type": "string", "minLength": 1, "maxLength": 1200}, "en": {"type": "string", "minLength": 1, "maxLength": 1200}}}, "references": {"type": "array", "minItems": 1, "maxItems": 8, "items": {"type": "object", "required": ["title", "url"], "additionalProperties": false, "properties": {"title": {"type": "string", "minLength": 1, "maxLength": 240}, "url": {"type": "string", "minLength": 1, "maxLength": 500, "pattern": "^https://[^\\s]+$"}}}}, "claims": {"type": "array", "minItems": 1, "maxItems": 6, "items": {"type": "object", "required": ["id", "kind", "assumptions", "statement"], "additionalProperties": false, "properties": {"id": {"type": "string", "minLength": 1, "maxLength": 24, "pattern": "^[a-z][a-z0-9-]{0,23}$"}, "kind": {"type": "string", "enum": ["theorem", "counterexample", "observation", "conjecture", "definition", "assessment"]}, "assumptions": {"type": "object", "required": ["fr", "en"], "additionalProperties": false, "properties": {"fr": {"type": "string", "minLength": 1, "maxLength": 1200}, "en": {"type": "string", "minLength": 1, "maxLength": 1200}}}, "statement": {"type": "object", "required": ["fr", "en"], "additionalProperties": false, "properties": {"fr": {"type": "string", "minLength": 1, "maxLength": 1800}, "en": {"type": "string", "minLength": 1, "maxLength": 1800}}}}}}, "arguments": {"type": "array", "minItems": 1, "maxItems": 6, "items": {"type": "object", "required": ["claim", "statement_sha256", "method", "material"], "additionalProperties": false, "properties": {"claim": {"type": "string", "minLength": 1, "maxLength": 24, "pattern": "^[a-z][a-z0-9-]{0,23}$"}, "statement_sha256": {"type": "string", "minLength": 1, "maxLength": 64, "pattern": "^[a-f0-9]{64}$"}, "method": {"type": "string", "enum": ["proof", "witness", "protocol", "argument", "specification", "assessment"]}, "material": {"type": "string", "minLength": 1, "maxLength": 90, "pattern": "^materials/[a-z0-9][a-z0-9_.-]{0,63}\\.(?:txt|md|json|csv)$"}}}}, "materials": {"type": "array", "minItems": 1, "maxItems": 7, "items": {"type": "object", "required": ["path", "sha256"], "additionalProperties": false, "properties": {"path": {"type": "string", "minLength": 1, "maxLength": 90, "pattern": "^materials/[a-z0-9][a-z0-9_.-]{0,63}\\.(?:txt|md|json|csv)$"}, "sha256": {"type": "string", "minLength": 1, "maxLength": 64, "pattern": "^[a-f0-9]{64}$"}}}}}}