47 lines
1.4 KiB
JSON
47 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://mdns.edge.emissary.cadoles.com/spec.json",
|
|
"title": "MDNSSpec",
|
|
"description": "Emissary 'MDNS' specification",
|
|
"type": "object",
|
|
"properties": {
|
|
"services": {
|
|
"type": "object",
|
|
"patternProperties": {
|
|
".*": {
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"domain": {
|
|
"type": "string"
|
|
},
|
|
"host": {
|
|
"type": "string"
|
|
},
|
|
"ifaces": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"port": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"required": [
|
|
"type",
|
|
"host",
|
|
"port"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"services"
|
|
],
|
|
"additionalProperties": false
|
|
} |