2023-02-28 15:50:35 +01:00
|
|
|
{
|
2024-03-12 16:22:35 +01:00
|
|
|
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
2023-03-21 13:28:41 +01:00
|
|
|
"$id": "https://proxy.emissary.cadoles.com/spec.json",
|
|
|
|
"title": "ProxySpec",
|
|
|
|
"description": "Emissary 'Proxy' specification",
|
2023-02-28 15:50:35 +01:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2023-03-21 13:28:41 +01:00
|
|
|
"proxies": {
|
2023-02-28 15:50:35 +01:00
|
|
|
"type": "object",
|
|
|
|
"patternProperties": {
|
|
|
|
".*": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"address": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2023-03-22 18:15:22 +01:00
|
|
|
"mappings": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"hostPattern": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"target": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
2024-03-12 16:22:35 +01:00
|
|
|
"required": [
|
|
|
|
"hostPattern",
|
|
|
|
"target"
|
|
|
|
]
|
2023-03-22 18:15:22 +01:00
|
|
|
}
|
2023-02-28 15:50:35 +01:00
|
|
|
}
|
|
|
|
},
|
2024-03-12 16:22:35 +01:00
|
|
|
"required": [
|
|
|
|
"address",
|
|
|
|
"mappings"
|
|
|
|
],
|
2023-02-28 15:50:35 +01:00
|
|
|
"additionalProperties": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-03-12 16:22:35 +01:00
|
|
|
"required": [
|
|
|
|
"proxies"
|
|
|
|
],
|
2023-02-28 15:50:35 +01:00
|
|
|
"additionalProperties": false
|
|
|
|
}
|