{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://toolctrl.local/ui-surfaces.schema.json", "title": "Toolctrl UI Surface Map", "type": "object", "additionalProperties": false, "required": ["schemaVersion", "surfaces"], "properties": { "schemaVersion": { "type": "integer", "const": 1 }, "surfaces": { "type": "array", "items": { "$ref": "#/$defs/surface" } } }, "$defs": { "surface": { "type": "object", "additionalProperties": false, "required": ["id", "kind", "label", "sourceFiles", "renderer", "notes"], "properties": { "id": { "type": "string", "pattern": "^ui\\.(surface|action|nav)\\." }, "kind": { "type": "string", "enum": ["surface", "action", "nav"] }, "label": { "type": "string", "minLength": 1 }, "sourceFiles": { "type": "array", "items": { "type": "string" } }, "renderer": { "type": "string", "minLength": 1 }, "notes": { "type": "array", "items": { "type": "string" } } } } } }