This repository has been archived on 2026-07-08. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
core-hub/contracts/schemas/hub-manifest.schema.json

36 lines
887 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://core-hub.local/contracts/schemas/hub-manifest.schema.json",
"title": "Core Hub Capability Manifest",
"type": "object",
"required": ["hub_slug", "manifest_version", "capabilities"],
"additionalProperties": false,
"properties": {
"hub_slug": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-]*$"
},
"manifest_version": {
"type": "string"
},
"capabilities": {
"type": "array",
"items": {"type": "string"},
"uniqueItems": true
},
"endpoints": {
"type": "array",
"items": {
"type": "object",
"required": ["rel", "href"],
"additionalProperties": false,
"properties": {
"rel": {"type": "string"},
"href": {"type": "string"}
}
},
"default": []
}
}
}