Files
reuse-surface/schemas/registry-draft.schema.json
tegwick 70a5003f6e
Some checks failed
ci / validate-registry (push) Has been cancelled
Implement REUSE-WP-0013 registry establish, update, and stats
Add stats, establish (scaffold, publish-check, discover), and update CLI
commands with optional llm-connect bridge, validate --root for sibling repos,
pytest coverage, and documentation for sibling registry onboarding.
2026-06-16 01:21:01 +02:00

69 lines
1.6 KiB
JSON

{
"$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"
}
}
}
}
}
}
}