nats-service-endpoints/catalog/schema.json
George Lambert f53386c4cc
Some checks are pending
ci / catalog (push) Waiting to run
S19: catalog all 44 subjects.json rows with timeout and filter
pfc-derived regenerated; schema timeout_sec + filter; endpoints RST.
2026-09-15 23:10:17 -04:00

30 lines
1,002 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "NATS-Service-Endpoints catalog",
"type": "object",
"required": ["version", "endpoints"],
"properties": {
"version": {"type": "string"},
"endpoints": {
"type": "array",
"items": {
"type": "object",
"required": ["name", "for", "from", "to", "in", "out", "encryption", "reject"],
"properties": {
"name": {"type": "string"},
"pattern": {"type": "string"},
"for": {"type": "string"},
"from": {"type": "array", "items": {"type": "string"}},
"to": {"oneOf": [{"type": "string"}, {"type": "array", "items": {"type": "string"}}]},
"in": {},
"out": {},
"encryption": {"type": "string"},
"reject": {"type": "array", "items": {"type": "string"}},
"dead": {"type": "string"},
"timeout_sec": {"type": "number"},
"filter": {"type": "string"}
}
}
}
}
}