/**
 * This file has been generated from JSON file C:\Users\scale\dev\iotize\bitbucket\standalone\iotize-device-client.js\assets\schema\v1\common.json
 */
var common = {
    "$id": "http://iotize.com/schemas/v1/common.json",
    "definitions": {
        "address": {
            "oneOf": [
                {
                    "type": "integer",
                    "minimum": 0,
                    "default": 0,
                    "examples": [192]
                },
                {
                    "type": "string",
                    "pattern": "^0x([0-9a-fA-F]+)$",
                    "example": ["0x2000000"]
                }
            ]
        },
        "hexString": {
            "type": "string",
            "pattern": "^0x([0-9a-fA-F]+)$",
            "example": ["0xB3"],
            "default": "0x00"
        },
        "uint8": {
            "type": "integer",
            "minimum": 0,
            "maximum": 255,
            "description": "Unsigned integer on 8 bytes"
        },
        "uint16": {
            "type": "integer",
            "minimum": 0,
            "maximum": 65535,
            "description": "Unsigned integer on 16 bytes"
        },
        "uint32": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967296,
            "description": "Unsigned integer on 32 bytes"
        },
        "semanticVersion": {
            "title": "SemanticVersion",
            "type": "string",
            "default": "1.0.0",
            "examples": ["1.0.0"],
            "pattern": "^(\\d+)\\.(\\d+)\\.(\\d+)$"
        },
        "IpAddressV4": {
            "title": "SemanticVersion",
            "type": "string",
            "default": "1.0.0",
            "examples": ["1.0.0"],
            "pattern": "^[0-255]\\.[0-255]\\.[0-255]\\.[0-255]$"
        }
    }
};

/**
 * This file has been generated from JSON file C:\Users\scale\dev\iotize\bitbucket\standalone\iotize-device-client.js\assets\schema\v1\tap-config.json
 */
