{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://reuse-surface.local/schemas/registry-draft.schema.json", "title": "RegistryDiscoveryDraft", "type": "object", "additionalProperties": false, "required": ["capabilities"], "properties": { "domain": { "type": "string" }, "capabilities": { "type": "array", "items": { "type": "object", "additionalProperties": false, "required": ["id", "name", "summary"], "properties": { "id": { "type": "string", "pattern": "^capability\\.[a-z0-9]+(\\.[a-z0-9-]+)+$" }, "name": { "type": "string", "minLength": 1 }, "summary": { "type": "string", "minLength": 1 }, "owner": { "type": "string" }, "vector": { "type": "string", "pattern": "^D[0-7] / A[0-7] / C[0-6] / R[0-6]$" }, "tags": { "type": "array", "items": { "type": "string" } }, "consumption_modes": { "type": "array", "items": { "type": "string" } }, "discovery_intent": { "type": "string" }, "discovery_includes": { "type": "array", "items": { "type": "string" } }, "discovery_excludes": { "type": "array", "items": { "type": "string" } } } } } } }