{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-network-firewall/refs/heads/main/json-schema/openapi-port-range-schema.json", "title": "PortRange", "description": "A single port range specification. This is used for source and destination port ranges in the stateless rule MatchAttributes, SourcePorts, and DestinationPorts settings. ", "type": "object", "properties": { "FromPort": { "allOf": [ { "$ref": "#/components/schemas/PortRangeBound" }, { "description": "The lower limit of the port range. This must be less than or equal to the ToPort specification. " } ] }, "ToPort": { "allOf": [ { "$ref": "#/components/schemas/PortRangeBound" }, { "description": "The upper limit of the port range. This must be greater than or equal to the FromPort specification. " } ] } }, "required": [ "FromPort", "ToPort" ] }