generated from coulomb/repo-seed
Add Inter-Hub migration bundle importer
This commit is contained in:
71
contracts/schemas/migration-bundle.schema.json
Normal file
71
contracts/schemas/migration-bundle.schema.json
Normal 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": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user