site-buiding-room hierarchy

trunk
HeNine 2 years ago
parent 130214590a
commit 68e038f9cb

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

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