generated from coulomb/repo-seed
36 lines
887 B
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": []
|
|
}
|
|
}
|
|
}
|