posh-providers/stackitcloud/stackit/config.schema.json
Kevin Franklin Kim 4588a19b45
feat: add schema
2025-04-04 16:44:08 +02:00

53 lines
1.1 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/foomo/posh-providers/stackitcloud/stackit/config",
"$ref": "#/$defs/Config",
"$defs": {
"Cluster": {
"properties": {
"name": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"name"
]
},
"Config": {
"properties": {
"projects": {
"additionalProperties": {
"$ref": "#/$defs/Project"
},
"type": "object"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"projects"
]
},
"Project": {
"properties": {
"id": {
"type": "string"
},
"clusters": {
"additionalProperties": {
"$ref": "#/$defs/Cluster"
},
"type": "object"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"id",
"clusters"
]
}
}
}