Valetudo/backend/lib/entities/state/attributes/doc/AttachmentStateAttribute.op...

33 lines
691 B
JSON

{
"components": {
"schemas": {
"AttachmentStateAttribute": {
"allOf": [
{
"$ref": "#/components/schemas/StateAttribute"
},
{
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/AttachmentStateAttributeType"
},
"attached": {
"type": "boolean"
}
}
}
]
},
"AttachmentStateAttributeType": {
"type": "string",
"enum": [
"dustbin",
"watertank",
"mop"
]
}
}
}
}