blob: fc8667bd7523deade1e8762a962564dde2e442f7 [file] [log] [blame] [edit]
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$defs": {
"GPIODeviceDetect": {
"additionalProperties": false,
"description": "Configuration for GPIO device presence daemon",
"type": "object",
"properties": {
"Name": {
"description": "The name of the device",
"type": "string"
},
"Type": {
"description": "The type of configuration object",
"const": "GPIODeviceDetect"
},
"PresencePinNames": {
"description": "The names of the GPIOs used for presence detection.",
"type": "array",
"items": {
"type": "string"
}
},
"PresencePinValues": {
"description": "The presence pin values for the GPIOs.",
"type": "array",
"items": {
"type": "number"
}
}
},
"required": [
"Name",
"Type",
"PresencePinNames",
"PresencePinValues"
]
}
}
}