posh-providers/foomo/squadron/config.schema.json
2025-09-19 16:29:28 +02:00

59 lines
1.3 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/foomo/posh-providers/foomo/squadron",
"$ref": "#/$defs/Config",
"$defs": {
"Cluster": {
"properties": {
"name": {
"type": "string",
"description": "Cluser name"
},
"notify": {
"type": "boolean",
"description": "Enable notification by default"
},
"confirm": {
"type": "boolean",
"description": "Enable confirmation"
},
"fleets": {
"items": {
"type": "string"
},
"type": "array",
"description": "Cluster fleet names"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"name",
"notify",
"confirm",
"fleets"
]
},
"Config": {
"properties": {
"path": {
"type": "string",
"description": "Path to the squadron root"
},
"clusters": {
"items": {
"$ref": "#/$defs/Cluster"
},
"type": "array",
"description": "Cluster configurations"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"path",
"clusters"
]
}
}
}