{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-network-firewall/refs/heads/main/json-structure/openapi-port-range-structure.json", "name": "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" ] }