test(reporting-governance): tighten deployment profile schema semantics
This commit is contained in:
@@ -42,17 +42,97 @@
|
||||
"adapters": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
"required": ["watchdog", "queue", "dispatcher", "bridge", "sender", "orchestrator"]
|
||||
"required": ["hook", "watchdog", "queue", "dispatcher", "bridge", "sender", "orchestrator"],
|
||||
"properties": {
|
||||
"hook": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
"required": ["enabled"],
|
||||
"properties": {
|
||||
"enabled": { "type": "boolean" }
|
||||
}
|
||||
},
|
||||
"watchdog": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
"required": ["enabled"],
|
||||
"properties": {
|
||||
"enabled": { "type": "boolean" }
|
||||
}
|
||||
},
|
||||
"queue": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
"required": ["enabled"],
|
||||
"properties": {
|
||||
"enabled": { "type": "boolean" }
|
||||
}
|
||||
},
|
||||
"dispatcher": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
"required": ["enabled"],
|
||||
"properties": {
|
||||
"enabled": { "type": "boolean" }
|
||||
}
|
||||
},
|
||||
"bridge": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
"required": ["enabled"],
|
||||
"properties": {
|
||||
"enabled": { "type": "boolean" }
|
||||
}
|
||||
},
|
||||
"sender": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
"required": ["mode"],
|
||||
"properties": {
|
||||
"mode": {
|
||||
"type": "string",
|
||||
"enum": ["openclaw-cli", "shim_or_openclaw_cli", "dry-run_or_external"]
|
||||
},
|
||||
"enabled": { "type": "boolean" }
|
||||
}
|
||||
},
|
||||
"orchestrator": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
"required": ["enabled"],
|
||||
"properties": {
|
||||
"enabled": { "type": "boolean" }
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"notifications": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
"required": ["operatorVisibleRecoveryRequired", "allowedTerminalStates"]
|
||||
"required": ["operatorVisibleRecoveryRequired", "allowedTerminalStates"],
|
||||
"properties": {
|
||||
"operatorVisibleRecoveryRequired": { "type": "boolean" },
|
||||
"allowedTerminalStates": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"enum": ["acked", "blocked", "pending_external_send"]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"audit": {
|
||||
"type": "object",
|
||||
"additionalProperties": true,
|
||||
"required": ["portableArtifactsRequired", "requiredArtifacts"]
|
||||
"required": ["portableArtifactsRequired", "requiredArtifacts"],
|
||||
"properties": {
|
||||
"portableArtifactsRequired": { "type": "boolean" },
|
||||
"requiredArtifacts": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": { "type": "string", "minLength": 1 }
|
||||
}
|
||||
}
|
||||
},
|
||||
"capability_expectations": {
|
||||
"type": "object",
|
||||
|
||||
Reference in New Issue
Block a user