diff --git a/fields/6.0.23/Account.json b/fields/6.0.23/Account.json new file mode 100644 index 0000000..9f104aa --- /dev/null +++ b/fields/6.0.23/Account.json @@ -0,0 +1,9 @@ +{ + "name": "^[^\"' ]+$", + "x_password": "", + "vlan": "[2-9]|[1-9][0-9]{1,2}|[1-3][0-9]{3}|400[0-9]|^$", + "ip":"^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$|^$", + "tunnel_config_type": "vpn|802.1x|custom", + "tunnel_type": "[1-9]|1[0-3]|^$", + "tunnel_medium_type": "[1-9]|1[0-5]|^$" +} diff --git a/fields/6.0.23/ApGroups.json b/fields/6.0.23/ApGroups.json new file mode 100644 index 0000000..329dce3 --- /dev/null +++ b/fields/6.0.23/ApGroups.json @@ -0,0 +1,3 @@ +{ + "name":".{1,128}" +} diff --git a/fields/6.0.23/AuthenticationRequest.json b/fields/6.0.23/AuthenticationRequest.json new file mode 100644 index 0000000..8e88f6e --- /dev/null +++ b/fields/6.0.23/AuthenticationRequest.json @@ -0,0 +1,12 @@ +{ + "username": ".{1,256}", + "password": ".{1,256}", + "remember": "true|false", + "strict": "true|false", + "site_name": ".{0,256}", + "sso_token": ".{0,256}", + "for_hotspot": "true|false", + "for_sso": "true|false", + "ubic_2fa_token": ".{0,256}", + "ubic_uuid": ".{0,256}" +} diff --git a/fields/6.0.23/BroadcastGroup.json b/fields/6.0.23/BroadcastGroup.json new file mode 100644 index 0000000..677d265 --- /dev/null +++ b/fields/6.0.23/BroadcastGroup.json @@ -0,0 +1,4 @@ +{ + "name": "", + "member_table": [""] +} diff --git a/fields/6.0.23/ChannelPlan.json b/fields/6.0.23/ChannelPlan.json new file mode 100644 index 0000000..a790643 --- /dev/null +++ b/fields/6.0.23/ChannelPlan.json @@ -0,0 +1,35 @@ +{ + "conf_source": "manual|radio-ai", + "date": "^$|^(20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9])Z?$", + "fitness": "^[0-9]+\\.?[0-9]*$", + "note": ".{0,1024}", + "radio": "na|ng|ng\\+na", + "radio_table": [{ + "device_mac": "^([0-9A-Fa-f]{2}:){5}([0-9A-Fa-f]{2})$", + "name": "[a-z]*[0-9]*", + "channel": "[0-9]|[1][0-4]|16|34|36|38|40|42|44|46|48|52|56|60|64|100|104|108|112|116|120|124|128|132|136|140|144|149|153|157|161|165|183|184|185|187|188|189|192|196|auto", + "backup_channel": "[0-9]|[1][0-4]|16|34|36|38|40|42|44|46|48|52|56|60|64|100|104|108|112|116|120|124|128|132|136|140|144|149|153|157|161|165|183|184|185|187|188|189|192|196|auto", + "width": "20|40|80|160", + "tx_power": "[\\d]+|auto", + "tx_power_mode": "auto|medium|high|low|custom" + }], + "satisfaction_table": [{ + "device_mac": "^([0-9A-Fa-f]{2}:){5}([0-9A-Fa-f]{2})$", + "satisfaction": "^[0-9]+\\.?[0-9]*$" + }], + "site_blacklisted_channels": [{ + "channel": "36|38|40|42|44|46|48|52|56|60|64|100|104|108|112|116|120|124|128|132|136|140|144|149|153|157|161|165|183|184|185|187|188|189|192|196", + "timestamp": "[1-9][0-9]{12}" + }], + "ap_blacklisted_channels": [{ + "mac": "^([0-9A-Fa-f]{2}:){5}([0-9A-Fa-f]{2})$", + "channel": "36|38|40|42|44|46|48|52|56|60|64|100|104|108|112|116|120|124|128|132|136|140|144|149|153|157|161|165|183|184|185|187|188|189|192|196", + "timestamp": "[1-9][0-9]{12}" + }], + "coupling": [{ + "source": "^([0-9A-Fa-f]{2}:){5}([0-9A-Fa-f]{2}).*$", + "target": "^([0-9A-Fa-f]{2}:){5}([0-9A-Fa-f]{2}).*$", + "rssi": "-?[0-9]{1,3}" + }], + "satisfaction": "^[0-9]+\\.?[0-9]*$" +} diff --git a/fields/6.0.23/Dashboard.json b/fields/6.0.23/Dashboard.json new file mode 100644 index 0000000..eb5bc1f --- /dev/null +++ b/fields/6.0.23/Dashboard.json @@ -0,0 +1,12 @@ +{ + "name": "", + "desc": "", + "is_public": "true|false", + "controller_version": "", + "modules":[{ + "id": "", + "module_id": "", + "config": "", + "restrictions": "" + }] +} diff --git a/fields/6.0.23/Device.json b/fields/6.0.23/Device.json new file mode 100644 index 0000000..19a931a --- /dev/null +++ b/fields/6.0.23/Device.json @@ -0,0 +1,144 @@ +{ + "name": ".{1,128}", + "x": "", + "y": "", + "heightInMeters": "^([-]?[\\d]+[.]?[\\d]*)$", + "locked": "true|false", + "map_id": "", + "disabled": "true|false", + "led_override": "default|on|off", + "led_override_color": "^#(?:[0-9a-fA-F]{3}){1,2}$", + "led_override_color_brightness": "^[0-9][0-9]?$|^100$", + "outdoor_mode_override": "default|on|off", + "mesh_sta_vap_enabled": "true|false", + "config_network": { + "bonding_enabled": "true|false", + "type": "dhcp|static", + "ip": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$", + "netmask": "^((128|192|224|240|248|252|254)\\.0\\.0\\.0)|(255\\.(((0|128|192|224|240|248|252|254)\\.0\\.0)|(255\\.(((0|128|192|224|240|248|252|254)\\.0)|255\\.(0|128|192|224|240|248|252|254)))))$", + "gateway": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$|^$", + "dns1": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$|^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$|^$", + "dns2": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$|^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$|^$", + "dnssuffix": "" + }, + "radio_table": [{ + "radio": "ng|na|ad", + "channel": "[0-9]|[1][0-4]|4.5|16|34|36|38|40|42|44|46|48|52|56|60|64|100|104|108|112|116|120|124|128|132|136|140|144|149|153|157|161|165|183|184|185|187|188|189|192|196|auto", + "backup_channel": "[0-9]|[1][0-4]|16|34|36|38|40|42|44|46|48|52|56|60|64|100|104|108|112|116|120|124|128|132|136|140|144|149|153|157|161|165|183|184|185|187|188|189|192|196|auto", + "ht": "20|40|80|160|1080|2160", + "tx_power_mode": "auto|medium|high|low|custom", + "tx_power": "[\\d]+|auto", + "min_rssi_enabled": "true|false", + "min_rssi": "^-([1-9]|[1-8][0-9]|9[0-4])$", + "name": "", + "hard_noise_floor_enabled": "true|false", + "sens_level_enabled": "true|false", + "sens_level": "^-([5-8][0-9]|90)$", + "antenna_gain": "^-?([0-9]|[1-9][0-9])", + "antenna_id": "-1|[0-9]", + "vwire_enabled":"true|false", + "loadbalance_enabled": "true|false", + "maxsta": "[1-9]|[1-9][0-9]|1[0-9]{2}|200|^$" + }], + "wlan_overrides": [{ + "enabled":"true|false", + "name":".{1,32}", + "name_combine_enabled":"true|false", + "name_combine_suffix":".{0,8}", + "vlan":"[2-9]|[1-9][0-9]{1,2}|[1-3][0-9]{3}|40[0-8][0-9]|409[0-5]|^$", + "vlan_enabled":"true|false", + "x_passphrase": "[\\x20-\\x7E]{8,63}|[0-9a-fA-F]{64}", + "wlan_id":"[\\d\\w]+", + "radio":"ng|na", + "radio_name":"" + }], + "outlet_overrides": [{ + "index": "[0-9]{1,2}", + "name":".{0,128}", + "relay_state": "true|false", + "cycle_enabled": "true|false" + }], + "outlet_enabled": "true|false", + "ethernet_overrides": [{ + "ifname": "eth[0-9]{1,2}", + "networkgroup": "LAN[2-8]?|WAN[2]?" + }], + "jumboframe_enabled": "true|false", + "flowctrl_enabled": "true|false", + "stp_version": "stp|rstp|disabled", + "stp_priority": "0|4096|8192|12288|16384|20480|24576|28672|32768|36864|40960|45056|49152|53248|57344|61440", + "dot1x_portctrl_enabled": "true|false", + "dot1x_fallback_networkconf_id": "[\\d\\w]+|", + "radiusprofile_id": "", + "atf_enabled": "true|false", + "bandsteering_mode": "off|equal|prefer_5g", + "dpi_enabled": "true|false", + "resetbtn_enabled": "on|off", + "mgmt_network_id": "[\\d\\w]+", + "switch_vlan_enabled": "false|true", + "port_overrides": [{ + "port_idx":"[1-9]|[1-4][0-9]|5[0-2]", + "name":".{0,128}", + "op_mode":"switch|mirror|aggregate", + "autoneg":"true|false", + "speed":"10|100|1000|2500|5000|10000|20000|25000|40000|50000|100000", + "full_duplex":"true|false", + "poe_mode":"auto|pasv24|passthrough|off", + "isolation":"true|false", + "dot1x_ctrl":"auto|force_authorized|force_unauthorized|mac_based|multi_host", + "dot1x_idle_timeout":"[0-9]|[1-9][0-9]{1,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]", + "stormctrl_type": "level|rate", + "stormctrl_ucast_enabled": "true|false", + "stormctrl_ucast_level": "[0-9]|[1-9][0-9]|100", + "stormctrl_ucast_rate": "[0-9]|[1-9][0-9]{1,6}|1[0-3][0-9]{6}|14[0-7][0-9]{5}|148[0-7][0-9]{4}|14880000", + "stormctrl_mcast_enabled": "true|false", + "stormctrl_mcast_level": "[0-9]|[1-9][0-9]|100", + "stormctrl_mcast_rate": "[0-9]|[1-9][0-9]{1,6}|1[0-3][0-9]{6}|14[0-7][0-9]{5}|148[0-7][0-9]{4}|14880000", + "stormctrl_bcast_enabled": "true|false", + "stormctrl_bcast_level": "[0-9]|[1-9][0-9]|100", + "stormctrl_bcast_rate": "[0-9]|[1-9][0-9]{1,6}|1[0-3][0-9]{6}|14[0-7][0-9]{5}|148[0-7][0-9]{4}|14880000", + "priority_queue1_level": "[0-9]|[1-9][0-9]|100", + "priority_queue2_level": "[0-9]|[1-9][0-9]|100", + "priority_queue3_level": "[0-9]|[1-9][0-9]|100", + "priority_queue4_level": "[0-9]|[1-9][0-9]|100", + "portconf_id":"[\\d\\w]+", + "mirror_port_idx":"[1-9]|[1-4][0-9]|5[0-2]", + "lldpmed_enabled": "true|false", + "lldpmed_notify_enabled": "true|false", + "stp_port_mode": "true|false", + "egress_rate_limit_kbps_enabled": "true|false", + "egress_rate_limit_kbps": "6[4-9]|[7-9][0-9]|[1-9][0-9]{2,6}", + "aggregate_num_ports":"[2-6]", + "port_security_enabled": "true|false", + "port_security_mac_address": ["^([0-9A-Fa-f]{2}[:]){5}([0-9A-Fa-f]{2})$"] + }], + "power_source_ctrl_enabled": "true|false", + "power_source_ctrl": "auto|8023af|8023at|8023bt-type3|8023bt-type4|pasv24|poe-injector|ac|adapter|dc|rps", + "snmp_location": ".{0,255}", + "snmp_contact": ".{0,255}", + "baresip_enabled": "true|false", + "baresip_extension": "^\\+?[a-zA-Z0-9_.\\-!~*'()]*", + "baresip_auth_user": "^\\+?[a-zA-Z0-9_.\\-!~*'()]*", + "x_baresip_password": "^[a-zA-Z0-9_.\\-!~*'()]*", + "volume": "[0-9]|[1-9][0-9]|100", + "lte_ext_ant": "true|false", + "lte_poe": "true|false", + "lte_soft_limit": "\\d+", + "lcm_brightness_override": "true|false", + "lcm_brightness": "[1-9]|[1-9][0-9]|100", + "lcm_idle_timeout_override": "true|false", + "lcm_idle_timeout": "[1-9][0-9]|[1-9][0-9][0-9]|[1-2][0-9][0-9][0-9]|3[0-5][0-9][0-9]|3600", + "rps_override": { + "power_management_mode": "dynamic|static", + "rps_port_table": [{ + "port_idx": "[1-6]", + "name": ".{0,32}", + "port_mode":"auto|force_active|manual|disabled" + }] + }, + "lcm_tracker_seed": ".{0,50}", + "lcm_tracker_enabled": "true|false", + "ubb_pair_name": ".{1,128}", + "lte_sim_pin": "[0-9]{4,8}", + "lte_apn": ".{1,128}" +} diff --git a/fields/6.0.23/DhcpOption.json b/fields/6.0.23/DhcpOption.json new file mode 100644 index 0000000..63f9c8d --- /dev/null +++ b/fields/6.0.23/DhcpOption.json @@ -0,0 +1,8 @@ +{ + "type": "^(boolean|hexarray|integer|ipaddress|macaddress|text)$", + "code": "^(?!(?:15|42|43|44|51|66|67|252)$)([7-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-4])$", + "name": "^[A-Za-z0-9-_]{1,25}$", + "signed": "^(true|false)$", + "width": "^(8|16|32)$" +} + diff --git a/fields/6.0.23/DpiApp.json b/fields/6.0.23/DpiApp.json new file mode 100644 index 0000000..55760c2 --- /dev/null +++ b/fields/6.0.23/DpiApp.json @@ -0,0 +1,10 @@ +{ + "name": ".{1,128}", + "enabled": "false|true", + "apps": [ "[0-9]{1,8}" ], + "cats": [ "[0-9]{1,3}" ], + "blocked": "false|true", + "log": "false|true", + "qos_rate_max_up": "-1|[2-9]|[1-9][0-9]{1,4}|100000|10[0-1][0-9]{3}|102[0-3][0-9]{2}|102400", + "qos_rate_max_down": "-1|[2-9]|[1-9][0-9]{1,4}|100000|10[0-1][0-9]{3}|102[0-3][0-9]{2}|102400" +} diff --git a/fields/6.0.23/DpiGroup.json b/fields/6.0.23/DpiGroup.json new file mode 100644 index 0000000..de915a1 --- /dev/null +++ b/fields/6.0.23/DpiGroup.json @@ -0,0 +1,5 @@ +{ + "name":".{1,128}", + "enabled": "false|true", + "dpiapp_ids": [ "[\\d\\w]+" ] +} diff --git a/fields/6.0.23/DynamicDNS.json b/fields/6.0.23/DynamicDNS.json new file mode 100644 index 0000000..b866f64 --- /dev/null +++ b/fields/6.0.23/DynamicDNS.json @@ -0,0 +1,10 @@ +{ + "interface": "wan|wan2", + "service": "afraid|changeip|cloudflare|dnspark|dslreports|dyndns|easydns|googledomains|namecheap|noip|sitelutions|zoneedit|custom", + "custom_service": "^[^\"' ]+$", + "host_name": "^[^\"' ]+$", + "login": "^[^\"' ]+$", + "x_password": "^[^\"' ]+$", + "server": "^[^\"' ]+$|^$", + "options": ["^[^\"' ]+$"] +} diff --git a/fields/6.0.23/FirewallGroup.json b/fields/6.0.23/FirewallGroup.json new file mode 100644 index 0000000..a148c69 --- /dev/null +++ b/fields/6.0.23/FirewallGroup.json @@ -0,0 +1,5 @@ +{ + "name": ".{1,64}", + "group_type": "address-group|port-group|ipv6-address-group", + "group_members": [ "" ] +} diff --git a/fields/6.0.23/FirewallRule.json b/fields/6.0.23/FirewallRule.json new file mode 100644 index 0000000..9e3f7df --- /dev/null +++ b/fields/6.0.23/FirewallRule.json @@ -0,0 +1,48 @@ +{ + "name": ".{1,128}", + "ruleset": "WAN_IN|WAN_OUT|WAN_LOCAL|LAN_IN|LAN_OUT|LAN_LOCAL|GUEST_IN|GUEST_OUT|GUEST_LOCAL|WANv6_IN|WANv6_OUT|WANv6_LOCAL|LANv6_IN|LANv6_OUT|LANv6_LOCAL|GUESTv6_IN|GUESTv6_OUT|GUESTv6_LOCAL", + "rule_index": "2[0-9]{3}|4[0-9]{3}", + + "enabled": "true|false", + "action": "drop|reject|accept", + "protocol": "^$|all|([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])|tcp_udp|ah|ax.25|dccp|ddp|egp|eigrp|encap|esp|etherip|fc|ggp|gre|hip|hmp|icmp|idpr-cmtp|idrp|igmp|igp|ip|ipcomp|ipencap|ipip|ipv6|ipv6-frag|ipv6-icmp|ipv6-nonxt|ipv6-opts|ipv6-route|isis|iso-tp4|l2tp|manet|mobility-header|mpls-in-ip|ospf|pim|pup|rdp|rohc|rspf|rsvp|sctp|shim6|skip|st|tcp|udp|udplite|vmtp|vrrp|wesp|xns-idp|xtp", + "protocol_v6": "^$|([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])|ah|all|dccp|eigrp|esp|gre|icmpv6|ipcomp|ipv6|ipv6-frag|ipv6-icmp|ipv6-nonxt|ipv6-opts|ipv6-route|isis|l2tp|manet|mobility-header|mpls-in-ip|ospf|pim|rsvp|sctp|shim6|tcp|tcp_udp|udp|vrrp", + "protocol_match_excepted": "false|true", + + "state_established": "false|true", + "state_invalid": "false|true", + "state_new": "false|true", + "state_related": "false|true", + + "ipsec": "match-ipsec|match-none|^$", + "icmp_typename" : "^$|address-mask-reply|address-mask-request|any|communication-prohibited|destination-unreachable|echo-reply|echo-request|fragmentation-needed|host-precedence-violation|host-prohibited|host-redirect|host-unknown|host-unreachable|ip-header-bad|network-prohibited|network-redirect|network-unknown|network-unreachable|parameter-problem|port-unreachable|precedence-cutoff|protocol-unreachable|redirect|required-option-missing|router-advertisement|router-solicitation|source-quench|source-route-failed|time-exceeded|timestamp-reply|timestamp-request|TOS-host-redirect|TOS-host-unreachable|TOS-network-redirect|TOS-network-unreachable|ttl-zero-during-reassembly|ttl-zero-during-transit", + "icmpv6_typename" : "^$|address-unreachable|bad-header|beyond-scope|communication-prohibited|destination-unreachable|echo-reply|echo-request|failed-policy|neighbor-advertisement|neighbor-solicitation|no-route|packet-too-big|parameter-problem|port-unreachable|redirect|reject-route|router-advertisement|router-solicitation|time-exceeded|ttl-zero-during-reassembly|ttl-zero-during-transit|unknown-header-type|unknown-option", + + "dst_address": "", + "dst_address_ipv6": "", + "dst_port": "", + "dst_firewallgroup_ids": [ "[\\d\\w]+" ], + "dst_networkconf_id": "[\\d\\w]+|^$", + "dst_networkconf_type": "ADDRv4|NETv4", + + "src_address": "", + "src_address_ipv6": "", + "src_port": "", + "src_firewallgroup_ids": [ "[\\d\\w]+" ], + "src_networkconf_id": "[\\d\\w]+|^$", + "src_networkconf_type": "ADDRv4|NETv4", + "src_mac_address": "^([0-9A-Fa-f]{2}:){5}([0-9A-Fa-f]{2})$|^$", + + "startdate": "^$|^(20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9])$", + "stopdate": "^$|^(20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9])$", + "starttime": "^$|^(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9])$", + "stoptime": "^$|^(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9])$", + "monthdays": "^$|^(([1-9]|[12][0-9]|3[01])(,([1-9]|[12][0-9]|3[01])){0,30})$", + "monthdays_negate": "false|true", + "weekdays": "^$|^((Mon|Tue|Wed|Thu|Fri|Sat|Sun)(,(Mon|Tue|Wed|Thu|Fri|Sat|Sun)){0,6})$", + "weekdays_negate": "false|true", + "utc": "false|true", + "contiguous": "false|true", + + "logging": "false|true" +} diff --git a/fields/6.0.23/HeatMap.json b/fields/6.0.23/HeatMap.json new file mode 100644 index 0000000..eaa6021 --- /dev/null +++ b/fields/6.0.23/HeatMap.json @@ -0,0 +1,6 @@ +{ + "map_id": "", + "type": "download|upload", + "name": ".*[^\\s]+.*", + "description": "" +} diff --git a/fields/6.0.23/HeatMapPoint.json b/fields/6.0.23/HeatMapPoint.json new file mode 100644 index 0000000..f119f69 --- /dev/null +++ b/fields/6.0.23/HeatMapPoint.json @@ -0,0 +1,7 @@ +{ + "heatmap_id": "", + "x": "[-+]?[0-9]*\\.?[0-9]+", + "y": "[-+]?[0-9]*\\.?[0-9]+", + "upload_speed": "[-+]?[0-9]*\\.?[0-9]+", + "download_speed": "[-+]?[0-9]*\\.?[0-9]+" +} diff --git a/fields/6.0.23/Hotspot2Conf.json b/fields/6.0.23/Hotspot2Conf.json new file mode 100644 index 0000000..8344c7a --- /dev/null +++ b/fields/6.0.23/Hotspot2Conf.json @@ -0,0 +1,136 @@ +{ + "name": ".{1,128}", + "venue_name": [ + { + "language": "[a-z]{3}", + "name": "", + "url": "" + } + ], + "venue_group": "0|1|2|3|4|5|6|7|8|9|10|11", + "venue_type": "0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15", + "network_type": "0|1|2|3|4|5|14|15", + "network_access_internet": "true|false", + "network_access_asra": "true|false", + "network_access_esr": "true|false", + "network_access_uesa": "true|false", + "ipaddr_type_avail_v4": "0|1|2|3|4|5|6|7", + "ipaddr_type_avail_v6": "0|1|2", + "hessid_used" : "true|false", + "hessid": "^([0-9A-Fa-f]{2}:){5}([0-9A-Fa-f]{2})$|^$", + "anqp_domain_id": "^0|[1-9][0-9]{0,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5]|$", + "network_auth_type": "-1|0|1|2|3", + "network_auth_url": "", + "disable_dgaf": "true|false", + "deauth_req_timeout" : "[1-9][0-9]|[1-9][0-9][0-9]|[1-2][0-9][0-9][0-9]|3[0-5][0-9][0-9]|3600", + "osu_ssid": "", + "nai_realm_list": [ + { + "name": ".{1,128}", + "status": "true|false", + "encoding": "0|1", + "eap_method": "13|21|18|23|50", + "auth_ids": "", + "auth_vals": "" + } + ], + "domain_name_list": [".{1,128}"], + "roaming_consortium_list": [ + { + "name": ".{1,128}", + "oid": ".{1,128}" + } + ], + "cellular_network_list": [ + { + "name": ".{1,128}", + "mcc": "[0-9]{3}", + "mnc": "[0-9]{3}" + } + ], + "friendly_name" : [ + { + "language": "[a-z]{3}", + "text": ".{1,128}" + } + ], + "t_c_filename" : ".{1,256}", + "t_c_timestamp" : "[0-9]{1,12}", + "icons" : [ + { + "name" : ".{1,256}", + "width": "[0-9]{1,8}", + "height": "[0-9]{1,8}", + "media": ".{1,256}", + "language": "[a-z]{3}", + "filename": ".{1,256}", + "data": "", + "size": "[0-9]{1,8}" + } + ], + "metrics_status" : "true|false", + "metrics_info_link_status" : "up|down|test", + "metrics_info_symmetric" : "true|false", + "metrics_info_at_capacity" : "true|false", + "metrics_downlink_speed_set": "true|false", + "metrics_downlink_speed": "[0-9]{1,10}", + "metrics_uplink_speed_set": "true|false", + "metrics_uplink_speed": "[0-9]{1,10}", + "metrics_downlink_load_set": "true|false", + "metrics_downlink_load": "[0-9]{1,3}", + "metrics_uplink_load_set": "true|false", + "metrics_uplink_load": "[0-9]{1,3}", + "metrics_measurement_set": "true|false", + "metrics_measurement": "[0-9]{1,5}", + "capab" : [ + { + "protocol" : "icmp|tcp_udp|tcp|udp|esp", + "port": "^(0|[1-9][0-9]{0,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])|$", + "status" : "closed|open|unknown" + } + ], + "osu" : [ + { + "server_uri": "", + "friendly_name" : [ + { + "language": "[a-z]{3}", + "text": ".{1,128}" + } + ], + "description" : [ + { + "language": "[a-z]{3}", + "text": ".{1,128}" + } + ], + "nai" : "", + "nai2" : "", + "operating_class" : "[0-9A-Fa-f]{12}", + "method_soap_xml_spp": "true|false", + "method_oma_dm": "true|false", + "icon" : [ + { + "name": ".{1,128}" + } + ] + } + ], + "gas_advanced": "true|false", + "gas_frag_limit" : "[0-9]{0,5}", + "gas_comeback_delay" : "[0-9]{0,4}", + "qos_map_status" : "true|false", + "qos_map_exceptions" : [ + { + "dcsp" : "[0-9]{1,2}", + "up" : "[0-7]" + } + ], + "qos_map_dcsp" : [ + { + "low" : "[0-9]{1,3}", + "high" : "[0-9]{1,3}" + } + ], + "save_timestamp": "" +} diff --git a/fields/6.0.23/HotspotOp.json b/fields/6.0.23/HotspotOp.json new file mode 100644 index 0000000..aa464df --- /dev/null +++ b/fields/6.0.23/HotspotOp.json @@ -0,0 +1,5 @@ +{ + "name": ".{1,256}", + "x_password": ".{1,256}", + "note": "" +} diff --git a/fields/6.0.23/HotspotPackage.json b/fields/6.0.23/HotspotPackage.json new file mode 100644 index 0000000..5ab20f3 --- /dev/null +++ b/fields/6.0.23/HotspotPackage.json @@ -0,0 +1,31 @@ +{ + "name": "", + "charged_as": "", + "amount": "^([\\d]+[.]?[\\d]*)$", + "currency": "[A-Z]{3}", + "hours": "[\\d]+|^$", + "trial_duration_minutes": "[\\d]+|^$", + "trial_reset": "^([\\d]+[.]?[\\d]*)$|^$", + "limit_overwrite": "true|false", + "limit_up": "[\\d]+|^$", + "limit_down": "[\\d]+|^$", + "limit_quota": "[\\d]+|^$", + "index": "[\\d]+", + "custom_payment_fields_enabled": "true|false", + "payment_fields_address_enabled": "true|false", + "payment_fields_address_required": "true|false", + "payment_fields_city_enabled": "true|false", + "payment_fields_city_required": "true|false", + "payment_fields_country_enabled": "true|false", + "payment_fields_country_required": "true|false", + "payment_fields_email_enabled": "true|false", + "payment_fields_email_required": "true|false", + "payment_fields_first_name_enabled": "true|false", + "payment_fields_first_name_required": "true|false", + "payment_fields_last_name_enabled": "true|false", + "payment_fields_last_name_required": "true|false", + "payment_fields_state_enabled": "true|false", + "payment_fields_state_required": "true|false", + "payment_fields_zip_enabled": "true|false", + "payment_fields_zip_required": "true|false" +} diff --git a/fields/6.0.23/Map.json b/fields/6.0.23/Map.json new file mode 100644 index 0000000..0fa5c6d --- /dev/null +++ b/fields/6.0.23/Map.json @@ -0,0 +1,15 @@ +{ + "name": "", + "mapTypeId": "satellite|roadmap|hybrid|terrain", + "tilt": "[\\d]+", + "type": "designerMap|imageMap|googleMap", + "upp": "^([\\d]+[.]?[\\d]*)$", + "unit": "m|f", + "lat": "^([-]?[\\d]+[.]?[\\d]*([eE][-+]?[\\d]+)?)$", + "lng": "^([-]?[\\d]+[.]?[\\d]*([eE][-+]?[\\d]+)?)$", + "selected": "true|false", + "zoom": "[\\d]+", + "offset_top": "^([-]?[\\d]+[.]?[\\d]*)$", + "offset_left": "^([-]?[\\d]+[.]?[\\d]*)$", + "opacity": "^(0(\\.[\\d]{1,2})?|1)$|^$" +} diff --git a/fields/6.0.23/MediaFile.json b/fields/6.0.23/MediaFile.json new file mode 100644 index 0000000..7c98cf6 --- /dev/null +++ b/fields/6.0.23/MediaFile.json @@ -0,0 +1,3 @@ +{ + "name": "" +} diff --git a/fields/6.0.23/NetworkConf.json b/fields/6.0.23/NetworkConf.json new file mode 100644 index 0000000..6dd24f1 --- /dev/null +++ b/fields/6.0.23/NetworkConf.json @@ -0,0 +1,150 @@ +{ + "name": ".{1,128}", + "enabled": "true|false", + "purpose": "corporate|guest|remote-user-vpn|site-vpn|vlan-only|vpn-client|wan", + "vpn_type": "auto|ipsec-vpn|openvpn-vpn|pptp-client|l2tp-server|pptp-server|uid-server", + "vlan_enabled": "false|true", + "vlan": "[2-9]|[1-9][0-9]{1,2}|[1-3][0-9]{3}|400[0-9]|^$", + "gateway_type":"default|switch", + "gateway_device": "(^$|^([0-9A-Fa-f]{2}:){5}([0-9A-Fa-f]{2})$)", + "priority": "[1-4]", + "igmp_snooping": "true|false", + "igmp_fastleave": "true|false", + "igmp_supression": "true|false", + "igmp_maxresponse": "[1-9]|1[0-9]|2[0-5]|^$", + "igmp_mcrtrexpiretime": "[0-9]|[1-9][0-9]{1,2}|[1-2][0-9]{3}|3[0-5][0-9]{2}|3600|^$", + "igmp_groupmembership": "[2-9]|[1-9][0-9]{1,2}|[1-2][0-9]{3}|3[0-5][0-9]{2}|3600|^$", + "igmp_querier": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$|^$", + "ip_subnet": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\/([1-9]|[1-2][0-9]|30)$", + "ipv6_subnet": "", + + "ipv6_interface_type": "static|pd|none", + "ipv6_pd_interface": "wan|wan2", + "ipv6_pd_prefixid": "^$|[a-fA-F0-9]{1,4}", + "ipv6_ra_enabled": "false|true", + "ipv6_ra_priority": "high|medium|low", + "ipv6_ra_valid_lifetime": "^([0-9]|[1-8][0-9]|9[0-9]|[1-8][0-9]{2}|9[0-8][0-9]|99[0-9]|[1-8][0-9]{3}|9[0-8][0-9]{2}|99[0-8][0-9]|999[0-9]|[1-8][0-9]{4}|9[0-8][0-9]{3}|99[0-8][0-9]{2}|999[0-8][0-9]|9999[0-9]|[1-8][0-9]{5}|9[0-8][0-9]{4}|99[0-8][0-9]{3}|999[0-8][0-9]{2}|9999[0-8][0-9]|99999[0-9]|[1-8][0-9]{6}|9[0-8][0-9]{5}|99[0-8][0-9]{4}|999[0-8][0-9]{3}|9999[0-8][0-9]{2}|99999[0-8][0-9]|999999[0-9]|[12][0-9]{7}|30[0-9]{6}|31[0-4][0-9]{5}|315[0-2][0-9]{4}|3153[0-5][0-9]{3}|31536000)$|^$", + "ipv6_ra_preferred_lifetime": "^([0-9]|[1-8][0-9]|9[0-9]|[1-8][0-9]{2}|9[0-8][0-9]|99[0-9]|[1-8][0-9]{3}|9[0-8][0-9]{2}|99[0-8][0-9]|999[0-9]|[1-8][0-9]{4}|9[0-8][0-9]{3}|99[0-8][0-9]{2}|999[0-8][0-9]|9999[0-9]|[1-8][0-9]{5}|9[0-8][0-9]{4}|99[0-8][0-9]{3}|999[0-8][0-9]{2}|9999[0-8][0-9]|99999[0-9]|[1-8][0-9]{6}|9[0-8][0-9]{5}|99[0-8][0-9]{4}|999[0-8][0-9]{3}|9999[0-8][0-9]{2}|99999[0-8][0-9]|999999[0-9]|[12][0-9]{7}|30[0-9]{6}|31[0-4][0-9]{5}|315[0-2][0-9]{4}|3153[0-5][0-9]{3}|31536000)$|^$", + "ipv6_pd_start": "", + "ipv6_pd_stop": "", + "domain_name": "(?=^.{3,253}$)(^((?!-)[a-zA-Z0-9-]{1,63}(?