Add Inter-Hub migration bundle importer

This commit is contained in:
2026-06-27 13:30:30 +02:00
parent a1fc57b278
commit e4f7cfed60
12 changed files with 861 additions and 5 deletions

View File

@@ -0,0 +1,71 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://core-hub.local/contracts/schemas/migration-bundle.schema.json",
"title": "Core Hub Migration Bundle",
"type": "object",
"required": [
"schemaVersion",
"source",
"records"
],
"additionalProperties": true,
"properties": {
"schemaVersion": {
"const": "core-hub.migration.v1"
},
"source": {
"type": "string"
},
"exportedAt": {
"type": "string"
},
"records": {
"type": "object",
"additionalProperties": false,
"properties": {
"hubs": {
"type": "array",
"items": {
"type": "object"
},
"default": []
},
"hubCapabilityManifests": {
"type": "array",
"items": {
"type": "object"
},
"default": []
},
"apiConsumers": {
"type": "array",
"items": {
"type": "object"
},
"default": []
},
"apiKeys": {
"type": "array",
"items": {
"type": "object"
},
"default": []
},
"widgets": {
"type": "array",
"items": {
"type": "object"
},
"default": []
},
"interactionEvents": {
"type": "array",
"items": {
"type": "object"
},
"default": []
}
}
}
}
}