clarify room and sensor

trunk
HeNine 2 years ago
parent 1e1d4d13d5
commit 7ed8633f40

@ -15,6 +15,6 @@ entity
items: types.id,
description: 'List of variables measured by sensor.',
uniqueItems: true,
}
}
},
},
}

@ -12,15 +12,14 @@ entity
properties+: {
location: types.location,
relationships: {
type: 'array',
type: 'object',
description: 'Relationships that bind other entities to this room.',
items: {
oneOf: [
{
'$ref': 'https://picc.app/schemata/v0.1-dev/relationship',
},
$.properties.id,
],
properties: {
id: type.id,
args: {
type: 'array',
items: type.id,
},
},
},
},

Loading…
Cancel
Save