5.8
{
    "enums": {
        "BasicType": [
            "Uuid",
            "String",
            "StringList",
            "Int",
            "Uint",
            "Double",
            "Bool",
            "Variant",
            "Color",
            "Time",
            "Object"
        ],
        "BrowserIcon": [
            "BrowserIconNone",
            "BrowserIconFolder",
            "BrowserIconFile",
            "BrowserIconMusic",
            "BrowserIconVideo",
            "BrowserIconPictures",
            "BrowserIconApplication",
            "BrowserIconDocument",
            "BrowserIconPackage",
            "BrowserIconFavorites"
        ],
        "CloudConnectionState": [
            "CloudConnectionStateDisabled",
            "CloudConnectionStateUnconfigured",
            "CloudConnectionStateConnecting",
            "CloudConnectionStateConnected"
        ],
        "ConfigurationError": [
            "ConfigurationErrorNoError",
            "ConfigurationErrorInvalidTimeZone",
            "ConfigurationErrorInvalidStationName",
            "ConfigurationErrorInvalidId",
            "ConfigurationErrorInvalidPort",
            "ConfigurationErrorInvalidHostAddress",
            "ConfigurationErrorBluetoothHardwareNotAvailable",
            "ConfigurationErrorInvalidCertificate"
        ],
        "CreateMethod": [
            "CreateMethodUser",
            "CreateMethodAuto",
            "CreateMethodDiscovery"
        ],
        "DeviceError": [
            "DeviceErrorNoError",
            "DeviceErrorPluginNotFound",
            "DeviceErrorVendorNotFound",
            "DeviceErrorDeviceNotFound",
            "DeviceErrorDeviceClassNotFound",
            "DeviceErrorActionTypeNotFound",
            "DeviceErrorStateTypeNotFound",
            "DeviceErrorEventTypeNotFound",
            "DeviceErrorDeviceDescriptorNotFound",
            "DeviceErrorMissingParameter",
            "DeviceErrorInvalidParameter",
            "DeviceErrorSetupFailed",
            "DeviceErrorDuplicateUuid",
            "DeviceErrorCreationMethodNotSupported",
            "DeviceErrorSetupMethodNotSupported",
            "DeviceErrorHardwareNotAvailable",
            "DeviceErrorHardwareFailure",
            "DeviceErrorAuthenticationFailure",
            "DeviceErrorDeviceInUse",
            "DeviceErrorDeviceInRule",
            "DeviceErrorDeviceIsChild",
            "DeviceErrorPairingTransactionIdNotFound",
            "DeviceErrorParameterNotWritable",
            "DeviceErrorItemNotFound",
            "DeviceErrorItemNotExecutable",
            "DeviceErrorUnsupportedFeature",
            "DeviceErrorTimeout"
        ],
        "DeviceSetupStatus": [
            "DeviceSetupStatusNone",
            "DeviceSetupStatusInProgress",
            "DeviceSetupStatusComplete",
            "DeviceSetupStatusFailed"
        ],
        "IOType": [
            "IOTypeNone",
            "IOTypeDigitalInput",
            "IOTypeDigitalOutput",
            "IOTypeAnalogInput",
            "IOTypeAnalogOutput"
        ],
        "InputType": [
            "InputTypeNone",
            "InputTypeTextLine",
            "InputTypeTextArea",
            "InputTypePassword",
            "InputTypeSearch",
            "InputTypeMail",
            "InputTypeIPv4Address",
            "InputTypeIPv6Address",
            "InputTypeUrl",
            "InputTypeMacAddress"
        ],
        "LoggingError": [
            "LoggingErrorNoError",
            "LoggingErrorLogEntryNotFound",
            "LoggingErrorInvalidFilterParameter"
        ],
        "LoggingEventType": [
            "LoggingEventTypeTrigger",
            "LoggingEventTypeActiveChange",
            "LoggingEventTypeEnabledChange",
            "LoggingEventTypeActionsExecuted",
            "LoggingEventTypeExitActionsExecuted"
        ],
        "LoggingLevel": [
            "LoggingLevelInfo",
            "LoggingLevelAlert"
        ],
        "LoggingSource": [
            "LoggingSourceSystem",
            "LoggingSourceEvents",
            "LoggingSourceActions",
            "LoggingSourceStates",
            "LoggingSourceRules",
            "LoggingSourceBrowserActions"
        ],
        "MediaBrowserIcon": [
            "MediaBrowserIconNone",
            "MediaBrowserIconPlaylist",
            "MediaBrowserIconRecentlyPlayed",
            "MediaBrowserIconLibrary",
            "MediaBrowserIconMusicLibrary",
            "MediaBrowserIconVideoLibrary",
            "MediaBrowserIconPictureLibrary",
            "MediaBrowserIconDisk",
            "MediaBrowserIconUSB",
            "MediaBrowserIconNetwork",
            "MediaBrowserIconAux",
            "MediaBrowserIconBluetooth",
            "MediaBrowserIconSpotify",
            "MediaBrowserIconAmazon",
            "MediaBrowserIconTuneIn",
            "MediaBrowserIconSiriusXM",
            "MediaBrowserIconVTuner",
            "MediaBrowserIconTidal",
            "MediaBrowserIconAirable",
            "MediaBrowserIconDeezer",
            "MediaBrowserIconNapster",
            "MediaBrowserIconSoundCloud",
            "MediaBrowserIconRadioParadise"
        ],
        "ModbusRtuError": [
            "ModbusRtuErrorNoError",
            "ModbusRtuErrorNotAvailable",
            "ModbusRtuErrorUuidNotFound",
            "ModbusRtuErrorHardwareNotFound",
            "ModbusRtuErrorResourceBusy",
            "ModbusRtuErrorNotSupported",
            "ModbusRtuErrorInvalidTimeoutValue",
            "ModbusRtuErrorConnectionFailed"
        ],
        "NetworkDeviceState": [
            "NetworkDeviceStateUnknown",
            "NetworkDeviceStateUnmanaged",
            "NetworkDeviceStateUnavailable",
            "NetworkDeviceStateDisconnected",
            "NetworkDeviceStatePrepare",
            "NetworkDeviceStateConfig",
            "NetworkDeviceStateNeedAuth",
            "NetworkDeviceStateIpConfig",
            "NetworkDeviceStateIpCheck",
            "NetworkDeviceStateSecondaries",
            "NetworkDeviceStateActivated",
            "NetworkDeviceStateDeactivating",
            "NetworkDeviceStateFailed"
        ],
        "NetworkManagerError": [
            "NetworkManagerErrorNoError",
            "NetworkManagerErrorUnknownError",
            "NetworkManagerErrorWirelessNotAvailable",
            "NetworkManagerErrorAccessPointNotFound",
            "NetworkManagerErrorNetworkInterfaceNotFound",
            "NetworkManagerErrorInvalidNetworkDeviceType",
            "NetworkManagerErrorWirelessNetworkingDisabled",
            "NetworkManagerErrorWirelessConnectionFailed",
            "NetworkManagerErrorNetworkingDisabled",
            "NetworkManagerErrorNetworkManagerNotAvailable"
        ],
        "NetworkManagerState": [
            "NetworkManagerStateUnknown",
            "NetworkManagerStateAsleep",
            "NetworkManagerStateDisconnected",
            "NetworkManagerStateDisconnecting",
            "NetworkManagerStateConnecting",
            "NetworkManagerStateConnectedLocal",
            "NetworkManagerStateConnectedSite",
            "NetworkManagerStateConnectedGlobal"
        ],
        "RemovePolicy": [
            "RemovePolicyCascade",
            "RemovePolicyUpdate"
        ],
        "RepeatingMode": [
            "RepeatingModeNone",
            "RepeatingModeHourly",
            "RepeatingModeDaily",
            "RepeatingModeWeekly",
            "RepeatingModeMonthly",
            "RepeatingModeYearly"
        ],
        "RuleError": [
            "RuleErrorNoError",
            "RuleErrorInvalidRuleId",
            "RuleErrorRuleNotFound",
            "RuleErrorThingNotFound",
            "RuleErrorEventTypeNotFound",
            "RuleErrorStateTypeNotFound",
            "RuleErrorActionTypeNotFound",
            "RuleErrorInvalidParameter",
            "RuleErrorInvalidRuleFormat",
            "RuleErrorMissingParameter",
            "RuleErrorInvalidRuleActionParameter",
            "RuleErrorInvalidStateEvaluatorValue",
            "RuleErrorTypesNotMatching",
            "RuleErrorNotExecutable",
            "RuleErrorInvalidTimeDescriptor",
            "RuleErrorInvalidRepeatingOption",
            "RuleErrorInvalidCalendarItem",
            "RuleErrorInvalidTimeEventItem",
            "RuleErrorContainsEventBasesAction",
            "RuleErrorNoExitActions",
            "RuleErrorInterfaceNotFound"
        ],
        "ScriptError": [
            "ScriptErrorNoError",
            "ScriptErrorScriptNotFound",
            "ScriptErrorInvalidScript",
            "ScriptErrorHardwareFailure"
        ],
        "ScriptMessageType": [
            "ScriptMessageTypeLog",
            "ScriptMessageTypeWarning"
        ],
        "SerialPortDataBits": [
            "SerialPortDataBitsData5",
            "SerialPortDataBitsData6",
            "SerialPortDataBitsData7",
            "SerialPortDataBitsData8",
            "SerialPortDataBitsUnknownDataBits"
        ],
        "SerialPortParity": [
            "SerialPortParityNoParity",
            "SerialPortParityEvenParity",
            "SerialPortParityOddParity",
            "SerialPortParitySpaceParity",
            "SerialPortParityMarkParity",
            "SerialPortParityUnknownParity"
        ],
        "SerialPortStopBits": [
            "SerialPortStopBitsOneStop",
            "SerialPortStopBitsOneAndHalfStop",
            "SerialPortStopBitsTwoStop",
            "SerialPortStopBitsUnknownStopBits"
        ],
        "SetupMethod": [
            "SetupMethodJustAdd",
            "SetupMethodDisplayPin",
            "SetupMethodEnterPin",
            "SetupMethodPushButton",
            "SetupMethodUserAndPassword",
            "SetupMethodOAuth"
        ],
        "StateOperator": [
            "StateOperatorAnd",
            "StateOperatorOr"
        ],
        "StateValueFilter": [
            "StateValueFilterNone",
            "StateValueFilterAdaptive"
        ],
        "TagError": [
            "TagErrorNoError",
            "TagErrorThingNotFound",
            "TagErrorRuleNotFound",
            "TagErrorTagNotFound"
        ],
        "ThingError": [
            "ThingErrorNoError",
            "ThingErrorPluginNotFound",
            "ThingErrorVendorNotFound",
            "ThingErrorThingNotFound",
            "ThingErrorThingClassNotFound",
            "ThingErrorActionTypeNotFound",
            "ThingErrorStateTypeNotFound",
            "ThingErrorEventTypeNotFound",
            "ThingErrorThingDescriptorNotFound",
            "ThingErrorMissingParameter",
            "ThingErrorInvalidParameter",
            "ThingErrorSetupFailed",
            "ThingErrorDuplicateUuid",
            "ThingErrorCreationMethodNotSupported",
            "ThingErrorSetupMethodNotSupported",
            "ThingErrorHardwareNotAvailable",
            "ThingErrorHardwareFailure",
            "ThingErrorAuthenticationFailure",
            "ThingErrorThingInUse",
            "ThingErrorThingInRule",
            "ThingErrorThingIsChild",
            "ThingErrorPairingTransactionIdNotFound",
            "ThingErrorParameterNotWritable",
            "ThingErrorItemNotFound",
            "ThingErrorItemNotExecutable",
            "ThingErrorUnsupportedFeature",
            "ThingErrorTimeout"
        ],
        "ThingSetupStatus": [
            "ThingSetupStatusNone",
            "ThingSetupStatusInProgress",
            "ThingSetupStatusComplete",
            "ThingSetupStatusFailed"
        ],
        "Unit": [
            "UnitNone",
            "UnitMilliSeconds",
            "UnitSeconds",
            "UnitMinutes",
            "UnitHours",
            "UnitUnixTime",
            "UnitMeterPerSecond",
            "UnitKiloMeterPerHour",
            "UnitDegree",
            "UnitRadiant",
            "UnitDegreeCelsius",
            "UnitDegreeKelvin",
            "UnitMired",
            "UnitMilliBar",
            "UnitBar",
            "UnitPascal",
            "UnitHectoPascal",
            "UnitAtmosphere",
            "UnitLumen",
            "UnitLux",
            "UnitCandela",
            "UnitMilliMeter",
            "UnitCentiMeter",
            "UnitMeter",
            "UnitKiloMeter",
            "UnitGram",
            "UnitKiloGram",
            "UnitDezibel",
            "UnitBpm",
            "UnitKiloByte",
            "UnitMegaByte",
            "UnitGigaByte",
            "UnitTeraByte",
            "UnitMilliWatt",
            "UnitWatt",
            "UnitKiloWatt",
            "UnitKiloWattHour",
            "UnitEuroPerMegaWattHour",
            "UnitEuroCentPerKiloWattHour",
            "UnitPercentage",
            "UnitPartsPerMillion",
            "UnitEuro",
            "UnitDollar",
            "UnitHertz",
            "UnitAmpere",
            "UnitMilliAmpere",
            "UnitVolt",
            "UnitMilliVolt",
            "UnitVoltAmpere",
            "UnitVoltAmpereReactive",
            "UnitAmpereHour",
            "UnitOhm",
            "UnitMicroSiemensPerCentimeter",
            "UnitDuration",
            "UnitNewton",
            "UnitNewtonMeter",
            "UnitRpm",
            "UnitMilligramPerLiter",
            "UnitLiter"
        ],
        "UserError": [
            "UserErrorNoError",
            "UserErrorBackendError",
            "UserErrorInvalidUserId",
            "UserErrorDuplicateUserId",
            "UserErrorBadPassword",
            "UserErrorTokenNotFound",
            "UserErrorPermissionDenied"
        ],
        "ValueOperator": [
            "ValueOperatorEquals",
            "ValueOperatorNotEquals",
            "ValueOperatorLess",
            "ValueOperatorGreater",
            "ValueOperatorLessOrEqual",
            "ValueOperatorGreaterOrEqual"
        ],
        "WirelessMode": [
            "WirelessModeUnknown",
            "WirelessModeAdhoc",
            "WirelessModeInfrastructure",
            "WirelessModeAccessPoint"
        ],
        "ZigbeeError": [
            "ZigbeeErrorNoError",
            "ZigbeeErrorAdapterNotAvailable",
            "ZigbeeErrorAdapterAlreadyInUse",
            "ZigbeeErrorNetworkUuidNotFound",
            "ZigbeeErrorDurationOutOfRange",
            "ZigbeeErrorNetworkOffline",
            "ZigbeeErrorUnknownBackend",
            "ZigbeeErrorNodeNotFound",
            "ZigbeeErrorForbidden",
            "ZigbeeErrorInvalidChannel"
        ],
        "ZigbeeNetworkState": [
            "ZigbeeNetworkStateOffline",
            "ZigbeeNetworkStateStarting",
            "ZigbeeNetworkStateUpdating",
            "ZigbeeNetworkStateOnline",
            "ZigbeeNetworkStateError"
        ],
        "ZigbeeNodeState": [
            "ZigbeeNodeStateUninitialized",
            "ZigbeeNodeStateInitializing",
            "ZigbeeNodeStateInitialized",
            "ZigbeeNodeStateHandled"
        ],
        "ZigbeeNodeType": [
            "ZigbeeNodeTypeCoordinator",
            "ZigbeeNodeTypeRouter",
            "ZigbeeNodeTypeEndDevice"
        ]
    },
    "flags": {
        "CreateMethods": [
            "$ref:CreateMethod"
        ]
    },
    "methods": {
        "Actions.ExecuteAction": {
            "deprecated": "Please use Integrations.ExecuteAction instead.",
            "description": "Execute a single action.",
            "params": {
                "actionTypeId": "Uuid",
                "deviceId": "Uuid",
                "o:params": "$ref:ParamList"
            },
            "returns": {
                "deviceError": "$ref:DeviceError",
                "o:displayMessage": "String"
            }
        },
        "Actions.ExecuteBrowserItem": {
            "deprecated": "Please use Integrations.ExecuteBrowserItem instead.",
            "description": "Execute the item identified by itemId on the given device.",
            "params": {
                "deviceId": "Uuid",
                "itemId": "String"
            },
            "returns": {
                "deviceError": "$ref:DeviceError"
            }
        },
        "Actions.ExecuteBrowserItemAction": {
            "deprecated": "Please use Integrations.ExecuteBrowserItem instead.",
            "description": "Execute the action for the browser item identified by actionTypeId and the itemId on the given device.",
            "params": {
                "actionTypeId": "Uuid",
                "deviceId": "Uuid",
                "itemId": "String",
                "o:params": "$ref:ParamList"
            },
            "returns": {
                "deviceError": "$ref:DeviceError"
            }
        },
        "Actions.GetActionType": {
            "deprecated": "Please use the Integrations namespace instead.",
            "description": "Get the ActionType for the given ActionTypeId.",
            "params": {
                "actionTypeId": "Uuid"
            },
            "returns": {
                "deviceError": "$ref:DeviceError",
                "o:actionType": "$ref:ActionType"
            }
        },
        "AppData.Load": {
            "description": "Retrieve an app data storage value that has previously been set with Store(). If no value had been set for this appId/key combination before, an empty value will be returned.",
            "params": {
                "appId": "String",
                "key": "String",
                "o:group": "String"
            },
            "returns": {
                "value": "String"
            }
        },
        "AppData.Store": {
            "description": "Store an app data entry to the server. App data can be used by the client application to store configuration values. The app data storage is a key-value pair storage. Each entry value is identified by an appId, a key and optionally a group. The value data is a bytearray and can contain arbitrary data, such as a JSON map or image data, however, be aware of the maximum packet size for the used transport.\nThis might be useful to a client application to sync settings across multiple instances of the same application.\nThe group parameter might be used to create groups for this application.\nIMPORTANT: Currently no verification of the appId is done. The appid is merely a mechanism to prevent different different client apps from colliding by using the same key for data entries. This implies that the app data storage may not be suited for sensitive data given that anyone with a valid server token can read it.\n ",
            "params": {
                "appId": "String",
                "key": "String",
                "o:group": "String",
                "value": "String"
            },
            "returns": {
            }
        },
        "Configuration.DeleteMqttPolicy": {
            "description": "Delete a MQTT policy from the broker.",
            "params": {
                "clientId": "String"
            },
            "returns": {
                "configurationError": "$ref:ConfigurationError"
            }
        },
        "Configuration.DeleteMqttServerConfiguration": {
            "description": "Delete a MQTT Server interface of the server.",
            "params": {
                "id": "String"
            },
            "returns": {
                "configurationError": "$ref:ConfigurationError"
            }
        },
        "Configuration.DeleteTcpServerConfiguration": {
            "description": "Delete a TCP interface of the server. Note: if you are deleting the configuration for the interface you are currently connected to, the connection will be dropped.",
            "params": {
                "id": "String"
            },
            "returns": {
                "configurationError": "$ref:ConfigurationError"
            }
        },
        "Configuration.DeleteWebServerConfiguration": {
            "description": "Delete a WebServer interface of the server.",
            "params": {
                "id": "String"
            },
            "returns": {
                "configurationError": "$ref:ConfigurationError"
            }
        },
        "Configuration.DeleteWebSocketServerConfiguration": {
            "description": "Delete a WebSocket Server interface of the server. Note: if you are deleting the configuration for the interface you are currently connected to, the connection will be dropped.",
            "params": {
                "id": "String"
            },
            "returns": {
                "configurationError": "$ref:ConfigurationError"
            }
        },
        "Configuration.GetAvailableLanguages": {
            "deprecated": "Use the locale property in the Handshake message instead.",
            "description": "Returns a list of locale codes available for the server. i.e. en_US, de_AT",
            "params": {
            },
            "returns": {
                "languages": [
                    "String"
                ]
            }
        },
        "Configuration.GetConfigurations": {
            "description": "Get all configuration parameters of the server.",
            "params": {
            },
            "returns": {
                "basicConfiguration": {
                    "d:language": "String",
                    "d:serverTime": "Uint",
                    "d:timeZone": "String",
                    "debugServerEnabled": "Bool",
                    "serverName": "String",
                    "serverUuid": "Uuid"
                },
                "cloud": {
                    "enabled": "Bool"
                },
                "tcpServerConfigurations": [
                    "$ref:ServerConfiguration"
                ],
                "webServerConfigurations": [
                    "$ref:WebServerConfiguration"
                ],
                "webSocketServerConfigurations": [
                    "$ref:ServerConfiguration"
                ]
            }
        },
        "Configuration.GetMqttPolicies": {
            "description": "Get all MQTT broker policies.",
            "params": {
            },
            "returns": {
                "mqttPolicies": [
                    "$ref:MqttPolicy"
                ]
            }
        },
        "Configuration.GetMqttServerConfigurations": {
            "description": "Get all MQTT Server configurations.",
            "params": {
            },
            "returns": {
                "mqttServerConfigurations": [
                    "$ref:ServerConfiguration"
                ]
            }
        },
        "Configuration.GetTimeZones": {
            "deprecated": "Use System.GetTimeZones instead.",
            "description": "Get the list of available timezones.",
            "params": {
            },
            "returns": {
                "timeZones": [
                    "String"
                ]
            }
        },
        "Configuration.SetCloudEnabled": {
            "description": "Sets whether the cloud connection is enabled or disabled in the settings.",
            "params": {
                "enabled": "Bool"
            },
            "returns": {
                "configurationError": "$ref:ConfigurationError"
            }
        },
        "Configuration.SetDebugServerEnabled": {
            "description": "Enable or disable the debug server.",
            "params": {
                "enabled": "String"
            },
            "returns": {
                "configurationError": "$ref:ConfigurationError"
            }
        },
        "Configuration.SetLanguage": {
            "deprecated": "Use the locale property in the Handshake message instead.",
            "description": "Sets the server language to the given language. See also: \"GetAvailableLanguages\"",
            "params": {
                "language": "String"
            },
            "returns": {
                "configurationError": "$ref:ConfigurationError"
            }
        },
        "Configuration.SetMqttPolicy": {
            "description": "Configure a MQTT broker policy. If the ID is an existing one, the existing policy will be modified, otherwise a new one will be added.",
            "params": {
                "policy": "$ref:MqttPolicy"
            },
            "returns": {
                "configurationError": "$ref:ConfigurationError"
            }
        },
        "Configuration.SetMqttServerConfiguration": {
            "description": "Configure a MQTT Server interface on the MQTT broker. If the ID is an existing one, the existing config will be modified, otherwise a new one will be added. Setting authenticationEnabled to true will require MQTT clients to use credentials set in the MQTT broker policies.",
            "params": {
                "configuration": "$ref:ServerConfiguration"
            },
            "returns": {
                "configurationError": "$ref:ConfigurationError"
            }
        },
        "Configuration.SetServerName": {
            "description": "Set the name of the server. Default is nymea.",
            "params": {
                "serverName": "String"
            },
            "returns": {
                "configurationError": "$ref:ConfigurationError"
            }
        },
        "Configuration.SetTcpServerConfiguration": {
            "description": "Configure a TCP interface of the server. If the ID is an existing one, the existing config will be modified, otherwise a new one will be added. Note: if you are changing the configuration for the interface you are currently connected to, the connection will be dropped.",
            "params": {
                "configuration": "$ref:ServerConfiguration"
            },
            "returns": {
                "configurationError": "$ref:ConfigurationError"
            }
        },
        "Configuration.SetTimeZone": {
            "deprecated": "Use System.SetTimeZone instead.",
            "description": "Set the time zone of the server. See also: \"GetTimeZones\"",
            "params": {
                "timeZone": "String"
            },
            "returns": {
                "configurationError": "$ref:ConfigurationError"
            }
        },
        "Configuration.SetWebServerConfiguration": {
            "description": "Configure a WebServer interface of the server. If the ID is an existing one, the existing config will be modified, otherwise a new one will be added.",
            "params": {
                "configuration": "$ref:WebServerConfiguration"
            },
            "returns": {
                "configurationError": "$ref:ConfigurationError"
            }
        },
        "Configuration.SetWebSocketServerConfiguration": {
            "description": "Configure a WebSocket Server interface of the server. If the ID is an existing one, the existing config will be modified, otherwise a new one will be added. Note: if you are changing the configuration for the interface you are currently connected to, the connection will be dropped.",
            "params": {
                "configuration": "$ref:ServerConfiguration"
            },
            "returns": {
                "configurationError": "$ref:ConfigurationError"
            }
        },
        "Devices.AddConfiguredDevice": {
            "description": "Add a configured device with a setupMethod of SetupMethodJustAdd. For devices with a setupMethod different than SetupMethodJustAdd, use PairDevice. Devices with CreateMethodJustAdd require all parameters to be supplied here. Devices with CreateMethodDiscovery require the use of a deviceDescriptorId. For discovered devices params are not required and will be taken from the DeviceDescriptor, however, they may be overridden by supplying deviceParams.",
            "params": {
                "deviceClassId": "Uuid",
                "name": "String",
                "o:deviceDescriptorId": "Uuid",
                "o:deviceParams": "$ref:ParamList"
            },
            "returns": {
                "deviceError": "$ref:DeviceError",
                "o:deviceId": "Uuid",
                "o:displayMessage": "String"
            }
        },
        "Devices.BrowseDevice": {
            "description": "Browse a device. If a DeviceClass indicates a device is browsable, this method will return the BrowserItems. If no parameter besides the deviceId is used, the root node of this device will be returned. Any returned item which is browsable can be passed as node. Results will be children of the given node.\nIn case of an error during browsing, the error will be indicated and the displayMessage may contain additional information for the user. The displayMessage will be translated. A client UI showing this message to the user should be prepared for empty, but also longer strings.",
            "params": {
                "deviceId": "Uuid",
                "o:itemId": "String"
            },
            "returns": {
                "deviceError": "$ref:DeviceError",
                "items": [
                    "$ref:BrowserItem"
                ],
                "o:displayMessage": "String"
            }
        },
        "Devices.ConfirmPairing": {
            "description": "Confirm an ongoing pairing. For SetupMethodUserAndPassword, provide the username in the \"username\" field and the password in the \"secret\" field. For SetupMethodEnterPin and provide the PIN in the \"secret\" field. In case of SetupMethodOAuth, the previously opened web view will eventually be redirected to http://128.0.0.1:8888 and the OAuth code as query parameters to this url. Provide the entire unmodified URL in the secret field.",
            "params": {
                "o:secret": "String",
                "o:username": "String",
                "pairingTransactionId": "Uuid"
            },
            "returns": {
                "deviceError": "$ref:DeviceError",
                "o:deviceId": "Uuid",
                "o:displayMessage": "String"
            }
        },
        "Devices.EditDevice": {
            "description": "Edit the name of a device. This method does not change the configuration of the device.",
            "params": {
                "deviceId": "Uuid",
                "name": "String"
            },
            "returns": {
                "deviceError": "$ref:DeviceError"
            }
        },
        "Devices.ExecuteAction": {
            "description": "Execute a single action.",
            "params": {
                "actionTypeId": "Uuid",
                "deviceId": "Uuid",
                "o:params": "$ref:ParamList"
            },
            "returns": {
                "deviceError": "$ref:DeviceError",
                "o:displayMessage": "String"
            }
        },
        "Devices.ExecuteBrowserItem": {
            "description": "Execute the item identified by itemId on the given device.\nIn case of an error during execution, the error will be indicated and the displayMessage may contain additional information for the user. The displayMessage will be translated. A client UI showing this message to the user should be prepared for empty, but also longer strings.",
            "params": {
                "deviceId": "Uuid",
                "itemId": "String"
            },
            "returns": {
                "deviceError": "$ref:DeviceError",
                "o:displayMessage": "String"
            }
        },
        "Devices.ExecuteBrowserItemAction": {
            "description": "Execute the action for the browser item identified by actionTypeId and the itemId on the given device.\nIn case of an error during execution, the error will be indicated and the displayMessage may contain additional information for the user. The displayMessage will be translated. A client UI showing this message to the user should be prepared for empty, but also longer strings.",
            "params": {
                "actionTypeId": "Uuid",
                "deviceId": "Uuid",
                "itemId": "String",
                "o:params": "$ref:ParamList"
            },
            "returns": {
                "deviceError": "$ref:DeviceError",
                "o:displayMessage": "String"
            }
        },
        "Devices.GetActionTypes": {
            "description": "Get action types for a specified deviceClassId.",
            "params": {
                "deviceClassId": "Uuid"
            },
            "returns": {
                "actionTypes": "$ref:ActionTypes"
            }
        },
        "Devices.GetBrowserItem": {
            "description": "Get a single item from the browser. This won't give any more info on an item than a regular browseDevice call, but it allows to fetch details of an item if only the ID is known.\nIn case of an error during browsing, the error will be indicated and the displayMessage may contain additional information for the user. The displayMessage will be translated. A client UI showing this message to the user should be prepared for empty, but also longer strings.",
            "params": {
                "deviceId": "Uuid",
                "o:itemId": "String"
            },
            "returns": {
                "deviceError": "$ref:DeviceError",
                "o:displayMessage": "String",
                "o:item": "$ref:BrowserItem"
            }
        },
        "Devices.GetConfiguredDevices": {
            "description": "Returns a list of configured devices, optionally filtered by deviceId.",
            "params": {
                "o:deviceId": "Uuid"
            },
            "returns": {
                "devices": "$ref:Devices"
            }
        },
        "Devices.GetDiscoveredDevices": {
            "description": "Performs a device discovery and returns the results. This function may take a while to return. Note that this method will include all the found devices, that is, including devices that already have been added. Those devices will have deviceId set to the device id of the already added device. Such results may be used to reconfigure existing devices and might be filtered in cases where only unknown devices are of interest.",
            "params": {
                "deviceClassId": "Uuid",
                "o:discoveryParams": "$ref:ParamList"
            },
            "returns": {
                "deviceError": "$ref:DeviceError",
                "o:deviceDescriptors": "$ref:DeviceDescriptors",
                "o:displayMessage": "String"
            }
        },
        "Devices.GetEventTypes": {
            "description": "Get event types for a specified deviceClassId.",
            "params": {
                "deviceClassId": "Uuid"
            },
            "returns": {
                "eventTypes": "$ref:EventTypes"
            }
        },
        "Devices.GetPluginConfiguration": {
            "description": "Get a plugin's params.",
            "params": {
                "pluginId": "Uuid"
            },
            "returns": {
                "deviceError": "$ref:DeviceError",
                "o:configuration": "$ref:ParamList"
            }
        },
        "Devices.GetPlugins": {
            "description": "Returns a list of loaded plugins.",
            "params": {
            },
            "returns": {
                "plugins": "$ref:DevicePlugins"
            }
        },
        "Devices.GetStateTypes": {
            "description": "Get state types for a specified deviceClassId.",
            "params": {
                "deviceClassId": "Uuid"
            },
            "returns": {
                "stateTypes": "$ref:StateTypes"
            }
        },
        "Devices.GetStateValue": {
            "description": "Get the value of the given device and the given stateType",
            "params": {
                "deviceId": "Uuid",
                "stateTypeId": "Uuid"
            },
            "returns": {
                "deviceError": "$ref:DeviceError",
                "o:value": "Variant"
            }
        },
        "Devices.GetStateValues": {
            "description": "Get all the state values of the given device.",
            "params": {
                "deviceId": "Uuid"
            },
            "returns": {
                "deviceError": "$ref:DeviceError",
                "o:values": "$ref:States"
            }
        },
        "Devices.GetSupportedDevices": {
            "description": "Returns a list of supported Device classes, optionally filtered by vendorId.",
            "params": {
                "o:vendorId": "Uuid"
            },
            "returns": {
                "deviceClasses": "$ref:DeviceClasses"
            }
        },
        "Devices.GetSupportedVendors": {
            "description": "Returns a list of supported Vendors.",
            "params": {
            },
            "returns": {
                "vendors": "$ref:Vendors"
            }
        },
        "Devices.PairDevice": {
            "description": "Pair a device. Use this to set up or reconfigure devices for DeviceClasses with a setupMethod different than SetupMethodJustAdd. Depending on the CreateMethod and whether a new devices is set up or an existing one is reconfigured, different parameters are required:\nCreateMethodJustAdd takes the deviceClassId and the parameters to be used with that device. If an existing device should be reconfigured, the deviceId of said device should be given additionally.\nCreateMethodDiscovery requires the use of a deviceDescriptorId, previously obtained with DiscoverDevices. Optionally, parameters can be overridden with the give deviceParams. DeviceDescriptors containing a deviceId will reconfigure that device, descriptors without deviceId will add a new one.\nIf success is true, the return values will contain a pairingTransactionId, a displayMessage and the setupMethod. Depending on the setupMethod, the application should present the use an appropriate login mask, that is, For SetupMethodDisplayPin the user should enter a pin that is displayed on the device, for SetupMethodEnterPin the application should present the given PIN so the user can enter it on the device. For SetupMethodPushButton, the displayMessage shall be presented to the user as informational hints to press a button on the device. For SetupMethodUserAndPassword a login mask for a user and password login should be presented to the user. In case of SetupMethodOAuth, an OAuth URL will be returned which shall be opened in a web view to allow the user logging in.\nOnce the login procedure has completed, the application shall proceed with ConfirmPairing, providing the results of the pairing procedure.",
            "params": {
                "o:deviceClassId": "Uuid",
                "o:deviceDescriptorId": "Uuid",
                "o:deviceId": "Uuid",
                "o:deviceParams": "$ref:ParamList",
                "o:name": "String"
            },
            "returns": {
                "deviceError": "$ref:DeviceError",
                "o:displayMessage": "String",
                "o:oAuthUrl": "String",
                "o:pairingTransactionId": "Uuid",
                "o:pin": "String",
                "o:setupMethod": "$ref:SetupMethod"
            }
        },
        "Devices.ReconfigureDevice": {
            "description": "Reconfigure a device. This comes down to removing and recreating a device with new parameters but keeping its device id the same (and with that keeping rules, tags etc). For devices with create method CreateMethodDiscovery, a discovery (GetDiscoveredDevices) shall be performed first and this method is to be called with a deviceDescriptorId of the re-discovered device instead of the deviceId directly. Device parameters will be taken from the discovery, but can be overridden individually here by providing them in the deviceParams parameter. Only writable parameters can be changed.",
            "params": {
                "o:deviceDescriptorId": "Uuid",
                "o:deviceId": "Uuid",
                "o:deviceParams": "$ref:ParamList"
            },
            "returns": {
                "deviceError": "$ref:DeviceError",
                "o:displayMessage": "String"
            }
        },
        "Devices.RemoveConfiguredDevice": {
            "description": "Remove a device from the system.",
            "params": {
                "deviceId": "Uuid",
                "o:removePolicy": "$ref:RemovePolicy",
                "o:removePolicyList": [
                    {
                        "policy": "$ref:RemovePolicy",
                        "ruleId": "Uuid"
                    }
                ]
            },
            "returns": {
                "deviceError": "$ref:DeviceError",
                "o:ruleIds": [
                    "Uuid"
                ]
            }
        },
        "Devices.SetDeviceSettings": {
            "description": "Change the settings of a device.",
            "params": {
                "deviceId": "Uuid",
                "settings": "$ref:ParamList"
            },
            "returns": {
                "deviceError": "$ref:DeviceError"
            }
        },
        "Devices.SetPluginConfiguration": {
            "description": "Set a plugin's params.",
            "params": {
                "configuration": "$ref:ParamList",
                "pluginId": "Uuid"
            },
            "returns": {
                "deviceError": "$ref:DeviceError"
            }
        },
        "Events.GetEventType": {
            "deprecated": "Please use the Devices namespace instead.",
            "description": "Get the EventType for the given eventTypeId.",
            "params": {
                "eventTypeId": "Uuid"
            },
            "returns": {
                "deviceError": "$ref:DeviceError",
                "o:eventType": "$ref:EventType"
            }
        },
        "Integrations.AddThing": {
            "description": "Add a new thing to the system. Only things with a setupMethod of SetupMethodJustAdd can be added this way. For things with a setupMethod different than SetupMethodJustAdd, use PairThing. Things with CreateMethodJustAdd require all parameters to be supplied here. Things with CreateMethodDiscovery require the use of a thingDescriptorId. For discovered things, params are not required and will be taken from the ThingDescriptor, however, they may be overridden by supplying thingParams.",
            "params": {
                "name": "String",
                "o:thingDescriptorId": "Uuid",
                "o:thingParams": "$ref:ParamList",
                "thingClassId": "Uuid"
            },
            "returns": {
                "o:displayMessage": "String",
                "o:thingId": "Uuid",
                "thingError": "$ref:ThingError"
            }
        },
        "Integrations.BrowseThing": {
            "description": "Browse a thing. If a ThingClass indicates a thing is browsable, this method will return the BrowserItems. If no parameter besides the thingId is used, the root node of this thingwill be returned. Any returned item which is browsable can be passed as node. Results will be children of the given node.\nIn case of an error during browsing, the error will be indicated and the displayMessage may contain additional information for the user. The displayMessage will be translated. A client UI showing this message to the user should be prepared for empty, but also longer strings.",
            "params": {
                "o:itemId": "String",
                "thingId": "Uuid"
            },
            "returns": {
                "items": [
                    "$ref:BrowserItem"
                ],
                "o:displayMessage": "String",
                "thingError": "$ref:ThingError"
            }
        },
        "Integrations.ConfirmPairing": {
            "description": "Confirm an ongoing pairing. For SetupMethodUserAndPassword, provide the username in the \"username\" field and the password in the \"secret\" field. For SetupMethodEnterPin and provide the PIN in the \"secret\" field. In case of SetupMethodOAuth, the previously opened web view will eventually be redirected to http://128.0.0.1:8888 and the OAuth code as query parameters to this url. Provide the entire unmodified URL in the secret field.",
            "params": {
                "o:secret": "String",
                "o:username": "String",
                "pairingTransactionId": "Uuid"
            },
            "returns": {
                "o:displayMessage": "String",
                "o:thingId": "Uuid",
                "thingError": "$ref:ThingError"
            }
        },
        "Integrations.ConnectIO": {
            "description": "Connect two generic IO states. Input and output need to be compatible, that is, either a digital input and a digital output, or an analog input and an analog output. If successful, the connectionId will be returned.",
            "params": {
                "inputStateTypeId": "Uuid",
                "inputThingId": "Uuid",
                "o:inverted": "Bool",
                "outputStateTypeId": "Uuid",
                "outputThingId": "Uuid"
            },
            "returns": {
                "o:ioConnectionId": "Uuid",
                "thingError": "$ref:ThingError"
            }
        },
        "Integrations.DisconnectIO": {
            "description": "Disconnect an existing IO connection.",
            "params": {
                "ioConnectionId": "Uuid"
            },
            "returns": {
                "thingError": "$ref:ThingError"
            }
        },
        "Integrations.DiscoverThings": {
            "description": "Performs a thing discovery for things of the given thingClassId and returns the results. This function may take a while to return. Note that this method will include all the found things, that is, including things that may already have been added. Those things will have thingId set to the id of the already added thing. Such results may be used to reconfigure existing things and might be filtered in cases where only unknown things are of interest.",
            "params": {
                "o:discoveryParams": "$ref:ParamList",
                "thingClassId": "Uuid"
            },
            "returns": {
                "o:displayMessage": "String",
                "o:thingDescriptors": "$ref:ThingDescriptors",
                "thingError": "$ref:ThingError"
            }
        },
        "Integrations.EditThing": {
            "description": "Edit the name of a thing.",
            "params": {
                "name": "String",
                "thingId": "Uuid"
            },
            "returns": {
                "thingError": "$ref:ThingError"
            }
        },
        "Integrations.ExecuteAction": {
            "description": "Execute a single action.",
            "params": {
                "actionTypeId": "Uuid",
                "o:params": "$ref:ParamList",
                "thingId": "Uuid"
            },
            "returns": {
                "o:displayMessage": "String",
                "thingError": "$ref:ThingError"
            }
        },
        "Integrations.ExecuteBrowserItem": {
            "description": "Execute the item identified by itemId on the given thing.\nIn case of an error during execution, the error will be indicated and the displayMessage may contain additional information for the user. The displayMessage will be translated. A client UI showing this message to the user should be prepared for empty, but also longer strings.",
            "params": {
                "itemId": "String",
                "thingId": "Uuid"
            },
            "returns": {
                "o:displayMessage": "String",
                "thingError": "$ref:ThingError"
            }
        },
        "Integrations.ExecuteBrowserItemAction": {
            "description": "Execute the action for the browser item identified by actionTypeId and the itemId on the given thing.\nIn case of an error during execution, the error will be indicated and the displayMessage may contain additional information for the user. The displayMessage will be translated. A client UI showing this message to the user should be prepared for empty, but also longer strings.",
            "params": {
                "actionTypeId": "Uuid",
                "itemId": "String",
                "o:params": "$ref:ParamList",
                "thingId": "Uuid"
            },
            "returns": {
                "o:displayMessage": "String",
                "thingError": "$ref:ThingError"
            }
        },
        "Integrations.GetActionTypes": {
            "description": "Get action types for a specified thingClassId.",
            "params": {
                "thingClassId": "Uuid"
            },
            "returns": {
                "actionTypes": "$ref:ActionTypes"
            }
        },
        "Integrations.GetBrowserItem": {
            "description": "Get a single item from the browser. This won't give any more info on an item than a regular BrowseThing call, but it allows to fetch details of an item if only the ID is known.\nIn case of an error during browsing, the error will be indicated and the displayMessage may contain additional information for the user. The displayMessage will be translated. A client UI showing this message to the user should be prepared for empty, but also longer strings.",
            "params": {
                "o:itemId": "String",
                "thingId": "Uuid"
            },
            "returns": {
                "o:displayMessage": "String",
                "o:item": "$ref:BrowserItem",
                "thingError": "$ref:ThingError"
            }
        },
        "Integrations.GetEventTypes": {
            "description": "Get event types for a specified thingClassId.",
            "params": {
                "thingClassId": "Uuid"
            },
            "returns": {
                "eventTypes": "$ref:EventTypes"
            }
        },
        "Integrations.GetIOConnections": {
            "description": "Fetch IO connections. Optionally filtered by thingId and stateTypeId.",
            "params": {
                "o:thingId": "Uuid"
            },
            "returns": {
                "ioConnections": "$ref:IOConnections"
            }
        },
        "Integrations.GetPluginConfiguration": {
            "description": "Get a plugin's params.",
            "params": {
                "pluginId": "Uuid"
            },
            "returns": {
                "o:configuration": "$ref:ParamList",
                "thingError": "$ref:ThingError"
            }
        },
        "Integrations.GetPlugins": {
            "description": "Returns a list of loaded plugins.",
            "params": {
            },
            "returns": {
                "plugins": "$ref:IntegrationPlugins"
            }
        },
        "Integrations.GetStateTypes": {
            "description": "Get state types for a specified thingClassId.",
            "params": {
                "thingClassId": "Uuid"
            },
            "returns": {
                "stateTypes": "$ref:StateTypes"
            }
        },
        "Integrations.GetStateValue": {
            "description": "Get the value of the given thing and the given stateType",
            "params": {
                "stateTypeId": "Uuid",
                "thingId": "Uuid"
            },
            "returns": {
                "o:value": "Variant",
                "thingError": "$ref:ThingError"
            }
        },
        "Integrations.GetStateValues": {
            "description": "Get all the state values of the given thing.",
            "params": {
                "thingId": "Uuid"
            },
            "returns": {
                "o:values": "$ref:States",
                "thingError": "$ref:ThingError"
            }
        },
        "Integrations.GetThingClasses": {
            "description": "Returns a list of supported thing classes, optionally filtered by vendorId or by a list of thing class ids.",
            "params": {
                "o:thingClassIds": [
                    "Uuid"
                ],
                "o:vendorId": "Uuid"
            },
            "returns": {
                "o:thingClasses": "$ref:ThingClasses",
                "thingError": "$ref:ThingError"
            }
        },
        "Integrations.GetThings": {
            "description": "Returns a list of configured things, optionally filtered by thingId.",
            "params": {
                "o:thingId": "Uuid"
            },
            "returns": {
                "o:things": "$ref:Things",
                "thingError": "$ref:ThingError"
            }
        },
        "Integrations.GetVendors": {
            "description": "Returns a list of supported Vendors.",
            "params": {
            },
            "returns": {
                "vendors": "$ref:Vendors"
            }
        },
        "Integrations.PairThing": {
            "description": "Pair a new thing. Use this to set up or reconfigure things for ThingClasses with a setupMethod different than SetupMethodJustAdd. Depending on the CreateMethod and whether a new thing is set up or an existing one is reconfigured, different parameters are required:\nCreateMethodJustAdd takes the thingClassId and the parameters you want to have with that thing. If an existing thing should be reconfigured, the thingId of said thing should be given additionally.\nCreateMethodDiscovery requires the use of a thingDescriptorId, previously obtained with DiscoverThings. Optionally, parameters can be overridden with the give thingParams. ThingDescriptors containing a thingId will reconfigure an existing thing, descriptors without a thingId will add a new thing to the system.\nIf success is true, the return values will contain a pairingTransactionId, a displayMessage and the setupMethod. Depending on the setupMethod, the application should present the use an appropriate login mask, that is, For SetupMethodDisplayPin the user should enter a pin that is displayed on the device or online service, for SetupMethodEnterPin the application should present the given PIN so the user can enter it on the device or online service. For SetupMethodPushButton, the displayMessage shall be presented to the user as informational hints to press a button on the device. For SetupMethodUserAndPassword a login mask for a user and password login should be presented to the user. In case of SetupMethodOAuth, an OAuth URL will be returned which shall be opened in a web view to allow the user logging in.\nOnce the login procedure has completed, the application shall proceed with ConfirmPairing, providing the results of the pairing procedure.",
            "params": {
                "o:name": "String",
                "o:thingClassId": "Uuid",
                "o:thingDescriptorId": "Uuid",
                "o:thingId": "Uuid",
                "o:thingParams": "$ref:ParamList"
            },
            "returns": {
                "o:displayMessage": "String",
                "o:oAuthUrl": "String",
                "o:pairingTransactionId": "Uuid",
                "o:pin": "String",
                "o:setupMethod": "$ref:SetupMethod",
                "thingError": "$ref:ThingError"
            }
        },
        "Integrations.ReconfigureThing": {
            "description": "Reconfigure a thing. This comes down to removing and recreating a thing with new parameters but keeping its thing id the same (and with that keeping rules, tags etc). For things with create method CreateMethodDiscovery, a discovery (DiscoverThings) shall be performed first and this method is to be called with a thingDescriptorId of the re-discovered thing instead of the thingId directly. Thing parameters will be taken from the discovery, but can be overridden individually here by providing them in the thingParams parameter. Only writable parameters can be changed.",
            "params": {
                "o:thingDescriptorId": "Uuid",
                "o:thingId": "Uuid",
                "o:thingParams": "$ref:ParamList"
            },
            "returns": {
                "o:displayMessage": "String",
                "thingError": "$ref:ThingError"
            }
        },
        "Integrations.RemoveThing": {
            "description": "Remove a thing from the system.",
            "params": {
                "o:removePolicy": "$ref:RemovePolicy",
                "o:removePolicyList": [
                    {
                        "policy": "$ref:RemovePolicy",
                        "ruleId": "Uuid"
                    }
                ],
                "thingId": "Uuid"
            },
            "returns": {
                "o:ruleIds": [
                    "Uuid"
                ],
                "thingError": "$ref:ThingError"
            }
        },
        "Integrations.SetEventLogging": {
            "description": "Enable/disable logging for the given event type on the given thing.",
            "params": {
                "enabled": "Bool",
                "eventTypeId": "Uuid",
                "thingId": "Uuid"
            },
            "returns": {
                "thingError": "$ref:ThingError"
            }
        },
        "Integrations.SetPluginConfiguration": {
            "description": "Set a plugin's params.",
            "params": {
                "configuration": "$ref:ParamList",
                "pluginId": "Uuid"
            },
            "returns": {
                "thingError": "$ref:ThingError"
            }
        },
        "Integrations.SetStateFilter": {
            "description": "Set the filter for the given state on the given thing.",
            "params": {
                "filter": "$ref:StateValueFilter",
                "stateTypeId": "Uuid",
                "thingId": "Uuid"
            },
            "returns": {
                "thingError": "$ref:ThingError"
            }
        },
        "Integrations.SetThingSettings": {
            "description": "Change the settings of a thing.",
            "params": {
                "settings": "$ref:ParamList",
                "thingId": "Uuid"
            },
            "returns": {
                "thingError": "$ref:ThingError"
            }
        },
        "JSONRPC.Authenticate": {
            "deprecated": "Use Users.Authenticate instead.",
            "description": "Authenticate a client to the api via user & password challenge. Provide a device name which allows the user to identify the client and revoke the token in case the device is lost or stolen. This will return a new token to be used to authorize a client at the API.",
            "params": {
                "deviceName": "String",
                "password": "String",
                "username": "String"
            },
            "returns": {
                "o:token": "String",
                "success": "Bool"
            }
        },
        "JSONRPC.CreateUser": {
            "deprecated": "Use Users.CreateUser instead.",
            "description": "Create a new user in the API. Currently this is only allowed to be called once when a new nymea instance is set up. Call Authenticate after this to obtain a device token for this user.",
            "params": {
                "password": "String",
                "username": "String"
            },
            "returns": {
                "error": "$ref:UserError"
            }
        },
        "JSONRPC.Hello": {
            "description": "Initiates a connection. Use this method to perform an initial handshake of the connection. Optionally, a parameter \"locale\" is can be passed to set up the used locale for this connection. Strings such as ThingClass displayNames etc will be localized to this locale. If this parameter is omitted, the default system locale (depending on the configuration) is used. The reply of this method contains information about this core instance such as version information, uuid and its name. The locale valueindicates the locale used for this connection. Note: This method can be called multiple times. The locale used in the last call for this connection will be used. Other values, like initialSetupRequired might change if the setup has been performed in the meantime.\n The field cacheHashes may contain a map of methods and MD5 hashes. As long as the hash for a method does not change, a client may use a previously cached copy of the call instead of fetching the content again.",
            "params": {
                "o:locale": "String"
            },
            "returns": {
                "authenticationRequired": "Bool",
                "initialSetupRequired": "Bool",
                "language": "String",
                "locale": "String",
                "name": "String",
                "o:cacheHashes": [
                    "$ref:CacheHash"
                ],
                "o:experiences": [
                    "$ref:Experience"
                ],
                "protocol version": "String",
                "pushButtonAuthAvailable": "Bool",
                "server": "String",
                "uuid": "Uuid",
                "version": "String"
            }
        },
        "JSONRPC.Introspect": {
            "description": "Introspect this API.",
            "params": {
            },
            "returns": {
                "methods": "Object",
                "notifications": "Object",
                "types": "Object"
            }
        },
        "JSONRPC.IsCloudConnected": {
            "description": "Check whether the cloud is currently connected. \"connected\" will be true whenever connectionState equals CloudConnectionStateConnected and is deprecated. Please use the connectionState value instead.",
            "params": {
            },
            "returns": {
                "connectionState": "$ref:CloudConnectionState",
                "d:connected": "Bool"
            }
        },
        "JSONRPC.KeepAlive": {
            "description": "This is basically a Ping/Pong mechanism a client app may use to check server connectivity. Currently, the server does not actually do anything with this information and will return the call providing the given sessionId back to the caller. It is up to the client whether to use this or not and not required by the server to keep the connection alive.",
            "params": {
                "sessionId": "String"
            },
            "returns": {
                "sessionId": "String",
                "success": "Bool"
            }
        },
        "JSONRPC.RemoveToken": {
            "deprecated": "Use Users.RemoveToken instead.",
            "description": "Revoke access for a given token.",
            "params": {
                "tokenId": "Uuid"
            },
            "returns": {
                "error": "$ref:UserError"
            }
        },
        "JSONRPC.RequestPushButtonAuth": {
            "deprecated": "Use Users.RequestPushButtonAuth instead.",
            "description": "Authenticate a client to the api via Push Button method. Provide a device name which allows the user to identify the client and revoke the token in case the device is lost or stolen. If push button hardware is available, this will return with success and start listening for push button presses. When the push button is pressed, the PushButtonAuthFinished notification will be sent to the requesting client. The procedure will be cancelled when the connection is interrupted. If another client requests push button authentication while a procedure is still going on, the second call will take over and the first one will be notified by the PushButtonAuthFinished signal about the error. The application should make it clear to the user to not press the button when the procedure fails as this can happen for 2 reasons: a) a second user is trying to auth at the same time and only the currently active user should press the button or b) it might indicate an attacker trying to take over and snooping in for tokens.",
            "params": {
                "deviceName": "String"
            },
            "returns": {
                "success": "Bool",
                "transactionId": "Int"
            }
        },
        "JSONRPC.SetNotificationStatus": {
            "description": "Enable/Disable notifications for this connections. Either \"enabled\" or \"namespaces\" needs to be given but not both of them. The boolean based \"enabled\" parameter will enable/disable all notifications at once. If instead the list-based \"namespaces\" parameter is provided, all given namespaceswill be enabled, the others will be disabled. The return value of \"success\" will indicate success of the operation. The \"enabled\" property in the return value is deprecated and used for legacy compatibilty only. It will be set to true if at least one namespace has been enabled.",
            "params": {
                "d:o:enabled": "Bool",
                "o:namespaces": "StringList"
            },
            "returns": {
                "d:enabled": "Bool",
                "namespaces": "StringList"
            }
        },
        "JSONRPC.SetupCloudConnection": {
            "description": "Sets up the cloud connection by deploying a certificate and its configuration.",
            "params": {
                "certificatePEM": "String",
                "endpoint": "String",
                "privateKey": "String",
                "publicKey": "String",
                "rootCA": "String"
            },
            "returns": {
                "success": "Bool"
            }
        },
        "JSONRPC.SetupRemoteAccess": {
            "description": "Setup the remote connection by providing AWS token information. This requires the cloud to be connected.",
            "params": {
                "idToken": "String",
                "userId": "String"
            },
            "returns": {
                "message": "String",
                "status": "Int"
            }
        },
        "JSONRPC.Tokens": {
            "deprecated": "Use Users.GetTokens instead.",
            "description": "Return a list of TokenInfo objects of all the tokens for the current user.",
            "params": {
            },
            "returns": {
                "tokenInfoList": [
                    "$ref:TokenInfo"
                ]
            }
        },
        "JSONRPC.Version": {
            "description": "Version of this nymea/JSONRPC interface.",
            "params": {
            },
            "returns": {
                "protocol version": "String",
                "qtBuildVersion": "String",
                "qtVersion": "String",
                "version": "String"
            }
        },
        "Logging.GetLogEntries": {
            "description": "Get the LogEntries matching the given filter. The result set will contain entries matching all filter rules combined. If multiple options are given for a single filter type, the result set will contain entries matching any of those. The offset starts at the newest entry in the result set. By default all items are returned. Example: If the specified filter returns a total amount of 100 entries:\n- a offset value of 10 would include the oldest 90 entries\n- a offset value of 0 would return all 100 entries\n\nThe offset is particularly useful in combination with the maxCount property and can be used for pagination. E.g. A result set of 10000 entries can be fetched in  batches of 1000 entries by fetching\n1) offset 0, maxCount 1000: Entries 0 to 9999\n2) offset 10000, maxCount 1000: Entries 10000 - 19999\n3) offset 20000, maxCount 1000: Entries 20000 - 29999\n...",
            "params": {
                "d:o:deviceIds": [
                    "Uuid"
                ],
                "o:eventTypes": [
                    "$ref:LoggingEventType"
                ],
                "o:limit": "Int",
                "o:loggingLevels": [
                    "$ref:LoggingLevel"
                ],
                "o:loggingSources": [
                    "$ref:LoggingSource"
                ],
                "o:offset": "Int",
                "o:thingIds": [
                    "Uuid"
                ],
                "o:timeFilters": [
                    {
                        "o:endDate": "Int",
                        "o:startDate": "Int"
                    }
                ],
                "o:typeIds": [
                    "Uuid"
                ],
                "o:values": [
                    "Variant"
                ]
            },
            "returns": {
                "count": "Int",
                "loggingError": "$ref:LoggingError",
                "o:logEntries": "$ref:LogEntries",
                "offset": "Int"
            }
        },
        "ModbusRtu.AddModbusRtuMaster": {
            "description": "Add a new modbus RTU master with the given configuration. The timeout value is in milli seconds and the minimum value is 10 ms.",
            "params": {
                "baudrate": "Uint",
                "dataBits": "$ref:SerialPortDataBits",
                "numberOfRetries": "Uint",
                "parity": "$ref:SerialPortParity",
                "serialPort": "String",
                "stopBits": "$ref:SerialPortStopBits",
                "timeout": "Uint"
            },
            "returns": {
                "modbusError": "$ref:ModbusRtuError",
                "o:modbusUuid": "Uuid"
            }
        },
        "ModbusRtu.GetModbusRtuMasters": {
            "description": "Get the list of configured modbus RTU masters.",
            "params": {
            },
            "returns": {
                "modbusError": "$ref:ModbusRtuError",
                "o:modbusRtuMasters": [
                    "$ref:ModbusRtuMaster"
                ]
            }
        },
        "ModbusRtu.GetSerialPorts": {
            "description": "Get the list of available serial ports from the host system.",
            "params": {
            },
            "returns": {
                "serialPorts": "$ref:SerialPorts"
            }
        },
        "ModbusRtu.ReconfigureModbusRtuMaster": {
            "description": "Reconfigure the modbus RTU master with the given UUID and configuration.",
            "params": {
                "baudrate": "Uint",
                "dataBits": "$ref:SerialPortDataBits",
                "modbusUuid": "Uuid",
                "numberOfRetries": "Uint",
                "parity": "$ref:SerialPortParity",
                "serialPort": "String",
                "stopBits": "$ref:SerialPortStopBits",
                "timeout": "Uint"
            },
            "returns": {
                "modbusError": "$ref:ModbusRtuError"
            }
        },
        "ModbusRtu.RemoveModbusRtuMaster": {
            "description": "Remove the modbus RTU master with the given modbus UUID.",
            "params": {
                "modbusUuid": "Uuid"
            },
            "returns": {
                "modbusError": "$ref:ModbusRtuError"
            }
        },
        "NetworkManager.ConnectWifiNetwork": {
            "description": "Connect to the wifi network with the given ssid and password.",
            "params": {
                "interface": "String",
                "o:password": "String",
                "ssid": "String"
            },
            "returns": {
                "networkManagerError": "$ref:NetworkManagerError"
            }
        },
        "NetworkManager.DisconnectInterface": {
            "description": "Disconnect the given network interface. The interface will remain disconnected until the user connect it again.",
            "params": {
                "interface": "String"
            },
            "returns": {
                "networkManagerError": "$ref:NetworkManagerError"
            }
        },
        "NetworkManager.EnableNetworking": {
            "description": "Enable or disable networking in the NetworkManager.",
            "params": {
                "enable": "Bool"
            },
            "returns": {
                "networkManagerError": "$ref:NetworkManagerError"
            }
        },
        "NetworkManager.EnableWirelessNetworking": {
            "description": "Enable or disable wireless networking in the NetworkManager.",
            "params": {
                "enable": "Bool"
            },
            "returns": {
                "networkManagerError": "$ref:NetworkManagerError"
            }
        },
        "NetworkManager.GetNetworkDevices": {
            "description": "Get the list of current network devices.",
            "params": {
            },
            "returns": {
                "networkManagerError": "$ref:NetworkManagerError",
                "o:wiredNetworkDevices": [
                    "$ref:WiredNetworkDevice"
                ],
                "o:wirelessNetworkDevices": [
                    "$ref:WirelessNetworkDevice"
                ]
            }
        },
        "NetworkManager.GetNetworkStatus": {
            "description": "Get the current network manager status.",
            "params": {
            },
            "returns": {
                "networkManagerError": "$ref:NetworkManagerError",
                "o:status": {
                    "networkingEnabled": "Bool",
                    "state": "$ref:NetworkManagerState",
                    "wirelessNetworkingEnabled": "Bool"
                }
            }
        },
        "NetworkManager.GetWirelessAccessPoints": {
            "description": "Get the current list of wireless network access points for the given interface. The interface has to be a WirelessNetworkDevice.",
            "params": {
                "interface": "String"
            },
            "returns": {
                "networkManagerError": "$ref:NetworkManagerError",
                "o:wirelessAccessPoints": [
                    "$ref:WirelessAccessPoint"
                ]
            }
        },
        "NetworkManager.ScanWifiNetworks": {
            "description": "Start a wifi scan for searching new networks.",
            "params": {
                "interface": "String"
            },
            "returns": {
                "networkManagerError": "$ref:NetworkManagerError"
            }
        },
        "NetworkManager.StartAccessPoint": {
            "description": "Start a WiFi Access point on the given interface with the given SSID and password. Use DisconnectInterface to stop it again.",
            "params": {
                "interface": "String",
                "password": "String",
                "ssid": "String"
            },
            "returns": {
                "networkManagerError": "$ref:NetworkManagerError"
            }
        },
        "Rules.AddRule": {
            "description": "Add a rule. You can describe rules by one or many EventDesciptors and a StateEvaluator. Note that only one of either eventDescriptor or eventDescriptorList may be passed at a time. A rule can be created but left disabled, meaning it won't actually be executed until set to enabled. If not given, enabled defaults to true. A rule can have a list of actions and exitActions. It must have at least one Action. For state based rules, actions will be executed when the system enters a state matching the stateDescriptor. The exitActions will be executed when the system leaves the described state again. For event based rules, actions will be executed when a matching event happens and if the stateEvaluator matches the system's state. ExitActions for such rules will be executed when a matching event happens and the stateEvaluator is not matching the system's state. A rule marked as executable can be executed via the API using Rules.ExecuteRule, that means, its actions will be executed regardless of the eventDescriptor and stateEvaluators.",
            "params": {
                "actions": [
                    "$ref:RuleAction"
                ],
                "name": "String",
                "o:enabled": "Bool",
                "o:eventDescriptors": [
                    "$ref:EventDescriptor"
                ],
                "o:executable": "Bool",
                "o:exitActions": [
                    "$ref:RuleAction"
                ],
                "o:stateEvaluator": "$ref:StateEvaluator",
                "o:timeDescriptor": "$ref:TimeDescriptor"
            },
            "returns": {
                "o:ruleId": "Uuid",
                "ruleError": "$ref:RuleError"
            }
        },
        "Rules.DisableRule": {
            "description": "Disable a rule. The rule won't be triggered by it's events or state changes while it is disabled. If successful, the notification \"Rule.RuleConfigurationChanged\" will be emitted.",
            "params": {
                "ruleId": "Uuid"
            },
            "returns": {
                "ruleError": "$ref:RuleError"
            }
        },
        "Rules.EditRule": {
            "description": "Edit the parameters of a rule. The configuration of the rule with the given ruleId will be replaced with the new given configuration. In ordert to enable or disable a Rule, please use the methods \"Rules.EnableRule\" and \"Rules.DisableRule\". If successful, the notification \"Rule.RuleConfigurationChanged\" will be emitted.",
            "params": {
                "actions": [
                    "$ref:RuleAction"
                ],
                "name": "String",
                "o:enabled": "Bool",
                "o:eventDescriptors": [
                    "$ref:EventDescriptor"
                ],
                "o:executable": "Bool",
                "o:exitActions": [
                    "$ref:RuleAction"
                ],
                "o:stateEvaluator": "$ref:StateEvaluator",
                "o:timeDescriptor": "$ref:TimeDescriptor",
                "ruleId": "Uuid"
            },
            "returns": {
                "o:rule": "$ref:Rule",
                "ruleError": "$ref:RuleError"
            }
        },
        "Rules.EnableRule": {
            "description": "Enabled a rule that has previously been disabled.If successful, the notification \"Rule.RuleConfigurationChanged\" will be emitted.",
            "params": {
                "ruleId": "Uuid"
            },
            "returns": {
                "ruleError": "$ref:RuleError"
            }
        },
        "Rules.ExecuteActions": {
            "description": "Execute the action list of the rule with the given ruleId.",
            "params": {
                "ruleId": "Uuid"
            },
            "returns": {
                "ruleError": "$ref:RuleError"
            }
        },
        "Rules.ExecuteExitActions": {
            "description": "Execute the exit action list of the rule with the given ruleId.",
            "params": {
                "ruleId": "Uuid"
            },
            "returns": {
                "ruleError": "$ref:RuleError"
            }
        },
        "Rules.FindRules": {
            "description": "Find a list of rules containing any of the given parameters.",
            "params": {
                "d:o:deviceId": "Uuid",
                "o:thingId": "Uuid"
            },
            "returns": {
                "ruleIds": [
                    "Uuid"
                ]
            }
        },
        "Rules.GetRuleDetails": {
            "description": "Get details for the rule identified by ruleId",
            "params": {
                "ruleId": "Uuid"
            },
            "returns": {
                "o:rule": "$ref:Rule",
                "ruleError": "$ref:RuleError"
            }
        },
        "Rules.GetRules": {
            "description": "Get the descriptions of all configured rules. If you need more information about a specific rule use the method Rules.GetRuleDetails.",
            "params": {
            },
            "returns": {
                "ruleDescriptions": [
                    "$ref:RuleDescription"
                ]
            }
        },
        "Rules.RemoveRule": {
            "description": "Remove a rule",
            "params": {
                "ruleId": "Uuid"
            },
            "returns": {
                "ruleError": "$ref:RuleError"
            }
        },
        "Scripts.AddScript": {
            "description": "Add a script",
            "params": {
                "content": "String",
                "name": "String"
            },
            "returns": {
                "o:errors": "StringList",
                "o:script": "$ref:Script",
                "scriptError": "$ref:ScriptError"
            }
        },
        "Scripts.EditScript": {
            "description": "Edit a script",
            "params": {
                "id": "Uuid",
                "o:content": "String",
                "o:name": "String"
            },
            "returns": {
                "o:errors": "StringList",
                "scriptError": "$ref:ScriptError"
            }
        },
        "Scripts.GetScriptContent": {
            "description": "Get a scripts content.",
            "params": {
                "id": "Uuid"
            },
            "returns": {
                "o:content": "String",
                "scriptError": "$ref:ScriptError"
            }
        },
        "Scripts.GetScripts": {
            "description": "Get all script, that is, their names and properties, but no content.",
            "params": {
            },
            "returns": {
                "scripts": "$ref:Scripts"
            }
        },
        "Scripts.RemoveScript": {
            "description": "remove a script",
            "params": {
                "id": "Uuid"
            },
            "returns": {
                "scriptError": "$ref:ScriptError"
            }
        },
        "States.GetStateType": {
            "deprecated": "Please use the Integrations namespace instead.",
            "description": "Get the StateType for the given stateTypeId.",
            "params": {
                "stateTypeId": "Uuid"
            },
            "returns": {
                "deviceError": "$ref:DeviceError",
                "o:stateType": "$ref:StateType"
            }
        },
        "System.CheckForUpdates": {
            "description": "Instruct the system to poll the server for updates. Normally the system should automatically do this in regular intervals, however, if the client wants to allow the user to manually check for new updates now, this can be called. Returns true if the operation has been started successfully and the update manager will become busy. In order to know whether there are updates available, clients should walk through the list of packages retrieved from GetPackages and check whether there are packages with the updateAvailable flag set to true.",
            "params": {
            },
            "returns": {
                "success": "Bool"
            }
        },
        "System.EnableRepository": {
            "description": "Enable or disable a repository.",
            "params": {
                "enabled": "Bool",
                "repositoryId": "String"
            },
            "returns": {
                "success": "Bool"
            }
        },
        "System.GetCapabilities": {
            "description": "Get the list of capabilites on this system. The property \"powerManagement\" indicates whether restarting nymea and rebooting or shutting down is supported on this system. The property \"updateManagement indicates whether system update features are available in this system. The property \"timeManagement\" indicates whether the system time can be configured on this system. Note that GetTime will be available in any case.",
            "params": {
            },
            "returns": {
                "powerManagement": "Bool",
                "timeManagement": "Bool",
                "updateManagement": "Bool"
            }
        },
        "System.GetPackages": {
            "description": "Get the list of packages currently available to the system. This might include installed available but not installed packages. Installed packages will have the installedVersion set to a non-empty value.",
            "params": {
            },
            "returns": {
                "packages": "$ref:Packages"
            }
        },
        "System.GetRepositories": {
            "description": "Get the list of repositories currently available to the system.",
            "params": {
            },
            "returns": {
                "repositories": "$ref:Repositories"
            }
        },
        "System.GetSystemInfo": {
            "description": "Returns information about the system nymea is running on.",
            "params": {
            },
            "returns": {
                "deviceSerialNumber": "String"
            }
        },
        "System.GetTime": {
            "description": "Get the system time and configuraton. The \"time\" and \"timeZone\" properties give the current server time and time zone. \"automaticTimeAvailable\" indicates whether this system supports automatically setting the clock (e.g. using NTP). \"automaticTime\" will be true if the system is configured to automatically update the clock.",
            "params": {
            },
            "returns": {
                "automaticTime": "Bool",
                "automaticTimeAvailable": "Bool",
                "time": "Uint",
                "timeZone": "String"
            }
        },
        "System.GetTimeZones": {
            "description": "Returns the list of IANA specified time zone IDs which can be used to select a time zone. It is not required to use this method if the client toolkit already provides means to obtain a list of IANA time zone ids.",
            "params": {
            },
            "returns": {
                "timeZones": "StringList"
            }
        },
        "System.GetUpdateStatus": {
            "description": "Get the current status of the update system. \"busy\" indicates that the system is current busy with an operation regarding updates. This does not necessarily mean an actual update is running. When this is true, update related functions on the client should be marked as busy and no interaction with update components shall be allowed. An example for such a state is when the system queries the server if there are updates available, typically after a call to CheckForUpdates. \"updateRunning\" on the other hand indicates an actual update process is ongoing. The user should be informed about it, the system also might restart at any point while an update is running.",
            "params": {
            },
            "returns": {
                "busy": "Bool",
                "updateRunning": "Bool"
            }
        },
        "System.Reboot": {
            "description": "Initiate a reboot of the system. The return value will indicate whether the procedure has been initiated successfully.",
            "params": {
            },
            "returns": {
                "success": "Bool"
            }
        },
        "System.RemovePackages": {
            "description": "Starts removing a package. Returns true if the removal has been started successfully. Before calling this method, clients should check whether the package can be removed (canRemove set to true).",
            "params": {
                "packageIds": [
                    "String"
                ]
            },
            "returns": {
                "success": "Bool"
            }
        },
        "System.Restart": {
            "description": "Initiate a restart of the nymea service. The return value will indicate whether the procedure has been initiated successfully.",
            "params": {
            },
            "returns": {
                "success": "Bool"
            }
        },
        "System.RollbackPackages": {
            "description": "Starts a rollback. Returns true if the rollback has been started successfully. Before calling this method, clients should check whether the package can be rolled back (canRollback set to true).",
            "params": {
                "packageIds": [
                    "String"
                ]
            },
            "returns": {
                "success": "Bool"
            }
        },
        "System.SetTime": {
            "description": "Set the system time configuraton. The system can be configured to update the time automatically by setting \"automaticTime\" to true. This will only work if the \"timeManagement\" capability is available on this system and \"GetTime\" indicates the availability of automatic time settings. If any of those requirements are not met, this method will return \"false\" in the \"success\" property. In order to manually configure the time, \"automaticTime\" should be set to false and \"time\" should be set. Note that if \"automaticTime\" is set to true and a manual \"time\" is still passed, the system will attempt to configure automatic time updates and only set the manual time if automatic mode fails. A time zone can always be passed optionally to change the system time zone and should be a IANA time zone id.",
            "params": {
                "o:automaticTime": "Bool",
                "o:time": "Uint",
                "o:timeZone": "String"
            },
            "returns": {
                "success": "Bool"
            }
        },
        "System.Shutdown": {
            "description": "Initiate a shutdown of the system. The return value will indicate whether the procedure has been initiated successfully.",
            "params": {
            },
            "returns": {
                "success": "Bool"
            }
        },
        "System.UpdatePackages": {
            "description": "Starts updating/installing packages with the given ids. Returns true if the upgrade has been started successfully. Note that it might still fail later. Before calling this method, clients should check the packages whether they are in a state where they can either be installed (no installedVersion set) or upgraded (updateAvailable set to true).",
            "params": {
                "o:packageIds": [
                    "String"
                ]
            },
            "returns": {
                "success": "Bool"
            }
        },
        "Tags.AddTag": {
            "description": "Add a Tag. A Tag must have a thingId OR a ruleId (call this method twice if you want to attach the same tag to a thing and a rule), an appId (Use the appId of your app), a tagId (e.g. \"favorites\") and a value. Upon success, a TagAdded notification will be emitted. Calling this method twice for the same ids (thing/rule, appId and tagId) but with a different value will update the tag's value and the TagValueChanged notification will be emitted.",
            "params": {
                "tag": "$ref:Tag"
            },
            "returns": {
                "tagError": "$ref:TagError"
            }
        },
        "Tags.GetTags": {
            "description": "Get the Tags matching the given filter. Tags can be filtered by a thingID, a ruleId, an appId, a tagId or a combination of any (however, combining thingId and ruleId will return an empty result set).",
            "params": {
                "d:o:deviceId": "Uuid",
                "o:appId": "String",
                "o:ruleId": "Uuid",
                "o:tagId": "String",
                "o:thingId": "Uuid"
            },
            "returns": {
                "o:tags": "$ref:Tags",
                "tagError": "$ref:TagError"
            }
        },
        "Tags.RemoveTag": {
            "description": "Remove a Tag. Tag value is optional and will be disregarded. If the ids match, the tag will be deleted and a TagRemoved notification will be emitted.",
            "params": {
                "tag": "$ref:Tag"
            },
            "returns": {
                "tagError": "$ref:TagError"
            }
        },
        "Users.Authenticate": {
            "description": "Authenticate a client to the api via user & password challenge. Provide a device name which allows the user to identify the client and revoke the token in case the device is lost or stolen. This will return a new token to be used to authorize a client at the API.",
            "params": {
                "deviceName": "String",
                "password": "String",
                "username": "String"
            },
            "returns": {
                "o:token": "String",
                "success": "Bool"
            }
        },
        "Users.ChangePassword": {
            "description": "Change the password for the currently logged in user.",
            "params": {
                "newPassword": "String"
            },
            "returns": {
                "error": "$ref:UserError"
            }
        },
        "Users.CreateUser": {
            "description": "Create a new user in the API. Currently this is only allowed to be called once when a new nymea instance is set up. Call Authenticate after this to obtain a device token for this user.",
            "params": {
                "password": "String",
                "username": "String"
            },
            "returns": {
                "error": "$ref:UserError"
            }
        },
        "Users.GetTokens": {
            "description": "Get all the tokens for the current user.",
            "params": {
            },
            "returns": {
                "error": "$ref:UserError",
                "o:tokenInfoList": "$ref:TokenInfoList"
            }
        },
        "Users.GetUserInfo": {
            "description": "Get info about the current token (the currently logged in user).",
            "params": {
            },
            "returns": {
                "error": "$ref:UserError",
                "o:userInfo": "$ref:UserInfo"
            }
        },
        "Users.RemoveToken": {
            "description": "Revoke access for a given token.",
            "params": {
                "tokenId": "Uuid"
            },
            "returns": {
                "error": "$ref:UserError"
            }
        },
        "Users.RequestPushButtonAuth": {
            "description": "Authenticate a client to the api via Push Button method. Provide a device name which allows the user to identify the client and revoke the token in case the device is lost or stolen. If push button hardware is available, this will return with success and start listening for push button presses. When the push button is pressed, the PushButtonAuthFinished notification will be sent to the requesting client. The procedure will be cancelled when the connection is interrupted. If another client requests push button authentication while a procedure is still going on, the second call will take over and the first one will be notified by the PushButtonAuthFinished signal about the error. The application should make it clear to the user to not press the button when the procedure fails as this can happen for 2 reasons: a) a second user is trying to auth at the same time and only the currently active user should press the button or b) it might indicate an attacker trying to take over and snooping in for tokens.",
            "params": {
                "deviceName": "String"
            },
            "returns": {
                "success": "Bool",
                "transactionId": "Int"
            }
        },
        "Zigbee.AddNetwork": {
            "description": "Create a new ZigBee network for the given 'serialPort', 'baudRate' and 'backend'. The serial ports can be fetched from the available adapters. See 'GetAdapters' for more information. The available backends can be fetched using the 'GetAvailableBackends' method.",
            "params": {
                "backend": "String",
                "baudRate": "Uint",
                "o:channelMask": "Uint",
                "serialPort": "String"
            },
            "returns": {
                "o:networkUuid": "Uuid",
                "zigbeeError": "$ref:ZigbeeError"
            }
        },
        "Zigbee.FactoryResetNetwork": {
            "description": "Factory reset the network with the given 'networkUuid'. The network does not have to be online for this procedure, and all associated nodes and things will be removed permanently.",
            "params": {
                "networkUuid": "Uuid"
            },
            "returns": {
                "zigbeeError": "$ref:ZigbeeError"
            }
        },
        "Zigbee.GetAdapters": {
            "description": "Get the list of available ZigBee adapters and serial ports in order to set up the ZigBee network on the desired interface. The 'serialPort' property can be used as unique identifier for an adapter. If an adapter hardware has been recognized as a well known ZigBee adapter, the 'hardwareRecognized' property will be true and the 'baudRate' and 'backend' configurations can be used as they where given, otherwise the user might set the backend and baud rate manually. The available backends can be fetched using the GetAvailableBackends method.",
            "params": {
            },
            "returns": {
                "adapters": "$ref:ZigbeeAdapters"
            }
        },
        "Zigbee.GetAvailableBackends": {
            "description": "Get the list of available ZigBee backends.",
            "params": {
            },
            "returns": {
                "backends": [
                    "String"
                ]
            }
        },
        "Zigbee.GetNetworks": {
            "description": "Returns the list of configured ZigBee networks in the system.",
            "params": {
            },
            "returns": {
                "zigbeeNetworks": [
                    "$ref:ZigbeeNetwork"
                ]
            }
        },
        "Zigbee.GetNodes": {
            "description": "Returns the list of ZigBee nodes from the network the given 'networkUuid' in the system.",
            "params": {
                "networkUuid": "Uuid"
            },
            "returns": {
                "o:zigbeeNodes": [
                    "$ref:ZigbeeNode"
                ],
                "zigbeeError": "$ref:ZigbeeError"
            }
        },
        "Zigbee.RemoveNetwork": {
            "description": "Remove the ZigBee network with the given network uuid.",
            "params": {
                "networkUuid": "Uuid"
            },
            "returns": {
                "zigbeeError": "$ref:ZigbeeError"
            }
        },
        "Zigbee.RemoveNode": {
            "description": "Remove a ZigBee node with the given 'ieeeAddress' from the network with the given 'networkUuid'. If there is a thing configured for this node, also the thing will be removed from the system. The coordinator node cannot be removed.",
            "params": {
                "ieeeAddress": "String",
                "networkUuid": "Uuid"
            },
            "returns": {
                "zigbeeError": "$ref:ZigbeeError"
            }
        },
        "Zigbee.SetPermitJoin": {
            "description": "Allow or deny nodes to join the network with the given 'networkUuid' for a specific 'duration' in seconds. The duration value has to be between 0 and 255 seconds. The 'permitJoinDuration' property of ZigBee network object indicates how long permit has been enabled and the 'permitJoiningRemaining' indicates the rest of the time. Those values can be used to show a countdown or progressbar. This method can be recalled for resetting the timeout. If the duration is set to 0 seconds, joining will be disabled immediatly for the entire network. The 'shortAddress' is optional and defaults to the broadcast address 0xfffc for all routers in the network. If the short address matches the address of a router node in the network, only that specific router will be able to allow new nodes to join the network. A new node will join to the router with the best link quality index (LQI).",
            "params": {
                "duration": "Uint",
                "networkUuid": "Uuid",
                "o:shortAddress": "Uint"
            },
            "returns": {
                "zigbeeError": "$ref:ZigbeeError"
            }
        }
    },
    "notifications": {
        "AppData.Changed": {
            "description": "Emitted whenever the app data is changed on the server.",
            "params": {
                "appId": "String",
                "key": "String",
                "o:group": "String",
                "value": "String"
            }
        },
        "Configuration.BasicConfigurationChanged": {
            "description": "Emitted whenever the basic configuration of this server changes.",
            "params": {
                "basicConfiguration": {
                    "d:language": "String",
                    "d:serverTime": "Uint",
                    "d:timeZone": "String",
                    "debugServerEnabled": "Bool",
                    "serverName": "String",
                    "serverUuid": "Uuid"
                }
            }
        },
        "Configuration.CloudConfigurationChanged": {
            "description": "Emitted whenever the cloud configuration is changed.",
            "params": {
                "cloudConfiguration": {
                    "enabled": "Bool"
                }
            }
        },
        "Configuration.LanguageChanged": {
            "description": "Emitted whenever the language of the server changed. The Plugins, Vendors and ThingClasses have to be reloaded to get the translated data.",
            "params": {
                "language": "String"
            }
        },
        "Configuration.MqttPolicyChanged": {
            "description": "Emitted whenever a MQTT broker policy is changed.",
            "params": {
                "policy": "$ref:MqttPolicy"
            }
        },
        "Configuration.MqttPolicyRemoved": {
            "description": "Emitted whenever a MQTT broker policy is removed.",
            "params": {
                "clientId": "String"
            }
        },
        "Configuration.MqttServerConfigurationChanged": {
            "description": "Emitted whenever the MQTT broker configuration is changed.",
            "params": {
                "mqttServerConfiguration": "$ref:ServerConfiguration"
            }
        },
        "Configuration.MqttServerConfigurationRemoved": {
            "description": "Emitted whenever a MQTT server configuration is removed.",
            "params": {
                "id": "String"
            }
        },
        "Configuration.TcpServerConfigurationChanged": {
            "description": "Emitted whenever the TCP server configuration changes.",
            "params": {
                "tcpServerConfiguration": "$ref:ServerConfiguration"
            }
        },
        "Configuration.TcpServerConfigurationRemoved": {
            "description": "Emitted whenever a TCP server configuration is removed.",
            "params": {
                "id": "String"
            }
        },
        "Configuration.WebServerConfigurationChanged": {
            "description": "Emitted whenever the web server configuration changes.",
            "params": {
                "webServerConfiguration": "$ref:WebServerConfiguration"
            }
        },
        "Configuration.WebServerConfigurationRemoved": {
            "description": "Emitted whenever a Web server configuration is removed.",
            "params": {
                "id": "String"
            }
        },
        "Configuration.WebSocketServerConfigurationChanged": {
            "description": "Emitted whenever the web socket server configuration changes.",
            "params": {
                "webSocketServerConfiguration": "$ref:ServerConfiguration"
            }
        },
        "Configuration.WebSocketServerConfigurationRemoved": {
            "description": "Emitted whenever a WebSocket server configuration is removed.",
            "params": {
                "id": "String"
            }
        },
        "Devices.DeviceAdded": {
            "description": "Emitted whenever a Device was added.",
            "params": {
                "device": "$ref:Device"
            }
        },
        "Devices.DeviceChanged": {
            "description": "Emitted whenever the params, name or setupStatus of a Device changes.",
            "params": {
                "device": "$ref:Device"
            }
        },
        "Devices.DeviceRemoved": {
            "description": "Emitted whenever a Device was removed.",
            "params": {
                "deviceId": "Uuid"
            }
        },
        "Devices.DeviceSettingChanged": {
            "description": "Emitted whenever the setting of a Device is changed.",
            "params": {
                "deviceId": "Uuid",
                "paramTypeId": "Uuid",
                "value": "Variant"
            }
        },
        "Devices.EventTriggered": {
            "description": "Emitted whenever an Event is triggered.",
            "params": {
                "event": "$ref:Event"
            }
        },
        "Devices.PluginConfigurationChanged": {
            "description": "Emitted whenever a plugin's configuration is changed.",
            "params": {
                "configuration": "$ref:ParamList",
                "pluginId": "Uuid"
            }
        },
        "Devices.StateChanged": {
            "description": "Emitted whenever a State of a device changes.",
            "params": {
                "deviceId": "Uuid",
                "stateTypeId": "Uuid",
                "value": "Variant"
            }
        },
        "Events.EventTriggered": {
            "deprecated": "Please use Devices.EventTriggered instead.",
            "description": "Emitted whenever an Event is triggered.",
            "params": {
                "event": "$ref:Event"
            }
        },
        "Integrations.EventTriggered": {
            "description": "Emitted whenever an Event is triggered.",
            "params": {
                "event": "$ref:Event"
            }
        },
        "Integrations.IOConnectionAdded": {
            "description": "Emitted whenever an IO connection has been added.",
            "params": {
                "ioConnection": "$ref:IOConnection"
            }
        },
        "Integrations.IOConnectionRemoved": {
            "description": "Emitted whenever an IO connection has been removed.",
            "params": {
                "ioConnectionId": "Uuid"
            }
        },
        "Integrations.PluginConfigurationChanged": {
            "description": "Emitted whenever a plugin's configuration is changed.",
            "params": {
                "configuration": "$ref:ParamList",
                "pluginId": "Uuid"
            }
        },
        "Integrations.StateChanged": {
            "description": "Emitted whenever a state of a thing changes.",
            "params": {
                "maxValue": "Variant",
                "minValue": "Variant",
                "stateTypeId": "Uuid",
                "thingId": "Uuid",
                "value": "Variant"
            }
        },
        "Integrations.ThingAdded": {
            "description": "Emitted whenever a thing was added.",
            "params": {
                "thing": "$ref:Thing"
            }
        },
        "Integrations.ThingChanged": {
            "description": "Emitted whenever the params or name of a thing are changed (by EditThing or ReconfigureThing).",
            "params": {
                "thing": "$ref:Thing"
            }
        },
        "Integrations.ThingRemoved": {
            "description": "Emitted whenever a thing was removed.",
            "params": {
                "thingId": "Uuid"
            }
        },
        "Integrations.ThingSettingChanged": {
            "description": "Emitted whenever the setting of a thing is changed.",
            "params": {
                "paramTypeId": "Uuid",
                "thingId": "Uuid",
                "value": "Variant"
            }
        },
        "JSONRPC.CloudConnectedChanged": {
            "description": "Emitted whenever the cloud connection status changes.",
            "params": {
                "connected": "Bool",
                "connectionState": "$ref:CloudConnectionState"
            }
        },
        "JSONRPC.PushButtonAuthFinished": {
            "deprecated": "Use Users.PushButtonAuthFinished instead.",
            "description": "Emitted when a push button authentication reaches final state. NOTE: This notification is special. It will only be emitted to connections that did actively request a push button authentication, but also it will be emitted regardless of the notification settings. ",
            "params": {
                "o:token": "String",
                "success": "Bool",
                "transactionId": "Int"
            }
        },
        "Logging.LogDatabaseUpdated": {
            "description": "Emitted whenever the database was updated. The database will be updated when a log entry was deleted. A log entry will be deleted when the corresponding thing or a rule will be removed, or when the oldest entry of the database was deleted to keep to database in the size limits.",
            "params": {
            }
        },
        "Logging.LogEntryAdded": {
            "description": "Emitted whenever an entry is appended to the logging system. ",
            "params": {
                "logEntry": "$ref:LogEntry"
            }
        },
        "ModbusRtu.ModbusRtuMasterAdded": {
            "description": "Emitted whenever a new modbus RTU master has been added to the system.",
            "params": {
                "modbusRtuMaster": "$ref:ModbusRtuMaster"
            }
        },
        "ModbusRtu.ModbusRtuMasterChanged": {
            "description": "Emitted whenever a modbus RTU master has been changed in the system.",
            "params": {
                "modbusRtuMaster": "$ref:ModbusRtuMaster"
            }
        },
        "ModbusRtu.ModbusRtuMasterRemoved": {
            "description": "Emitted whenever a modbus RTU master has been removed from the system.",
            "params": {
                "modbusUuid": "Uuid"
            }
        },
        "ModbusRtu.SerialPortAdded": {
            "description": "Emitted whenever a serial port has been added to the system.",
            "params": {
                "serialPort": "$ref:SerialPort"
            }
        },
        "ModbusRtu.SerialPortRemoved": {
            "description": "Emitted whenever a serial port has been removed from the system.",
            "params": {
                "serialPort": "$ref:SerialPort"
            }
        },
        "NetworkManager.NetworkStatusChanged": {
            "description": "Emitted whenever a status of a NetworkManager changes.",
            "params": {
                "status": {
                    "networkingEnabled": "Bool",
                    "state": "$ref:NetworkManagerState",
                    "wirelessNetworkingEnabled": "Bool"
                }
            }
        },
        "NetworkManager.WiredNetworkDeviceAdded": {
            "description": "Emitted whenever a new WiredNetworkDevice was added.",
            "params": {
                "wiredNetworkDevice": "$ref:WiredNetworkDevice"
            }
        },
        "NetworkManager.WiredNetworkDeviceChanged": {
            "description": "Emitted whenever the given WiredNetworkDevice has changed.",
            "params": {
                "wiredNetworkDevice": "$ref:WiredNetworkDevice"
            }
        },
        "NetworkManager.WiredNetworkDeviceRemoved": {
            "description": "Emitted whenever a WiredNetworkDevice was removed.",
            "params": {
                "interface": "String"
            }
        },
        "NetworkManager.WirelessNetworkDeviceAdded": {
            "description": "Emitted whenever a new WirelessNetworkDevice was added.",
            "params": {
                "wirelessNetworkDevice": "$ref:WirelessNetworkDevice"
            }
        },
        "NetworkManager.WirelessNetworkDeviceChanged": {
            "description": "Emitted whenever the given WirelessNetworkDevice has changed.",
            "params": {
                "wirelessNetworkDevice": "$ref:WirelessNetworkDevice"
            }
        },
        "NetworkManager.WirelessNetworkDeviceRemoved": {
            "description": "Emitted whenever a WirelessNetworkDevice was removed.",
            "params": {
                "interface": "String"
            }
        },
        "Rules.RuleActiveChanged": {
            "description": "Emitted whenever the active state of a Rule changed.",
            "params": {
                "active": "Bool",
                "ruleId": "Uuid"
            }
        },
        "Rules.RuleAdded": {
            "description": "Emitted whenever a Rule was added.",
            "params": {
                "rule": "$ref:Rule"
            }
        },
        "Rules.RuleConfigurationChanged": {
            "description": "Emitted whenever the configuration of a Rule changed.",
            "params": {
                "rule": "$ref:Rule"
            }
        },
        "Rules.RuleRemoved": {
            "description": "Emitted whenever a Rule was removed.",
            "params": {
                "ruleId": "Uuid"
            }
        },
        "Scripts.ScriptAdded": {
            "description": "Emitted when a script has been added to the system.",
            "params": {
                "script": "$ref:Script"
            }
        },
        "Scripts.ScriptChanged": {
            "description": "Emitted when a script has been changed in the system (e.g. renamed).",
            "params": {
                "name": "String",
                "scriptId": "Uuid"
            }
        },
        "Scripts.ScriptContentChanged": {
            "description": "Emitted when a script's content has been changed in the system.",
            "params": {
                "scriptId": "Uuid"
            }
        },
        "Scripts.ScriptLogMessage": {
            "description": "Emitted when a script produces a console message.",
            "params": {
                "message": "String",
                "scriptId": "Uuid",
                "type": "$ref:ScriptMessageType"
            }
        },
        "Scripts.ScriptRemoved": {
            "description": "Emitted when a script has been removed from the system.",
            "params": {
                "id": "Uuid"
            }
        },
        "System.CapabilitiesChanged": {
            "description": "Emitted whenever the system capabilities change.",
            "params": {
                "powerManagement": "Bool",
                "updateManagement": "Bool"
            }
        },
        "System.PackageAdded": {
            "description": "Emitted whenever a package is added to the list of packages.",
            "params": {
                "package": "$ref:Package"
            }
        },
        "System.PackageChanged": {
            "description": "Emitted whenever a package in the list of packages changes.",
            "params": {
                "package": "$ref:Package"
            }
        },
        "System.PackageRemoved": {
            "description": "Emitted whenever a package is removed from the list of packages.",
            "params": {
                "packageId": "String"
            }
        },
        "System.RepositoryAdded": {
            "description": "Emitted whenever a repository is added to the list of repositories.",
            "params": {
                "repository": "$ref:Repository"
            }
        },
        "System.RepositoryChanged": {
            "description": "Emitted whenever a repository in the list of repositories changes.",
            "params": {
                "repository": "$ref:Repository"
            }
        },
        "System.RepositoryRemoved": {
            "description": "Emitted whenever a repository is removed from the list of repositories.",
            "params": {
                "repositoryId": "String"
            }
        },
        "System.TimeConfigurationChanged": {
            "description": "Emitted whenever the time configuration is changed",
            "params": {
                "automaticTime": "Bool",
                "automaticTimeAvailable": "Bool",
                "time": "Uint",
                "timeZone": "String"
            }
        },
        "System.UpdateStatusChanged": {
            "description": "Emitted whenever the update status changes.",
            "params": {
                "busy": "Bool",
                "updateRunning": "Bool"
            }
        },
        "Tags.TagAdded": {
            "description": "Emitted whenever a tag is added to the system. ",
            "params": {
                "tag": "$ref:Tag"
            }
        },
        "Tags.TagRemoved": {
            "description": "Emitted whenever a tag is removed from the system. ",
            "params": {
                "tag": "$ref:Tag"
            }
        },
        "Tags.TagValueChanged": {
            "description": "Emitted whenever a tag's value is changed in the system. ",
            "params": {
                "tag": "$ref:Tag"
            }
        },
        "Users.PushButtonAuthFinished": {
            "description": "Emitted when a push button authentication reaches final state. NOTE: This notification is special. It will only be emitted to connections that did actively request a push button authentication, but also it will be emitted regardless of the notification settings.",
            "params": {
                "o:token": "String",
                "success": "Bool",
                "transactionId": "Int"
            }
        },
        "Zigbee.AdapterAdded": {
            "description": "Emitted whenever a new ZigBee adapter or serial port has been detected in the system.",
            "params": {
                "adapter": "$ref:ZigbeeAdapter"
            }
        },
        "Zigbee.AdapterRemoved": {
            "description": "Emitted whenever a ZigBee adapter or serial port has been removed from the system (i.e. unplugged).",
            "params": {
                "adapter": "$ref:ZigbeeAdapter"
            }
        },
        "Zigbee.NetworkAdded": {
            "description": "Emitted whenever a new ZigBee network has been added.",
            "params": {
                "zigbeeNetwork": "$ref:ZigbeeNetwork"
            }
        },
        "Zigbee.NetworkChanged": {
            "description": "Emitted whenever a new ZigBee network has changed.",
            "params": {
                "zigbeeNetwork": "$ref:ZigbeeNetwork"
            }
        },
        "Zigbee.NetworkRemoved": {
            "description": "Emitted whenever a new ZigBee network has been removed.",
            "params": {
                "networkUuid": "Uuid"
            }
        },
        "Zigbee.NodeAdded": {
            "description": "Emitted whenever a new ZigBee node has joined the network with the given 'networkUuid'.",
            "params": {
                "networkUuid": "Uuid",
                "zigbeeNode": "$ref:ZigbeeNode"
            }
        },
        "Zigbee.NodeChanged": {
            "description": "Emitted whenever a ZigBee node has changed.",
            "params": {
                "networkUuid": "Uuid",
                "zigbeeNode": "$ref:ZigbeeNode"
            }
        },
        "Zigbee.NodeRemoved": {
            "description": "Emitted whenever a ZigBee node has removed from the network with the given 'networkUuid'.",
            "params": {
                "networkUuid": "Uuid",
                "zigbeeNode": "$ref:ZigbeeNode"
            }
        }
    },
    "types": {
        "Action": {
            "actionTypeId": "Uuid",
            "d:deviceId": "Uuid",
            "o:params": "$ref:ParamList",
            "thingId": "Uuid"
        },
        "ActionType": {
            "displayName": "String",
            "index": "Int",
            "name": "String",
            "paramTypes": "$ref:ParamTypes",
            "r:id": "Uuid"
        },
        "ActionTypes": [
            "$ref:ActionType"
        ],
        "BrowserItem": {
            "actionTypeIds": [
                "Uuid"
            ],
            "browsable": "Bool",
            "description": "String",
            "disabled": "Bool",
            "displayName": "String",
            "executable": "Bool",
            "icon": "$ref:BrowserIcon",
            "id": "String",
            "o:mediaIcon": "$ref:MediaBrowserIcon",
            "thumbnail": "String"
        },
        "CacheHash": {
            "hash": "String",
            "method": "String"
        },
        "CalendarItem": {
            "duration": "Uint",
            "o:datetime": "Uint",
            "o:repeating": "$ref:RepeatingOption",
            "o:startTime": "Time"
        },
        "CalendarItems": [
            "$ref:CalendarItem"
        ],
        "Device": {
            "d:r:setupComplete": "Bool",
            "o:name": "String",
            "o:settings": "$ref:ParamList",
            "r:deviceClassId": "Uuid",
            "r:id": "Uuid",
            "r:o:loggedEventTypeIds": [
                "Uuid"
            ],
            "r:o:parentId": "Uuid",
            "r:o:setupDisplayMessage": "String",
            "r:params": "$ref:ParamList",
            "r:setupError": "$ref:ThingError",
            "r:setupStatus": "$ref:ThingSetupStatus",
            "r:states": "$ref:States",
            "r:thingClassId": "Uuid"
        },
        "DeviceClass": {
            "r:actionTypes": "$ref:ActionTypes",
            "r:browsable": "Bool",
            "r:browserItemActionTypes": "$ref:ActionTypes",
            "r:createMethods": "$ref:CreateMethods",
            "r:discoveryParamTypes": "$ref:ParamTypes",
            "r:displayName": "String",
            "r:eventTypes": "$ref:EventTypes",
            "r:id": "Uuid",
            "r:interfaces": "StringList",
            "r:name": "String",
            "r:paramTypes": "$ref:ParamTypes",
            "r:pluginId": "Uuid",
            "r:providedInterfaces": "StringList",
            "r:settingsTypes": "$ref:ParamTypes",
            "r:setupMethod": "$ref:SetupMethod",
            "r:stateTypes": "$ref:StateTypes",
            "r:vendorId": "Uuid"
        },
        "DeviceClasses": [
            "$ref:DeviceClass"
        ],
        "DeviceDescriptor": {
            "d:r:deviceParams": "$ref:ParamList",
            "r:description": "String",
            "r:deviceParams": "$ref:ParamList",
            "r:id": "Uuid",
            "r:o:deviceId": "Uuid",
            "r:o:thingId": "Uuid",
            "r:params": "$ref:ParamList",
            "r:thingClassId": "Uuid",
            "r:title": "String"
        },
        "DeviceDescriptors": [
            "$ref:DeviceDescriptor"
        ],
        "DevicePlugin": {
            "r:displayName": "String",
            "r:id": "Uuid",
            "r:name": "String",
            "r:paramTypes": "$ref:ParamTypes"
        },
        "DevicePlugins": [
            "$ref:DevicePlugin"
        ],
        "Devices": [
            "$ref:Device"
        ],
        "Event": {
            "d:r:deviceId": "Uuid",
            "r:eventTypeId": "Uuid",
            "r:params": "$ref:ParamList",
            "r:thingId": "Uuid"
        },
        "EventDescriptor": {
            "d:o:deviceId": "Uuid",
            "o:eventTypeId": "Uuid",
            "o:interface": "String",
            "o:interfaceEvent": "String",
            "o:paramDescriptors": "$ref:ParamDescriptors",
            "o:thingId": "Uuid"
        },
        "EventDescriptors": [
            "$ref:EventDescriptor"
        ],
        "EventType": {
            "displayName": "String",
            "name": "String",
            "paramTypes": "$ref:ParamTypes",
            "r:id": "Uuid",
            "r:index": "Int"
        },
        "EventTypes": [
            "$ref:EventType"
        ],
        "Experience": {
            "name": "String",
            "version": "String"
        },
        "IOConnection": {
            "r:id": "Uuid",
            "r:inputStateTypeId": "Uuid",
            "r:inputThingId": "Uuid",
            "r:inverted": "Bool",
            "r:outputStateTypeId": "Uuid",
            "r:outputThingId": "Uuid"
        },
        "IOConnections": [
            "$ref:IOConnection"
        ],
        "IntegrationPlugin": {
            "r:displayName": "String",
            "r:id": "Uuid",
            "r:name": "String",
            "r:paramTypes": "$ref:ParamTypes"
        },
        "IntegrationPlugins": [
            "$ref:IntegrationPlugin"
        ],
        "LogEntries": [
            "$ref:LogEntry"
        ],
        "LogEntry": {
            "d:r:o:deviceId": "Uuid",
            "r:loggingLevel": "$ref:LoggingLevel",
            "r:o:active": "Bool",
            "r:o:errorCode": "String",
            "r:o:eventType": "$ref:LoggingEventType",
            "r:o:thingId": "Uuid",
            "r:o:typeId": "Uuid",
            "r:o:value": "Variant",
            "r:source": "$ref:LoggingSource",
            "r:timestamp": "Uint"
        },
        "ModbusRtuMaster": {
            "baudrate": "Uint",
            "connected": "Bool",
            "dataBits": "$ref:SerialPortDataBits",
            "modbusUuid": "Uuid",
            "numberOfRetries": "Uint",
            "parity": "$ref:SerialPortParity",
            "serialPort": "String",
            "stopBits": "$ref:SerialPortStopBits",
            "timeout": "Uint"
        },
        "MqttPolicy": {
            "allowedPublishTopicFilters": "StringList",
            "allowedSubscribeTopicFilters": "StringList",
            "clientId": "String",
            "password": "String",
            "username": "String"
        },
        "Package": {
            "r:canRemove": "Bool",
            "r:candidateVersion": "String",
            "r:changelog": "String",
            "r:displayName": "String",
            "r:id": "String",
            "r:installedVersion": "String",
            "r:rollbackAvailable": "Bool",
            "r:summary": "String",
            "r:updateAvailable": "Bool"
        },
        "Packages": [
            "$ref:Package"
        ],
        "Param": {
            "o:paramTypeId": "Uuid",
            "value": "Variant"
        },
        "ParamDescriptor": {
            "o:paramName": "String",
            "o:paramTypeId": "Uuid",
            "operator": "$ref:ValueOperator",
            "value": "Variant"
        },
        "ParamDescriptors": [
            "$ref:ParamDescriptor"
        ],
        "ParamList": [
            "$ref:Param"
        ],
        "ParamType": {
            "displayName": "String",
            "index": "Int",
            "name": "String",
            "o:allowedValues": [
                "Variant"
            ],
            "o:defaultValue": "Variant",
            "o:inputType": "$ref:InputType",
            "o:maxValue": "Variant",
            "o:minValue": "Variant",
            "o:readOnly": "Bool",
            "o:unit": "$ref:Unit",
            "r:id": "Uuid",
            "type": "$ref:BasicType"
        },
        "ParamTypes": [
            "$ref:ParamType"
        ],
        "RepeatingOption": {
            "mode": "$ref:RepeatingMode",
            "o:monthDays": [
                "Int"
            ],
            "o:weekDays": [
                "Int"
            ]
        },
        "Repositories": [
            "$ref:Repository"
        ],
        "Repository": {
            "enabled": "Bool",
            "r:displayName": "String",
            "r:id": "String"
        },
        "Rule": {
            "actions": "$ref:RuleActions",
            "name": "String",
            "o:enabled": "Bool",
            "o:eventDescriptors": "$ref:EventDescriptors",
            "o:executable": "Bool",
            "o:exitActions": "$ref:RuleActions",
            "o:stateEvaluator": "$ref:StateEvaluator",
            "o:timeDescriptor": "$ref:TimeDescriptor",
            "r:active": "Bool",
            "r:id": "Uuid"
        },
        "RuleAction": {
            "d:o:deviceId": "Uuid",
            "o:actionTypeId": "Uuid",
            "o:browserItemId": "String",
            "o:interface": "String",
            "o:interfaceAction": "String",
            "o:ruleActionParams": "$ref:RuleActionParams",
            "o:thingId": "Uuid"
        },
        "RuleActionParam": {
            "d:o:stateDeviceId": "Uuid",
            "o:eventParamTypeId": "Uuid",
            "o:eventTypeId": "Uuid",
            "o:paramName": "String",
            "o:paramTypeId": "Uuid",
            "o:stateThingId": "Uuid",
            "o:stateTypeId": "Uuid",
            "o:value": "Variant"
        },
        "RuleActionParams": [
            "$ref:RuleActionParam"
        ],
        "RuleActions": [
            "$ref:RuleAction"
        ],
        "RuleDescription": {
            "active": "Bool",
            "enabled": "Bool",
            "executable": "Bool",
            "id": "Uuid",
            "name": "String"
        },
        "Rules": [
            "$ref:Rule"
        ],
        "Script": {
            "name": "String",
            "r:id": "Uuid"
        },
        "Scripts": [
            "$ref:Script"
        ],
        "SerialPort": {
            "r:description": "String",
            "r:manufacturer": "String",
            "r:serialNumber": "String",
            "r:systemLocation": "String"
        },
        "SerialPorts": [
            "$ref:SerialPort"
        ],
        "ServerConfiguration": {
            "address": "String",
            "authenticationEnabled": "Bool",
            "id": "String",
            "port": "Uint",
            "sslEnabled": "Bool"
        },
        "State": {
            "r:filter": "$ref:StateValueFilter",
            "r:o:maxValue": "Variant",
            "r:o:minValue": "Variant",
            "r:stateTypeId": "Uuid",
            "r:value": "Variant"
        },
        "StateDescriptor": {
            "d:o:deviceId": "Uuid",
            "o:interface": "String",
            "o:interfaceState": "String",
            "o:stateTypeId": "Uuid",
            "o:thingId": "Uuid",
            "o:value": "Variant",
            "o:valueStateTypeId": "Uuid",
            "o:valueThingId": "Uuid",
            "operator": "$ref:ValueOperator"
        },
        "StateEvaluator": {
            "o:childEvaluators": "$ref:StateEvaluators",
            "o:operator": "$ref:StateOperator",
            "o:stateDescriptor": "$ref:StateDescriptor"
        },
        "StateEvaluators": [
            "$ref:StateEvaluator"
        ],
        "StateType": {
            "defaultValue": "Variant",
            "displayName": "String",
            "index": "Int",
            "name": "String",
            "o:ioType": "$ref:IOType",
            "o:maxValue": "Variant",
            "o:minValue": "Variant",
            "o:possibleValues": [
                "Variant"
            ],
            "o:unit": "$ref:Unit",
            "r:id": "Uuid",
            "type": "$ref:BasicType"
        },
        "StateTypes": [
            "$ref:StateType"
        ],
        "States": [
            "$ref:State"
        ],
        "Tag": {
            "appId": "String",
            "d:o:deviceId": "Uuid",
            "o:ruleId": "Uuid",
            "o:thingId": "Uuid",
            "o:value": "String",
            "tagId": "String"
        },
        "Tags": [
            "$ref:Tag"
        ],
        "Thing": {
            "d:r:setupComplete": "Bool",
            "o:name": "String",
            "o:settings": "$ref:ParamList",
            "r:id": "Uuid",
            "r:o:loggedEventTypeIds": [
                "Uuid"
            ],
            "r:o:parentId": "Uuid",
            "r:o:setupDisplayMessage": "String",
            "r:params": "$ref:ParamList",
            "r:setupError": "$ref:ThingError",
            "r:setupStatus": "$ref:ThingSetupStatus",
            "r:states": "$ref:States",
            "r:thingClassId": "Uuid"
        },
        "ThingClass": {
            "r:actionTypes": "$ref:ActionTypes",
            "r:browsable": "Bool",
            "r:browserItemActionTypes": "$ref:ActionTypes",
            "r:createMethods": "$ref:CreateMethods",
            "r:discoveryParamTypes": "$ref:ParamTypes",
            "r:displayName": "String",
            "r:eventTypes": "$ref:EventTypes",
            "r:id": "Uuid",
            "r:interfaces": "StringList",
            "r:name": "String",
            "r:paramTypes": "$ref:ParamTypes",
            "r:pluginId": "Uuid",
            "r:providedInterfaces": "StringList",
            "r:settingsTypes": "$ref:ParamTypes",
            "r:setupMethod": "$ref:SetupMethod",
            "r:stateTypes": "$ref:StateTypes",
            "r:vendorId": "Uuid"
        },
        "ThingClasses": [
            "$ref:ThingClass"
        ],
        "ThingDescriptor": {
            "d:r:deviceParams": "$ref:ParamList",
            "r:description": "String",
            "r:id": "Uuid",
            "r:o:thingId": "Uuid",
            "r:params": "$ref:ParamList",
            "r:thingClassId": "Uuid",
            "r:title": "String"
        },
        "ThingDescriptors": [
            "$ref:ThingDescriptor"
        ],
        "Things": [
            "$ref:Thing"
        ],
        "TimeDescriptor": {
            "o:calendarItems": "$ref:CalendarItems",
            "o:timeEventItems": "$ref:TimeEventItems"
        },
        "TimeEventItem": {
            "o:datetime": "Uint",
            "o:repeating": "$ref:RepeatingOption",
            "o:time": "Time"
        },
        "TimeEventItems": [
            "$ref:TimeEventItem"
        ],
        "TokenInfo": {
            "r:creationTime": "Uint",
            "r:deviceName": "String",
            "r:id": "Uuid",
            "r:username": "String"
        },
        "TokenInfoList": [
            "$ref:TokenInfo"
        ],
        "UserInfo": {
            "r:username": "String"
        },
        "Vendor": {
            "displayName": "String",
            "id": "Uuid",
            "name": "String"
        },
        "Vendors": [
            "$ref:Vendor"
        ],
        "WebServerConfiguration": {
            "address": "String",
            "authenticationEnabled": "Bool",
            "id": "String",
            "port": "Uint",
            "publicFolder": "String",
            "sslEnabled": "Bool"
        },
        "WiredNetworkDevice": {
            "r:bitRate": "String",
            "r:interface": "String",
            "r:ipv4Addresses": "StringList",
            "r:ipv6Addresses": "StringList",
            "r:macAddress": "String",
            "r:pluggedIn": "Bool",
            "r:state": "$ref:NetworkDeviceState"
        },
        "WirelessAccessPoint": {
            "r:frequency": "Double",
            "r:macAddress": "String",
            "r:protected": "Bool",
            "r:signalStrength": "Int",
            "r:ssid": "String"
        },
        "WirelessNetworkDevice": {
            "r:bitRate": "String",
            "r:interface": "String",
            "r:ipv4Addresses": "StringList",
            "r:ipv6Addresses": "StringList",
            "r:macAddress": "String",
            "r:mode": "$ref:WirelessMode",
            "r:o:currentAccessPoint": "$ref:WirelessAccessPoint",
            "r:state": "$ref:NetworkDeviceState"
        },
        "ZigbeeAdapter": {
            "r:backend": "String",
            "r:baudRate": "Int",
            "r:description": "String",
            "r:hardwareRecognized": "Bool",
            "r:name": "String",
            "r:serialNumber": "String",
            "r:serialPort": "String"
        },
        "ZigbeeAdapters": [
            "$ref:ZigbeeAdapter"
        ],
        "ZigbeeNetwork": {
            "backend": "String",
            "baudRate": "Uint",
            "channel": "Uint",
            "channelMask": "Uint",
            "enabled": "Bool",
            "firmwareVersion": "String",
            "macAddress": "String",
            "networkState": "$ref:ZigbeeNetworkState",
            "networkUuid": "Uuid",
            "panId": "Uint",
            "permitJoiningDuration": "Uint",
            "permitJoiningEnabled": "Bool",
            "permitJoiningRemaining": "Uint",
            "serialPort": "String"
        },
        "ZigbeeNode": {
            "ieeeAddress": "String",
            "lastSeen": "Uint",
            "lqi": "Uint",
            "manufacturer": "String",
            "model": "String",
            "networkAddress": "Uint",
            "networkUuid": "Uuid",
            "reachable": "Bool",
            "receiverOnWhileIdle": "Bool",
            "state": "$ref:ZigbeeNodeState",
            "type": "$ref:ZigbeeNodeType",
            "version": "String"
        }
    }
}
