tighten deployment profile artifact vocabulary
This commit is contained in:
@@ -114,6 +114,8 @@
|
||||
"operatorVisibleRecoveryRequired": { "type": "boolean" },
|
||||
"allowedTerminalStates": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"uniqueItems": true,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"enum": ["acked", "blocked", "pending_external_send"]
|
||||
@@ -130,9 +132,49 @@
|
||||
"requiredArtifacts": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": { "type": "string", "minLength": 1 }
|
||||
"uniqueItems": true,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"canonical_events",
|
||||
"evidence_records",
|
||||
"decision_records",
|
||||
"queue_items",
|
||||
"spool_artifacts",
|
||||
"bridge_receipts",
|
||||
"capability_descriptor",
|
||||
"profile_snapshot"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"portableArtifactsRequired": { "const": true }
|
||||
},
|
||||
"required": ["portableArtifactsRequired"]
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
"requiredArtifacts": {
|
||||
"allOf": [
|
||||
{
|
||||
"contains": { "const": "canonical_events" }
|
||||
},
|
||||
{
|
||||
"contains": { "const": "queue_items" }
|
||||
},
|
||||
{
|
||||
"contains": { "const": "bridge_receipts" }
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"capability_expectations": {
|
||||
"type": "object",
|
||||
|
||||
Reference in New Issue
Block a user