node-zwave-js/maintenance/schemas/deviceClasses.json

60 lines
1.2 KiB
JSON

{
"$schema": "https://json-schema.org/draft-07/schema",
"type": "object",
"properties": {
"basic": {
"type": "object",
"patternProperties": {
"0x\\d{2}": {
"type": "string"
}
}
},
"generic": {
"type": "object",
"patternProperties": {
"0x[0-9a-f]{2}": {
"properties": {
"label": { "type": "string" },
"zwavePlusDeviceType": {
"type": "string"
},
"requiresSecurity": {
"const": true
},
"maySupportBasicCC": {
"const": false
},
"specific": {
"type": "object",
"patternProperties": {
"0x[0-9a-f]{2}": {
"properties": {
"label": { "type": "string" },
"zwavePlusDeviceType": {
"type": "string"
},
"requiresSecurity": {
"const": true
},
"maySupportBasicCC": {
"const": false
}
},
"required": ["label"],
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"required": ["label"],
"additionalProperties": false
}
}
}
},
"required": ["basic", "generic"],
"additionalProperties": false
}