{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/cockroach-labs/main/json-schema/cockroach-labs-egress-rule-schema.json", "title": "EgressRule", "description": "Represents an egress traffic rule controlling outbound connections from a CockroachDB cluster.", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/cockroach-labs-egressrules-api-openapi.yml#/components/schemas/EgressRule", "type": "object", "properties": { "id": { "type": "string", "description": "Unique identifier of the egress rule." }, "name": { "type": "string", "description": "Human-readable name of the egress rule." }, "destination": { "type": "string", "description": "Destination hostname or CIDR for allowed outbound traffic." }, "ports": { "type": "array", "description": "List of destination port numbers allowed by this rule.", "items": { "type": "integer" } }, "type": { "type": "string", "description": "Type of egress rule (FQDN or CIDR)." } } }