{ "additionalProperties": false, "description": "L4PortSet can be specified in comma separated notation of parts. Parts of a L4PortSet includes single integer or range of port in hyphen notation. Example of a PortSet: \"22, 33-70, 44\".", "extends": { "$ref": "NSServiceElement }, "id": "L4PortSetNSService", "module_id": "Types", "polymorphic-type-descriptor": { "type-identifier": "L4PortSetNSService" }, "properties": { "destination_ports": { "description": "Number of values should not exceed 15, ranges count as 2 values.", "items": { "$ref": "PortElement }, "maxItems": 15, "required": false, "title": "Destination ports", "type": "array" }, "l4_protocol": { "enum": [ "TCP", "UDP" ], "required": true, "type": "string" }, "resource_type": { "enum": [ "EtherTypeNSService", "IPProtocolNSService", "IGMPTypeNSService", "ICMPTypeNSService", "ALGTypeNSService", "L4PortSetNSService" ], "required": true, "title": "The specific type of NSServiceElement", "type": "string" }, "source_ports": { "description": "Number of values should not exceed 15, ranges count as 2 values.", "items": { "$ref": "PortElement }, "maxItems": 15, "required": false, "title": "Source ports", "type": "array" } }, "title": "An NSService element that represents TCP or UDP protocol", "type": "object" }