bridge-node-server/node_server/schemas/SetDeviceName.json
Martin Donnelly 57bd6c8e6a init
2018-06-24 21:15:03 +01:00

37 lines
1.0 KiB
JSON

{
"$id": "SetDeviceName",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "SetDeviceName",
"description": "See http://10.0.10.242/w/tricore_architecture/server_interface/registration_commands/setdevicename/",
"type": "object",
"required": [
"DeviceToken",
"SessionToken",
"DeviceName",
"DeviceIndex"
],
"additionalProperties": false,
"properties": {
"DeviceToken": {
"$ref": "defs/#/definitions/DeviceToken"
},
"SessionToken": {
"$ref": "defs/#/definitions/SessionToken"
},
"DeviceName": {
"allOf": [
{
"minLength": 2,
"maxLength": 75,
"ensureTrim": true
},
{
"$ref": "defs/#/definitions/generalTextSpace"
}
]
},
"DeviceIndex": {
"$ref": "defs/#/definitions/uuid"
}
}
}