{ "id":"/axapi/v3/class-list/{name}", "type":"object", "node-type":"list", "title":"class-list", "partition-visibility":"shared", "description":"Configure classification list", "properties":{ "name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Specify name of the class list", "optional":false }, "type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'ac': Make class-list type Aho-Corasick; 'dns': Make class-list type DNS; 'ipv4': Make class-list type IPv4; 'ipv6': Make class-list type IPv6; 'string': Make class-list type String; 'string-case-insensitive': Make class-list type String-case-insensitive. Case insensitive is applied to key string; ", "enum":[ "ac", "dns", "ipv4", "ipv6", "string", "string-case-insensitive" ], "optional":true }, "file":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Create/Edit a class-list stored as a file", "optional":true }, "ipv4-list":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "ipv4addr":{ "type":"string", "format":"ipv4-cidr", "partition-visibility":"shared", "description":"Specify IP address" }, "cid":{ "type":"number", "format":"number", "minimum":1, "maximum":32, "partition-visibility":"shared" }, "optional":true } } ] }, "ipv6-list":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "ipv6-addr":{ "type":"string", "format":"ipv6-address-plen", "partition-visibility":"shared", "description":"Specify IPv6 host or subnet" }, "cid":{ "type":"number", "format":"number", "minimum":1, "maximum":32, "partition-visibility":"shared" }, "optional":true } } ] }, "ac-list":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "ac-match-type":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'contains': String contains another string; 'ends-with': String ends with another string; 'equals': String equals another string; 'starts-with': String starts with another string; ", "enum":[ "contains", "ends-with", "equals", "starts-with" ] }, "ac-key-string":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":255, "partition-visibility":"shared", "description":"Specify key string" }, "ac-value":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":639, "partition-visibility":"shared", "not":"gtp-rate-limit-policy-str", "description":"Specify value string" }, "optional":true } } ] }, "geo-list":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "geo-location":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Specify geo-location" }, "geo-location-ipv6":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Specify IPv6 geo-location" }, "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 }, "user-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Customized tag", "optional":true } }, "object-keys":[ "name" ], "required":[ "name" ] }