{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "applicationId": {
            "type": "string",
            "pattern": "^[A-Fa-f\\d]{24}$"
        },
        "deviceId": {
            "type": "string",
            "pattern": "^[A-Fa-f\\d]{24}$"
        },
        "devicecClass": {
            "type": "string",
            "enum": [
                "standalone",
                "master",
                "owned",
                "floating",
                "virtual"
            ]
        },
        "token": {
            "type": "string"
        }
    },
    "required": [
        "applicationId",
        "deviceId",
        "deviceClass",
        "token"
    ]
}