site-buiding-room hierarchy

trunk
HeNine 2 years ago
parent 130214590a
commit 68e038f9cb

@ -10,6 +10,7 @@ entity
|||,
properties+: {
site: types.id,
location: types.location,
rooms: {
type: 'array',

@ -10,6 +10,7 @@ entity
|||,
properties+: {
building: types.id,
location: types.location,
relationships: {
type: 'array',

@ -21,17 +21,5 @@ entity
],
},
},
relationships: {
type: 'array',
description: 'Relationships that bind other entities to this room.',
items: {
oneOf: [
{
'$ref': 'https://picc.app/schemata/v0.1-dev/relationship',
},
$.properties.id,
],
},
},
},
}

Loading…
Cancel
Save