Start Core Hub FastAPI replacement foundation

This commit is contained in:
2026-06-27 11:41:26 +02:00
parent 75963233b6
commit 1e87adbcbb
37 changed files with 3292 additions and 30 deletions

View File

@@ -0,0 +1,35 @@
{
"$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": []
}
}
}