var tapConfig = {
    "title": "Tap configurator config",
    "$id": "http://iotize.com/schemas/v1/tap-config.json",
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "required": [
        "config"
    ],
    "additionalProperties": false,
    "properties": {
        "additionalProperties": false,
        "meta": {
            "type": "object",
            "title": "TapConfiguratorOptions",
            "properties": {
                "version": {
                    "type": "string",
                    "pattern": "^(\\d+)\\.(\\d+)\\.(\\d+)$"
                },
                "options": {
                    "type": "object",
                    "description": "Options for the configurator engine",
                    "properties": {
                        "skipFactoryReset": {
                            "type": "boolean",
                            "description": "If set to true, configurator will not perform a factory reset before configuration. Values that are not written in this configuration will not be removed.",
                            "default": false
                        }
                    }
                }
            },
            "additionalProperties": true
        },
        "config": {
            "type": "object",
            "title": "TapConfig",
            "additionalProperties": false,
            "required": [
                "version"
            ],
            "properties": {
                "version": {
                    "$ref": "#/types/semanticVersion"
                },
                "target": {
                    "title": "TargetConfig",
                    "oneOf": [
                        {
                            "$ref": "#/definitions/TapnpassTargetConfig"
                        },
                        {
                            "$ref": "#/definitions/MCUTargetConfig"
                        }
                    ]
                },
                "wireless": {
                    "title": "Wireless Config",
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                        "options": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                                "inactivityTimeout": {
                                    "$ref": "#/types/uint8"
                                },
                                "authorizedProtocols": {
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/models/HostProtocol"
                                    }
                                }
                            }
                        },
                        "protocols": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                                "ble": {
                                    "title": "BleProtocolConfig",
                                    "type": "object",
                                    "required": [],
                                    "properties": {
                                        "pairing": {
                                            "type": "boolean",
                                            "description": "True to require BLE pairing"
                                        }
                                    }
                                },
                                "lora": {
                                    "title": "LoraProtocolConfig",
                                    "type": "object",
                                    "required": [],
                                    "properties": {
                                        "config": {
                                            "$ref": "#/models/LoraConfig"
                                        },
                                        "ids": {
                                            "$ref": "#/types/hexString"
                                        }
                                    }
                                },
                                "mqtt": {
                                    "title": "MqttProtocolConfig",
                                    "type": "object",
                                    "additionalProperties": false,
                                    "oneOf": [
                                        {
                                            "allOf": [
                                                {
                                                    "not": {
                                                        "required": ["topicPrefix"]
                                                    }
                                                },
                                                {
                                                    "not": {
                                                        "required": ["requestTopic"]
                                                    }
                                                },
                                                {
                                                    "not": {
                                                        "required": ["responseTopic"]
                                                    }
                                                }
                                            ]
                                        },
                                        {
                                            "required": [
                                                "topicPrefix"
                                            ],
                                            "not": {
                                                "required": [
                                                    "requestTopic",
                                                    "responseTopic"
                                                ]
                                            }
                                        },
                                        {
                                            "required": [
                                                "requestTopic",
                                                "responseTopic"
                                            ],
                                            "not": {
                                                "required": [
                                                    "topicPrefix"
                                                ]
                                            }
                                        }
                                    ],
                                    "properties": {
                                        "brokerCertificate": {
                                            "$ref": "#/types/hexString"
                                        },
                                        "brokerHostname": {
                                            "type": "string"
                                        },
                                        "brokerPort": {
                                            "type": "string"
                                        },
                                        "clientId": {
                                            "type": "string"
                                        },
                                        "password": {
                                            "type": "string"
                                        },
                                        "relayNetKey": {
                                            "type": "string"
                                        },
                                        "topicPrefix": {
                                            "type": "string"
                                        },
                                        "requestTopic": {
                                            "type": "string"
                                        },
                                        "responseTopic": {
                                            "type": "string"
                                        },
                                        "username": {
                                            "type": "string"
                                        }
                                    }
                                },
                                "nfc": {
                                    "title": "NfcProtocolConfig",
                                    "type": "object",
                                    "required": [],
                                    "properties": {
                                        "autoLogProfileId": {
                                            "$ref": "#/types/uint16"
                                        },
                                        "connectionPriority": {
                                            "$ref": "#/models/NfcConnectionPriority"
                                        },
                                        "pairingMode": {
                                            "$ref": "#/models/NfcPairingMode"
                                        }
                                    }
                                },
                                "wifi": {
                                    "title": "WifiProtocolConfig",
                                    "type": "object",
                                    "required": [],
                                    "properties": {
                                        "ip": {
                                            "$ref": "#/types/IPV4Address"
                                        },
                                        "key": {
                                            "type": "string"
                                        },
                                        "keyVisibility": {
                                            "$ref": "#/models/WifiKeyVisibility"
                                        },
                                        "mask": {
                                            "$ref": "#/types/IPV4AddressMask"
                                        },
                                        "mode": {
                                            "$ref": "#/models/WifiMode"
                                        },
                                        "protocol": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/models/WifiProtocol"
                                            }
                                        },
                                        "countryCode": {
                                            "description": "Country code ISO 3166",
                                            "type": "number",
                                            "maximum": 999,
                                            "minimum": 0
                                        },
                                        "ssid": {
                                            "type": "string"
                                        },
                                        "ssidVisibility": {
                                            "$ref": "#/models/WifiSSIDVisibility"
                                        },
                                        "txPower": {
                                            "$ref": "#/types/int8"
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "application": {
                    "$ref": "#/definitions/ApplicationConfig"
                },
                "jvm": {
                    "$ref": "#/definitions/JVMConfig"
                },
                "cloud": {
                    "$ref": "#/definitions/CloudConfig"
                },
                "tap": {
                    "$ref": "#/definitions/TapOptions"
                },
                "data": {
                    "type": "object",
                    "additionalProperties": false,
                    "title": "DataConfig",
                    "properties": {
                        "profiles": {
                            "type": "array",
                            "items": {
                                "type": "object",
                                "oneOf": [
                                    {
                                        "$ref": "#/definitions/specialprofile"
                                    },
                                    {
                                        "$ref": "#/definitions/anonymousprofile"
                                    },
                                    {
                                        "$ref": "#/definitions/profile"
                                    }
                                ]
                            }
                        },
                        "bundles": {
                            "type": "array",
                            "items": {
                                "type": "object",
                                "title": "BundleConfig",
                                "required": [
                                    "id"
                                ],
                                "properties": {
                                    "name": {
                                        "$id": "#/properties/config/properties/schema/properties/bundles/items/properties/name",
                                        "type": "string",
                                        "title": "Bundle name",
                                        "default": "",
                                        "examples": [
                                            "Sensors"
                                        ],
                                        "pattern": "^(.*)$"
                                    },
                                    "id": {
                                        "$id": "#/properties/config/properties/schema/properties/bundles/items/properties/id",
                                        "type": "integer",
                                        "title": "Bundle id",
                                        "default": 0,
                                        "minimum": 0,
                                        "maximum": 65535,
                                        "examples": [
                                            1
                                        ]
                                    },
                                    "dataLog": {
                                        "type": "object",
                                        "default": {
                                            "period": 0
                                        },
                                        "required": [
                                            "period"
                                        ],
                                        "properties": {
                                            "period": {
                                                "type": "integer",
                                                "minimum": 0,
                                                "description": "Data log period acquisition in seconds"
                                            }
                                        }
                                    },
                                    "features": {
                                        "type": "array",
                                        "items": {
                                            "$ref": "#/models/SpecialFeature"
                                        }
                                    },
                                    "variables": {
                                        "type": "array",
                                        "items": {
                                            "title": "VariableConfig",
                                            "anyOf": [
                                                {
                                                    "$ref": "#/definitions/TargetVariable"
                                                },
                                                {
                                                    "$ref": "#/definitions/ModbusVariable"
                                                },
                                                {
                                                    "$ref": "#/definitions/InTapVariable"
                                                },
                                                {
                                                    "$ref": "#/definitions/GPIOVariable"
                                                }
                                            ]
                                        }
                                    },
                                    "acls": {
                                        "$id": "#/properties/config/properties/schema/properties/bundles/items/properties/acls",
                                        "type": "object",
                                        "title": "AclMapConfig",
                                        "additionalProperties": {
                                            "$id": "#/properties/config/properties/schema/properties/bundles/items/properties/acls/properties/anonymous",
                                            "type": "object",
                                            "title": "AclConfig",
                                            "required": [
                                                "read",
                                                "write"
                                            ],
                                            "additionalProperties": false,
                                            "properties": {
                                                "read": {
                                                    "$id": "#/properties/config/properties/schema/properties/bundles/items/properties/acls/properties/anonymous/properties/read",
                                                    "type": "boolean",
                                                    "description": "Grant read right",
                                                    "default": false,
                                                    "examples": [
                                                        true
                                                    ]
                                                },
                                                "write": {
                                                    "$id": "#/properties/config/properties/schema/properties/bundles/items/properties/acls/properties/anonymous/properties/write",
                                                    "type": "boolean",
                                                    "description": "Grant write right",
                                                    "default": false,
                                                    "examples": [
                                                        false
                                                    ]
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    },
    "definitions": {
        "TargetConfig.Protocol.SWDConfig": {
            "title": "SWDProtocolConfig",
            "type": "object",
            "required": [
                "type"
            ],
            "additionalProperties": false,
            "properties": {
                "type": {
                    "type": "string",
                    "enum": [
                        "SWD"
                    ],
                    "default": "SWD"
                }
            }
        },
        "TargetConfig.Protocol.S3PConfig": {
            "title": "S3PProtocolConfig",
            "type": "object",
            "required": [
                "type",
                "config"
            ],
            "additionalProperties": false,
            "properties": {
                "type": {
                    "enum": [
                        "S3P"
                    ],
                    "default": "S3P"
                },
                "config": {
                    "title": "S3PConfig",
                    "type": "object",
                    "required": [
                        "mode",
                        "delay"
                    ],
                    "additionalProperties": false,
                    "properties": {
                        "mode": {
                            "$ref": "#/models/S3PModeConfig"
                        },
                        "delay": {
                            "$ref": "#/types/uint8"
                        }
                    }
                }
            }
        },
        "TargetConfig.Protocol.ModbusConfig": {
            "title": "ModbusProtocolConfig",
            "type": "object",
            "required": [
                "type"
            ],
            "additionalProperties": false,
            "properties": {
                "type": {
                    "enum": [
                        "MODBUS"
                    ],
                    "default": "MODBUS"
                },
                "config": {
                    "$ref": "#/models/ModbusConfig"
                }
            }
        },
        "TargetConfig.Protocol.DirectIOConfig": {
            "title": "DirectIOProtocolConfig",
            "type": "object",
            "required": [
                "type"
            ],
            "additionalProperties": false,
            "properties": {
                "type": {
                    "enum": [
                        "DIRECT_IO"
                    ],
                    "default": "DIRECT_IO"
                }
            }
        },
        "TargetConfig.Protocol.SerialConfig": {
            "title": "SerialProtocolConfig",
            "type": "object",
            "required": [
                "type"
            ],
            "additionalProperties": false,
            "properties": {
                "type": {
                    "enum": [
                        "SERIAL"
                    ],
                    "default": "SERIAL"
                },
                "config": {
                    "$ref": "#/models/TargetSerialModbusConfigurationConfig.Serial"
                }
            }
        },
        "TargetConfig.Protocol.CustomConfig": {
            "title": "CustomProtocolConfig",
            "type": "object",
            "required": [
                "type"
            ],
            "additionalProperties": false,
            "properties": {
                "type": {
                    "enum": [
                        "CUSTOM"
                    ],
                    "default": "CUSTOM"
                },
                "config": {
                    "$ref": "#/types/hexString"
                }
            }
        },
        "TargetConfig.Protocol.GPIOConfig": {
            "title": "GPIOProtocolConfig",
            "type": "object",
            "required": [
                "type"
            ],
            "additionalProperties": false,
            "properties": {
                "type": {
                    "enum": [
                        "GPIO"
                    ],
                    "default": "GPIO"
                }
            }
        },
        "ApplicationConfig": {
            "title": "ApplicationConfig",
            "description": "Options related to the application that communicates with this Tap",
            "type": "object",
            "required": [],
            "additionalProperties": false,
            "properties": {
                "name": {
                    "type": "string",
                    "title": "Application name",
                    "description": "Application name (name will be broadcast with BLE or WiFi)",
                    "default": "TAP",
                    "examples": [
                        "Sensor demo"
                    ],
                    "maxLength": 32,
                    "minLength": 1
                },
                "uri": {
                    "oneOf": [
                        {
                            "title": "ApplicationUriConfig",
                            "type": "object",
                            "required": [
                                "value",
                                "type"
                            ],
                            "additionalProperties": false,
                            "properties": {
                                "type": {
                                    "$ref": "#/models/AppPathType"
                                },
                                "value": {
                                    "type": "string",
                                    "maxLength": 64
                                }
                            }
                        },
                        {
                            "type": "string",
                            "title": "Application url",
                            "description": "Application url loaded by Tap Manager",
                            "default": "",
                            "examples": [
                                "http://yourappyurl.com"
                            ],
                            "maxLength": 128
                        }
                    ]
                },
                "universalLink": {
                    "type": "string",
                    "title": "Universal link",
                    "default": "",
                    "examples": [
                        "https://iotize.com"
                    ],
                    "maxLength": 128
                },
                "productCode": {
                    "description": "Product code. It can be used to identify which kind of target this Tap is linked to. It's used by multi tap configuration applications.",
                    "type": "string",
                    "maxLength": 32,
                    "default": "",
                    "examples": [
                        "light",
                        "motor-sensors"
                    ]
                },
                "data": {
                    "$ref": "#/types/hexString"
                }
            }
        },
        "BaseVariable": {
            "title": "BaseVariableConfig",
            "type": "object",
            "required": [
                "id"
            ],
            "properties": {
                "id": {
                    "type": "integer",
                    "title": "Variable id",
                    "minimum": 0,
                    "maximum": 65535,
                    "default": 0,
                    "examples": [
                        1
                    ]
                },
                "length": {
                    "type": "integer",
                    "description": "Variable length (number of items) > 1 if it's an array",
                    "default": 1,
                    "minimum": 1,
                    "maximum": 65535,
                    "examples": [
                        1
                    ]
                },
                "meta": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                        "name": {
                            "type": "string",
                            "title": "Variable name",
                            "default": "",
                            "examples": [
                                "Temperature"
                            ],
                            "pattern": "^(.*)$",
                            "maxLength": 50,
                            "minLength": 0
                        },
                        "unit": {
                            "type": "string",
                            "title": "Unit",
                            "pattern": "^(.*)$",
                            "maxLength": 30,
                            "minLength": 0
                        }
                    }
                },
                "rawMeta": {
                    "$ref": "#/types/hexString"
                }
            }
        },
        "TargetVariable": {
            "title": "TargetVariableConfig",
            "additionalProperties": false,
            "required": [
                "id",
                "address",
                "dataType",
                "domain"
            ],
            "properties": {
                "id": true,
                "meta": true,
                "address": true,
                "domain": true,
                "dataType": true,
                "length": true
            },
            "allOf": [
                {
                    "$ref": "#/definitions/BaseVariable"
                },
                {
                    "type": "object",
                    "additionalProperties": true,
                    "required": [
                        "address",
                        "dataType",
                        "domain"
                    ],
                    "properties": {
                        "dataType": {
                            "$ref": "#/models/VariableTypeConfig.Data"
                        },
                        "domain": {
                            "default": "TARGET",
                            "enum": [
                                "TARGET"
                            ]
                        },
                        "address": {
                            "allOf": [
                                {
                                    "$ref": "#/types/address"
                                },
                                {
                                    "tsType": "any",
                                    "maxLength": 10
                                }
                            ]
                        }
                    }
                }
            ]
        },
        "InTapVariable": {
            "title": "InTapVariableConfig",
            "type": "object",
            "allOf": [
                {
                    "$ref": "#/definitions/BaseVariable"
                },
                {
                    "type": "object",
                    "required": [
                        "domain",
                        "dataType"
                    ],
                    "properties": {
                        "domain": {
                            "enum": [
                                "IN_TAP_STATIC",
                                "IN_TAP_VOLATIL"
                            ]
                        },
                        "dataType": {
                            "$ref": "#/models/VariableTypeConfig.Data"
                        },
                        "value": {
                            "oneOf": [
                                {
                                    "oneOf": [
                                        {
                                            "$ref": "#/types/hexString"
                                        },
                                        {
                                            "type": "number"
                                        }
                                    ]
                                },
                                {
                                    "type": "array",
                                    "description": "Initial variable value for each item (according to variable length).",
                                    "items": {
                                        "oneOf": [
                                            {
                                                "$ref": "#/types/hexString"
                                            },
                                            {
                                                "type": "number"
                                            }
                                        ]
                                    }
                                }
                            ]
                        }
                    }
                }
            ]
        },
        "GPIOVariable": {
            "title": "GPIOVariableConfig",
            "type": "object",
            "additionalProperties": true,
            "allOf": [
                {
                    "$ref": "#/definitions/BaseVariable"
                },
                {
                    "type": "object",
                    "required": [
                        "gpio"
                    ],
                    "properties": {
                        "gpio": {
                            "$ref": "#/models/GPIOMapping"
                        }
                    }
                }
            ]
        },
        "ModbusVariable": {
            "title": "ModbusVariableConfig",
            "type": "object",
            "additionalProperties": true,
            "allOf": [
                {
                    "$ref": "#/definitions/BaseVariable"
                },
                {
                    "type": "object",
                    "required": [
                        "modbusAddress"
                    ],
                    "properties": {
                        "modbusAddress": {
                            "$ref": "#/models/ModbusVariableAddress"
                        },
                        "domain": {
                            "enum": [
                                "TARGET"
                            ]
                        },
                        "dataType": {
                            "$ref": "#/models/VariableTypeConfig.Data"
                        }
                    }
                }
            ]
        },
        "anonymousprofile": {
            "title": "AnonymousProfileConfig",
            "required": [
                "username"
            ],
            "properties": {
                "username": {
                    "enum": [
                        "anonymous"
                    ]
                }
            }
        },
        "specialprofile": {
            "required": [
                "username"
            ],
            "title": "SpecialProfileConfig",
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "key": {
                    "$ref": "#/definitions/userKey"
                },
                "password": {
                    "type": "string",
                    "default": "",
                    "examples": [
                        "admin"
                    ],
                    "pattern": "^(.*)$",
                    "maxLength": 16
                },
                "username": {
                    "$ref": "#/definitions/SpecialUsername"
                },
                "lifeTime": {
                    "$id": "#/properties/config/properties/schema/properties/profiles/properties/admin/properties/lifeTime",
                    "type": "integer",
                    "title": "Session Lifetime",
                    "description": "Session lifetime in seconds",
                    "minimum": 0,
                    "maximum": 65535,
                    "default": 300,
                    "examples": [
                        200
                    ]
                },
                "salt": {
                    "$id": "#/properties/config/properties/schema/properties/profiles/properties/admin/properties/salt",
                    "type": "integer",
                    "title": "Profile salt",
                    "default": 0,
                    "examples": [
                        220238910087
                    ]
                },
                "users": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/user"
                    }
                }
            }
        },
        "user": {
            "required": [
                "id",
                "username"
            ],
            "title": "UserConfig",
            "type": "object",
            "additionalProperties": true,
            "properties": {
                "key": {
                    "$ref": "#/definitions/userKey"
                },
                "password": {
                    "type": "string",
                    "default": "",
                    "examples": [
                        "admin"
                    ],
                    "pattern": "^(.*)$",
                    "maxLength": 16
                },
                "username": {
                    "type": "string",
                    "description": "Username",
                    "default": "",
                    "examples": [
                        "admin"
                    ],
                    "pattern": "^(.*)$",
                    "maxLength": 16
                },
                "id": {
                    "type": "integer",
                    "title": "Profile id",
                    "default": 0,
                    "minimum": 0,
                    "maximum": 65533,
                    "examples": [
                        1
                    ]
                },
                "lifeTime": {
                    "type": "integer",
                    "title": "Session Lifetime",
                    "description": "Session lifetime in seconds",
                    "minimum": 0,
                    "maximum": 65535,
                    "default": 300,
                    "examples": [
                        200
                    ]
                },
                "salt": {
                    "type": "integer",
                    "title": "Profile salt",
                    "default": 0,
                    "examples": [
                        220238910087
                    ]
                }
            }
        },
        "profile": {
            "title": "ProfileConfig",
            "allOf": [
                {
                    "$ref": "#/definitions/user"
                },
                {
                    "type": "object",
                    "properties": {
                        "users": {
                            "type": "array",
                            "items": {
                                "$ref": "#/definitions/user"
                            }
                        }
                    }
                }
            ]
        },
        "userKey": {
            "examples": [
                "0x99C243D5F82EB712C281D5FFE7D12097"
            ],
            "allOf": [
                {
                    "$ref": "#/types/hexString"
                },
                {
                    "tsType": "any",
                    "maxLength": 74,
                    "minLength": 34
                }
            ]
        },
        "JVMConfig": {
            "title": "JvmConfig",
            "additionalProperties": false,
            "properties": {
                "code": {
                    "$ref": "#/types/hexString"
                },
                "profileId": {
                    "type": "integer",
                    "description": "User profile id"
                }
            }
        },
        "CloudConfig": {
            "title": "CloudConfig",
            "additionalProperties": false,
            "properties": {
                "platform": {
                    "$ref": "#/models/CloudPlatform"
                },
                "dataLog": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                        "uploadPeriod": {
                            "$ref": "#/types/uint32"
                        },
                        "mqttPublishTopic": {
                            "type": "string"
                        },
                        "mqttSubscribeTopic": {
                            "type": "string"
                        }
                    }
                }
            }
        },
        "TapOptions": {
            "type": "object",
            "title": "Tap Options",
            "additionalProperties": false,
            "properties": {
                "certificate": {
                    "type": "object",
                    "required": [],
                    "additionalProperties": false,
                    "properties": {
                        "privateKey": {
                            "$ref": "#/types/hexString"
                        },
                        "publicKey": {
                            "$ref": "#/types/hexString"
                        }
                    }
                },
                "powerOptimization": {
                    "$ref": "#/models/LowPowerOptimizationLevel"
                },
                "scram": {
                    "type": "object",
                    "required": [],
                    "additionalProperties": false,
                    "properties": {
                        "hashIteration": {
                            "$ref": "#/types/uint16"
                        }
                    }
                },
                "security": {
                    "$ref": "#/models/SecurityOptions"
                },
                "time": {
                    "type": "object",
                    "required": [],
                    "additionalProperties": false,
                    "properties": {
                        "ntpServer": {
                            "type": "string",
                            "maxLength": 100
                        },
                        "zone": {
                            "type": "string",
                            "maxLength": 64
                        }
                    }
                }
            }
        },
        "MCUTargetConfig": {
            "title": "MCU Target config",
            "required": [
                "type",
                "protocol"
            ],
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "type": {
                    "enum": [
                        "MCU"
                    ],
                    "default": "MCU"
                },
                "firmwareVersion": {
                    "$ref": "#/types/semanticVersion"
                },
                "protocol": {
                    "title": "MCUTargetProtocolConfig",
                    "oneOf": [
                        {
                            "$ref": "#/definitions/TargetConfig.Protocol.SWDConfig"
                        },
                        {
                            "$ref": "#/definitions/TargetConfig.Protocol.S3PConfig"
                        },
                        {
                            "$ref": "#/definitions/TargetConfig.Protocol.ModbusConfig"
                        },
                        {
                            "$ref": "#/definitions/TargetConfig.Protocol.DirectIOConfig"
                        },
                        {
                            "$ref": "#/definitions/TargetConfig.Protocol.SerialConfig"
                        },
                        {
                            "$ref": "#/definitions/TargetConfig.Protocol.GPIOConfig"
                        },
                        {
                            "$ref": "#/definitions/TargetConfig.Protocol.CustomConfig"
                        }
                    ]
                }
            }
        },
        "TapnpassTargetConfig": {
            "title": "Tapnpass Target config",
            "required": [
                "type",
                "protocol"
            ],
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "type": {
                    "enum": [
                        "TAPNPASS"
                    ],
                    "default": "TAPNPASS"
                },
                "firmwareVersion": {
                    "$ref": "#/types/semanticVersion"
                },
                "protocol": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                        "config": {
                            "oneOf": [
                                {
                                    "$ref": "#/models/TapnpassProtocolConfigurationConfig"
                                }
                            ]
                        }
                    }
                }
            }
        },
        "SpecialUsername": {
            "title": "SpecialUsername config",
            "enum": [
                "admin",
                "supervisor"
            ]
        }
    },
    "models": {
        "S3PModeConfig": {
            "enum": [
                "INDEXED",
                "EMULATION"
            ],
            "title": "S3P Mode Config"
        },
        "ModbusConfig": {
            "title": "ModbusProtocolConfig",
            "type": "object",
            "additionalProperties": false,
            "required": [
                "modbus",
                "serial"
            ],
            "properties": {
                "modbus": {
                    "$ref": "#/models/TargetSerialModbusConfigurationConfig.Modbus"
                },
                "serial": {
                    "$ref": "#/models/TargetSerialModbusConfigurationConfig.Serial"
                }
            }
        },
        "GPIOMapping": {
            "title": "GPIO mapping config",
            "enum": [
                "RST",
                "TDI",
                "TDO",
                "SWDCK",
                "SWDIO",
                "SCL_FACTORYRST",
                "EXT_A2",
                "EXT_A3",
                "EXT_A4",
                "EXT_A5",
                "EXT_A6",
                "EXT_A7",
                "EXT_A8",
                "EXT_A9",
                "EXT_A10",
                "EXT_A11",
                "EXT_B2",
                "EXT_B3",
                "EXT_B4",
                "EXT_B5",
                "EXT_B6",
                "EXT_B7",
                "EXT_B8",
                "EXT_B9",
                "EXT_B10",
                "EXT_B11"
            ]
        },
        "SpecialFeature": {
            "title": "SpecialFeature config",
            "type": "string",
            "examples": [
                "SWD_DIRECT_ACCESS"
            ],
            "enum": [
                "SWD_DIRECT_ACCESS",
                "SERIAL_ACCESS",
                "MODBUS_DIRECT_ACCESS",
                "TAPNPASS_CONTROL_ACCESS",
                "SP_CODEEXEC_ACCESS"
            ]
        },
        "SecurityConfig": {
            "title": "SecurityConfig",
            "additionalProperties": false,
            "type": "object",
            "required": [],
            "properties": {
                "scramActivated": {
                    "type": "boolean",
                    "title": "Enable SCAN authentification",
                    "default": false
                },
                "hashPassword": {
                    "type": "boolean",
                    "default": true
                },
                "disableHardwareFactoryReset": {
                    "title": "Locking factory reset with lwm2m",
                    "type": "boolean",
                    "default": false
                },
                "disableLoginWithUID": {
                    "title": "Disable login with UID",
                    "type": "boolean",
                    "default": false
                },
                "disableResourceFactoryReset": {
                    "title": "Disable hardware factory reset",
                    "type": "boolean",
                    "default": false
                }
            }
        },
        "AppPathType": {
            "type": "string",
            "enum": [
                "PRIMER_CLOUD_WEB_APP_URL",
                "URL",
                "ANDROID_APP_ID",
                "PRIMER_CLOUD_CONFIG_URL",
                "AAR_2"
            ]
        },
        "TargetSerialModbusConfigurationConfig.Modbus": {
            "title": "ModbusConfig",
            "type": "object",
            "required": [
                "slave",
                "offsetFirstRegister"
            ],
            "additionalProperties": false,
            "properties": {
                "slave": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 256
                },
                "offsetFirstRegister": {
                    "type": "boolean"
                }
            }
        },
        "TargetSerialModbusConfigurationConfig.Serial": {
            "title": "SerialConfig",
            "type": "object",
            "required": [
                "baudRate",
                "stopBits",
                "bitParity",
                "dataBits",
                "handshakeDelimiter",
                "timeout"
            ],
            "additionalProperties": false,
            "properties": {
                "baudRate": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1048576
                },
                "physicalPort": {
                    "$ref": "#/models/SerialSettings.PhysicalPort"
                },
                "stopBits": {
                    "$ref": "#/models/SerialSettings.StopBits"
                },
                "bitParity": {
                    "$ref": "#/models/SerialSettings.BitParity"
                },
                "dataBits": {
                    "$ref": "#/models/SerialSettings.DataBits"
                },
                "handshakeDelimiter": {
                    "$ref": "#/models/SerialSettings.HandshakeDelimiter"
                },
                "hardwareFlowControl": {
                    "$ref": "#/models/SerialSettings.HardwareFlowControl"
                },
                "timeout": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 256
                }
            }
        },
        "SerialSettings.BitParity": {
            "title": "BitParity",
            "type": "string",
            "enum": [
                "NONE",
                "ODD",
                "EVEN"
            ]
        },
        "SerialSettings.HardwareFlowControl": {
            "title": "Handshake",
            "type": "string",
            "enum": [
                "NONE",
                "RTS",
                "CTS",
                "RTS_CTS"
            ]
        },
        "SerialSettings.StopBits": {
            "title": "StopBit",
            "type": "string",
            "enum": [
                "ONE",
                "ONE_AND_HALF",
                "TWO"
            ]
        },
        "SerialSettings.PhysicalPort": {
            "title": "PhysicalPort",
            "type": "string",
            "enum": [
                "NONE",
                "RS232",
                "USB",
                "AUTO",
                "RS485"
            ]
        },
        "SerialSettings.HandshakeDelimiter": {
            "title": "HandshakeDelimiter",
            "type": "string",
            "enum": [
                "NONE",
                "CR",
                "LF",
                "CR_LF"
            ]
        },
        "SerialSettings.DataBits": {
            "type": "string",
            "enum": [
                "_7",
                "_8",
                "_9"
            ]
        },
        "CloudPlatform": {
            "title": "CloudPlatformKey",
            "_tsType": "keyof typeof CloudPlatform",
            "enum": [
                "CUSTOM",
                "IOTIZE",
                "IBM_BLUEMIX",
                "MICROSOFT_AZURE",
                "AMAZON_AWS"
            ]
        },
        "SecurityOptions": {
            "title": "SecurityOptions config",
            "type": "object",
            "required": [],
            "additionalProperties": false,
            "properties": {
                "scramActivated": {
                    "type": "boolean",
                    "description": "true if scram is activated"
                },
                "hashPassword": {
                    "type": "boolean",
                    "description": "true if login is done using the hash of the password instead of the password itself"
                },
                "disableHardwareFactoryReset": {
                    "type": "boolean",
                    "description": "true to disable factory reset using hardware"
                },
                "disableLoginWithUID": {
                    "type": "boolean",
                    "description": "true to disable login using UID (resource /1024//5)"
                },
                "disableResourceFactoryReset": {
                    "type": "boolean",
                    "description": "true to disable factory reset using LwM2M resource"
                }
            }
        },
        "LoraConfig": {
            "title": "LoraConfig",
            "type": "object",
            "required": [
                "classA",
                "classB",
                "classC",
                "dataLoggingEnabled",
                "singlePacketEnabled"
            ],
            "additionalProperties": false,
            "properties": {
                "classA": {
                    "type": "boolean"
                },
                "classB": {
                    "type": "boolean"
                },
                "classC": {
                    "type": "boolean"
                },
                "dataLoggingEnabled": {
                    "type": "boolean"
                },
                "singlePacketEnabled": {
                    "type": "boolean"
                }
            }
        },
        "HostProtocol": {
            "title": "Host protocol config",
            "type": "string",
            "examples": [
                "BLE"
            ],
            "enum": [
                "NFC",
                "BLUETOOTH",
                "GSM",
                "USB_RLINK",
                "USB_CMISIS_DAP",
                "LORA",
                "WIFI",
                "BLE",
                "UART",
                "MQTT",
                "WEBSOCKET"
            ],
            "_tsEnumNames": [
                "NFC",
                "BLE",
                "WIFI",
                "LORA",
                "MQTT"
            ]
        },
        "NfcConnectionPriority": {
            "title": "NfcConnectionPriorityConfig",
            "enum": [
                "NFC_PRIORITY",
                "NFC_NON_PRIORITY"
            ]
        },
        "NfcPairingMode": {
            "title": "NfcPairingMode config",
            "type": "string",
            "enum": [
                "NO",
                "MANDATORY",
                "MANDATORY_FOR_LOGIN"
            ],
            "default": "NO"
        },
        "LowPowerOptimizationLevel": {
            "title": "LowPowerOptimizationLevel config",
            "type": "string",
            "default": "NO",
            "examples": [
                "NO"
            ],
            "enum": [
                "NO",
                "STANDBY",
                "SHUTDOWN"
            ]
        },
        "WifiMode": {
            "title": "Network mode config",
            "type": "string",
            "default": "PEER_TO_PEER",
            "examples": [
                "PEER_TO_PEER"
            ],
            "enum": [
                "PEER_TO_PEER",
                "NETWORK"
            ]
        },
        "TapnpassProtocolConfigurationConfig": {
            "title": "TapnpassProtocolConfigurationConfig",
            "type": "object",
            "required": [
                "modbus",
                "serial",
                "usb"
            ],
            "additionalProperties": false,
            "properties": {
                "modbus": {
                    "$ref": "#/models/TapnpassProtocolConfigurationConfig.Modbus"
                },
                "serial": {
                    "$ref": "#/models/TapnpassProtocolConfigurationConfig.Serial"
                },
                "usb": {
                    "$ref": "#/models/TapnpassProtocolConfigurationConfig.Usb"
                }
            }
        },
        "TapnpassProtocolConfigurationConfig.Modbus": {
            "title": "Modbus",
            "type": "object",
            "required": [
                "slave",
                "offsetFirstRegister"
            ],
            "additionalProperties": false,
            "properties": {
                "slave": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 256
                },
                "offsetFirstRegister": {
                    "type": "boolean"
                }
            }
        },
        "TapnpassProtocolConfigurationConfig.Serial": {
            "title": "Serial",
            "type": "object",
            "required": [
                "baudRate",
                "identification",
                "ledStatus",
                "physicalPort",
                "stopBits",
                "bitParity",
                "dataBits",
                "handshakeDelimiter",
                "hardwareFlowControl",
                "timeout"
            ],
            "additionalProperties": false,
            "properties": {
                "baudRate": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 1048576
                },
                "identification": {
                    "type": "boolean"
                },
                "ledStatus": {
                    "type": "boolean"
                },
                "physicalPort": {
                    "$ref": "#/models/SerialSettings.PhysicalPort"
                },
                "stopBits": {
                    "$ref": "#/models/SerialSettings.StopBits"
                },
                "bitParity": {
                    "$ref": "#/models/SerialSettings.BitParity"
                },
                "dataBits": {
                    "$ref": "#/models/SerialSettings.DataBits"
                },
                "handshakeDelimiter": {
                    "$ref": "#/models/SerialSettings.HandshakeDelimiter"
                },
                "hardwareFlowControl": {
                    "$ref": "#/models/SerialSettings.HardwareFlowControl"
                },
                "timeout": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 256
                }
            }
        },
        "TapnpassProtocolConfigurationConfig.Usb": {
            "type": "object",
            "required": [
                "aliases"
            ],
            "additionalProperties": false,
            "properties": {
                "aliases": {
                    "type": "array",
                    "items": {
                        "$ref": "#/models/TapnpassProtocolConfigurationConfig.Usb.Alias"
                    }
                }
            }
        },
        "TapnpassProtocolConfigurationConfig.Usb.Alias": {
            "type": "object",
            "additionalProperties": false,
            "required": [
                "vid",
                "pid",
                "equ"
            ],
            "properties": {
                "vid": {
                    "$ref": "#/types/uint16"
                },
                "pid": {
                    "$ref": "#/types/uint16"
                },
                "equ": {
                    "type": "integer",
                    "maximum": 5,
                    "minimum": 0
                }
            }
        },
        "TargetSerialModbusConfigurationConfig": {
            "title": "TargetSerialModbusConfigurationConfig",
            "type": "object",
            "required": [
                "modbus",
                "serial"
            ],
            "additionalProperties": false,
            "properties": {
                "modbus": {
                    "$ref": "#/models/TargetSerialModbusConfigurationConfig.Modbus"
                },
                "serial": {
                    "$ref": "#/models/TargetSerialModbusConfigurationConfig.Serial"
                }
            }
        },
        "ModbusVariableAddress": {
            "title": "ModbusVariableAddress",
            "type": "object",
            "required": [
                "functionCode",
                "slave",
                "address"
            ],
            "additionalProperties": false,
            "properties": {
                "functionCode": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 256
                },
                "slave": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 256
                },
                "address": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 65536
                }
            }
        },
        "WifiKeyVisibility": {
            "title": "WifiKeyVisibility",
            "enum": [
                "VISIBLE",
                "HIDDEN"
            ]
        },
        "WifiSSIDVisibility": {
            "title": "WifiSSIDVisibility",
            "enum": [
                "VISIBLE",
                "HIDDEN_FROM_SCAN",
                "HIDDEN"
            ]
        },
        "WifiProtocol": {
            "title": "WifiProtocol",
            "enum": [
                "B",
                "G",
                "N"
            ]
        },
        "TargetProtocol": {
            "title": "Target protocol config",
            "type": "string",
            "default": "NONE",
            "examples": [
                "SWD"
            ],
            "enum": [
                "NONE",
                "SWD",
                "S3P",
                "JTAG",
                "MODBUS",
                "GPIO",
                "SERIAL",
                "CUSTOM"
            ]
        },
        "VariableFormat": {
            "title": "VariableFormat config",
            "type": "string",
            "default": "_32_BITS",
            "examples": [
                "_32_BITS"
            ],
            "enum": [
                "_1_BIT",
                "_8_BITS",
                "_16_BITS",
                "_32_BITS"
            ]
        },
        "VariableTypeConfig.Data": {
            "title": "VariableTypeDataConfig",
            "type": "string",
            "default": "UINT32",
            "_tsType": "keyof typeof VariableType.Data",
            "examples": [
                "UINT32"
            ],
            "enum": [
                "BOOLEAN",
                "INT8",
                "INT16",
                "INT32",
                "UINT8",
                "UINT16",
                "UINT32",
                "FLOAT32",
                "ASCII"
            ]
        },
        "VariableTypeConfig.Domain": {
            "title": "VariableTypeConfigDomain",
            "default": "target",
            "_tsType": "keyof typeof VariableType.Data",
            "enum": [
                "IN_TAP_STATIC",
                "IN_TAP_VOLATIL",
                "GPIO",
                "TARGET"
            ]
        },
        "VariableTypeConfig": {
            "title": "VariableTypeConfig",
            "type": "object",
            "required": [
                "domain",
                "data"
            ],
            "additionalProperties": false,
            "properties": {
                "domain": {
                    "$ref": "#/models/VariableTypeConfig.Domain"
                },
                "data": {
                    "$ref": "#/models/VariableTypeConfig.Data"
                }
            },
            "definitions": {
                "Data": {
                    "title": "Data",
                    "enum": [
                        "BOOLEAN",
                        "INT8",
                        "INT16",
                        "INT32",
                        "ASCII",
                        "FLOAT32",
                        "UINT8",
                        "UINT16",
                        "UINT32"
                    ]
                },
                "Domain": {
                    "title": "Domain",
                    "enum": [
                        "TARGET",
                        "GPIO",
                        "IN_TAP_STATIC",
                        "IN_TAP_VOLATIL"
                    ]
                }
            }
        }
    },
    "types": {
        "address": {
            "oneOf": [
                {
                    "type": "integer",
                    "minimum": 0,
                    "default": 0,
                    "examples": [
                        192
                    ]
                },
                {
                    "type": "string",
                    "pattern": "^0x([0-9a-fA-F]+)$",
                    "example": [
                        "0x2000000"
                    ]
                }
            ]
        },
        "hexString": {
            "title": "HexStringConfig",
            "type": "string",
            "pattern": "^0x([0-9a-fA-F]+)$",
            "example": [
                "0xB3"
            ],
            "tsType": "string | Uint8Array",
            "default": "0x00"
        },
        "uint8": {
            "type": "integer",
            "minimum": 0,
            "maximum": 255,
            "description": "Unsigned integer on 8 bytes"
        },
        "int8": {
            "type": "integer",
            "minimum": -127,
            "maximum": 128,
            "description": "Signed integer on 8 bytes"
        },
        "uint16": {
            "type": "integer",
            "minimum": 0,
            "maximum": 65535,
            "description": "Unsigned integer on 16 bytes"
        },
        "uint32": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967296,
            "description": "Unsigned integer on 32 bytes"
        },
        "semanticVersion": {
            "type": "string",
            "default": "1.0.0",
            "examples": [
                "1.0.0"
            ],
            "pattern": "^(\\d+)\\.(\\d+)\\.(\\d+)$"
        },
        "IPV4Address": {
            "type": "string",
            "examples": [
                "192.168.20.3"
            ],
            "format": "ipv4"
        },
        "IPV4AddressMask": {
            "type": "string",
            "examples": [
                "255.255.0.1"
            ],
            "default": "255.255.255.0",
            "format": "ipv4"
        }
    }
};

