emissary/internal/spec/proxy/schema.json

29 lines
886 B
JSON
Raw Normal View History

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
2023-03-21 13:28:41 +01:00
"$id": "https://proxy.emissary.cadoles.com/spec.json",
"title": "ProxySpec",
"description": "Emissary 'Proxy' specification",
"type": "object",
"properties": {
2023-03-21 13:28:41 +01:00
"proxies": {
"type": "object",
"patternProperties": {
".*": {
"type": "object",
"properties": {
"address": {
"type": "string"
},
"target": {
"type": "string"
}
},
"required": ["address", "target"],
"additionalProperties": false
}
}
}
},
2023-03-21 13:28:41 +01:00
"required": ["proxies"],
"additionalProperties": false
}