{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "Case File", "description": "A dossier card — case number, status stamp, subject and a set of field/value evidence rows.", "type": "object", "properties": { "caseNumber": { "type": "string", "title": "Case Number", "description": "File reference (e.g. 'CF-0451').", "x-editor": "text" }, "subject": { "type": "string", "title": "Subject", "description": "The name or subject of the case.", "x-editor": "text" }, "status": { "type": "string", "title": "Status", "description": "Status stamp shown on the file.", "x-editor": "select", "enum": ["open", "active", "cold", "closed"], "default": "open" }, "summary": { "type": "string", "title": "Summary", "description": "Short case summary.", "x-editor": "textarea" }, "fields": { "type": "array", "title": "Evidence Rows", "description": "Field/value rows shown as a dossier record.", "x-editor": "array", "default": [], "items": { "type": "object", "properties": { "label": { "type": "string", "title": "Field", "x-editor": "text" }, "value": { "type": "string", "title": "Value", "x-editor": "text" } }, "required": ["label", "value"] } } } }