/**
 * This file has been generated from JSON file C:\Users\scale\dev\iotize\bitbucket\standalone\iotize-device-client.js\assets\schema\v1\tap-types.json
 */
var tapTypes = {
    "$schema": "http://json-schema.org/draft-07/schema",
    "$id": "http://iotize.com/schemas/v1/tap-types.json",
    "definitions": {
        "NfcPairingMode": {
            "title": "NfcPairingMode config",
            "type": "string",
            "enum": [
                "NO",
                "MANDATORY",
                "MANDATORY_FOR_LOGIN"
            ],
            "default": "NO"
        },
        "ModbusVariableAddress": {
            "title": "ModbusVariableAddress",
            "type": "object",
            "required": ["functionCode", "slave", "address"],
            "additionalProperties": false,
            "properties": {
                "functionCode": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 256
                },
                "slave": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 256
                },
                "address": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 65536
                }
            }
        },
        "WifiKeyVisibility": {
            "title": "WifiKeyVisibility",
            "type": "integer",
            "enum": ["VISIBLE", "HIDDEN"]
        },
        "WifiSSIDVisibility": {
            "title": "WifiSSIDVisibility",
            "type": "integer",
            "enum": ["VISIBLE", "HIDDEN_FROM_SCAN", "HIDDEN"]
        },
        "WifiProtocol": {
            "title": "WifiProtocol",
            "type": "integer",
            "enum": ["B", "G", "N"]
        },
        "TargetProtocol": {
            "title": "Target protocol config",
            "type": "string",
            "default": "NONE",
            "examples": [
                "SWD"
            ],
            "enum": [
                "NONE",
                "SWD",
                "S3P",
                "JTAG",
                "MODBUS",
                "GPIO",
                "SERIAL",
                "CUSTOM"
            ]
        },
        "VariableFormat": {
            "title": "VariableFormat config",
            "type": "string",
            "default": "_32_BITS",
            "examples": [
                "_32_BITS"
            ],
            "enum": [
                "_1_BIT",
                "_8_BITS",
                "_16_BITS",
                "_32_BITS"
            ]
        },
        "VariableType.Data": {
            "description": "Variable type config",
            "title": "VariableTypeConfig",
            "type": "string",
            "default": "UINT32",
            "examples": [
                "UINT32"
            ],
            "enum": [
                "INT8",
                "INT16",
                "INT32",
                "UINT8",
                "UINT16",
                "UINT32",
                "FLOAT32",
                "STRING"
            ]
        },
        "SpecialFeature": {
            "title": "SpecialFeature config",
            "type": "string",
            "examples": [
                "SWD_DIRECT_ACCESS"
            ],
            "enum": [
                "SWD_DIRECT_ACCESS",
                "SERIAL_ACCESS",
                "MODBUS_DIRECT_ACCESS",
                "TAPNPASS_CONTROL_ACCESS",
                "SP_CODEEXEC_ACCESS"
            ]
        },
        "HostProtocol": {
            "title": "HostProtocol config",
            "type": "string",
            "examples": [
                "BLE"
            ],
            "enum": [
                "NFC",
                "BLE",
                "WIFI",
                "LORA"
            ],
            "tsEnumNames": [
                "NFC",
                "BLE",
                "WIFI",
                "LORA"
            ]
        },
        "LowPowerOptimizationLevel": {
            "title": "LowPowerOptimizationLevel config",
            "type": "string",
            "default": "NO",
            "examples": [
                "NO"
            ],
            "enum": [
                "NO",
                "STANDBY",
                "SHUTDOWN"
            ]
        },
        "WifiMode": {
            "title": "Network mode config",
            "type": "string",
            "default": "PEER_TO_PEER",
            "examples": [
                "PEER_TO_PEER"
            ],
            "enum": [
                "PEER_TO_PEER",
                "NETWORK"
            ]
        },
        "UartSettings": {
            "title": "UartSettings config",
            "type": "object",
            "additionalAttributes": false,
            "attributes": {
                "slv": {
                    "type": "integer",
                    "minValue": 0,
                    "maxValue": 255
                },
                "ofs": {
                    "type": "boolean"
                },
                "baudRate": {
                    "type": "integer",
                    "minValue": 0
                },
                "physicalPort": {
                    "$ref": "#/PhysicalPort"
                },
                "stopBit": {
                    "$ref": "#/StopBit"
                },
                "bitParity": {
                    "$ref": "#/BitParity"
                },
                "dataBits": {
                    "$ref": "#/DataBitsLength"
                },
                "handshakeDelimiter": {
                    "$ref": "#/HandshakeDelimiter"
                },
                "handshakeValue": {
                    "$ref": "#/Handshake"
                },
                "timeout": {
                    "type": "integer",
                    "minValue": 0,
                    "maxValue": 255
                }
            }
        },
        "BitParity": {
            "title": "BitParity",
            "type": "string",
            "enum": [
                "NONE",
                "ODD",
                "EVEN"
            ]
        },
        "Handshake": {
            "title": "Handshake",
            "type": "string",
            "enum": [
                "NONE",
                "RTS",
                "CTS",
                "RTS_CTS"
            ]
        },
        "StopBit": {
            "title": "StopBit",
            "type": "string",
            "enum": [
                "ONE",
                "ONE_AND_HALF",
                "TWO"
            ]
        },
        "PhysicalPort": {
            "title": "PhysicalPort",
            "type": "string",
            "enum": [
                "NONE",
                "RS232",
                "USB",
                "AUTO",
                "RS485"
            ]
        },
        "HandshakeDelimiter": {
            "title": "HandshakeDelimiter",
            "type": "string",
            "enum": [
                "NONE",
                "CR",
                "LF",
                "CR_LF"
            ]
        },
        "DataBitsLength": {
            "title": "DataBitsLength",
            "type": "string",
            "enum": [
                "_7",
                "_8",
                "_9"
            ]
        },
        "SecurityConfig": {
            "title": "SecurityConfig",
            "additionalProperties": false,
            "type": "object",
            "required": [
                "scramActivated",
                "hashPassword",
                "factoryReset",
                "disableLoginWithUID",
                "disableResourceFactoryReset"
            ],
            "properties": {
                "scramActivated": {
                    "type": "boolean",
                    "title": "Enable SCAN authentification",
                    "default": false
                },
                "hashPassword": {
                    "type": "boolean",
                    "default": true
                },
                "disableHardwareFactoryReset": {
                    "title": "Locking factory reset with lwm2m",
                    "type": "boolean",
                    "default": false
                },
                "disableLoginWithUID": {
                    "title": "Disable login with UID",
                    "type": "boolean",
                    "default": false
                },
                "disableResourceFactoryReset": {
                    "title": "Disable hardware factory reset",
                    "type": "boolean",
                    "default": false
                }
            }
        },
        "SpecialUsername": {
            "title": "SpecialUsername config",
            "enum": [
                "admin",
                "supervisor"
            ]
        },
        "UsbAlias": {
            "title": "UsbAlias  config",
            "type": "object",
            "additionalProperties": false,
            "required": [
                "vid",
                "pid",
                "equ"
            ],
            "properties": {
                "vid": {
                    "allOf": [
                        {
                            "$ref": "common.json#/definitions/hexString"
                        },
                        {
                            "tsType": "any",
                            "maxLength": 6
                        }
                    ]
                },
                "pid": {
                    "allOf": [
                        {
                            "$ref": "common.json#/definitions/hexString"
                        },
                        {
                            "tsType": "any",
                            "maxLength": 6
                        }
                    ]
                },
                "equ": {
                    "type": "integer",
                    "maximum": 5,
                    "minimum": 0
                }
            }
        }
    }
};

/**
 * Generated bundle index. Do not edit.
 */

export { common as CommonTypeJsonSchema, tapConfig as TapConfigJsonSchema, tapTypes as TapTypeJsonSchema };
//# sourceMappingURL=iotize-tap-config-schema-v1.js.map
