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

46 lines
931 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/foomo/posh-providers/cloudflare/cloudflared/config",
"$ref": "#/$defs/Config",
"$defs": {
"Access": {
"properties": {
"type": {
"type": "string"
},
"hostname": {
"type": "string"
},
"port": {
"type": "integer"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"type",
"hostname",
"port"
]
},
"Config": {
"properties": {
"path": {
"type": "string"
},
"access": {
"additionalProperties": {
"$ref": "#/$defs/Access"
},
"type": "object"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"path",
"access"
]
}
}
}