{ "id":"/axapi/v3/tuple-filter/{name}", "type":"object", "node-type":"list", "title":"tuple-filter", "partition-visibility":"shared", "description":"Specify a tuple filter", "properties":{ "name":{ "type":"string", "format":"string", "minLength":1, "maxLength":31, "partition-visibility":"shared", "description":"Tuple filter name", "optional":false }, "filter-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'ipv4': IPv4 tuple filter; 'ipv6': IPv6 tuple filter; ", "enum":[ "ipv4", "ipv6" ], "optional":false }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "user-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Customized tag", "optional":true }, "filter-rule-list":{ "type":"array", "minItems":1, "items":{ "type":"filter-rule" }, "uniqueItems":true, "$ref":"/axapi/v3/tuple-filter/{name}/filter-rule/{id}", "array":[ { "properties":{ "id":{ "type":"number", "format":"number", "minimum":1, "maximum":4, "partition-visibility":"shared", "description":"filter rule id", "optional":false }, "src-addr":{ "type":"string", "format":"ipv4-cidr", "partition-visibility":"shared", "description":"Source IPv4 address with prefix", "optional":true }, "dst-addr":{ "type":"string", "format":"ipv4-cidr", "partition-visibility":"shared", "description":"Destination IPv4 address with prefix", "optional":true }, "src-port":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"Source port", "optional":true }, "dst-port":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"Destination port", "optional":true }, "src-v6-addr":{ "type":"string", "format":"ipv6-address-plen", "partition-visibility":"shared", "description":"Source IPv6 address with prefix", "optional":true }, "dst-v6-addr":{ "type":"string", "format":"ipv6-address-plen", "partition-visibility":"shared", "description":"Destination IPv6 address with prefix", "optional":true }, "src-v6-port":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"Source port", "optional":true }, "dst-v6-port":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"Destination port", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true } }, "required":[ "id" ] } ] } }, "object-keys":[ "name" ], "required":[ "name" ] }