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

38 lines
792 B
JSON

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