{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "traffic-route.schema.json",
"type": "array",
"items": {
"type": "object",
"required": ["id", "name", "status", "source", "entrypoint", "path", "destination", "protocols", "ports", "exposure", "docs", "last_reviewed"],
"properties": {
"id": { "type": "string" },
"name": { "type": "string" },
"status": { "type": "string" },
"source": { "type": "string" },
"entrypoint": { "type": "string" },
"path": { "type": "array", "items": { "type": "string" } },
"destination": { "type": "string" },
"protocols": { "type": "array", "items": { "type": "string" } },
"ports": { "type": "array", "items": { "type": "integer" } },
"exposure": { "type": "string", "enum": ["public", "vpn", "local", "private"] },
"used_by": { "type": "array", "items": { "type": "string" } },
"docs": { "type": "string" },
"last_reviewed": { "type": "string" },
"source_of_truth": { "type": "string" }
},
"additionalProperties": true
}
}