|
|
@ -6,7 +6,9 @@ entity
|
|
|
|
'$id': 'https://picc.app/schemata/v0.1-dev/locations/building',
|
|
|
|
'$id': 'https://picc.app/schemata/v0.1-dev/locations/building',
|
|
|
|
title: 'Building',
|
|
|
|
title: 'Building',
|
|
|
|
description: |||
|
|
|
|
description: |||
|
|
|
|
A building
|
|
|
|
A building.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Rooms are optionally defined in-place.
|
|
|
|
|||,
|
|
|
|
|||,
|
|
|
|
|
|
|
|
|
|
|
|
properties+: {
|
|
|
|
properties+: {
|
|
|
@ -15,14 +17,10 @@ entity
|
|
|
|
rooms: {
|
|
|
|
rooms: {
|
|
|
|
type: 'array',
|
|
|
|
type: 'array',
|
|
|
|
description: 'Rooms contained in this building.',
|
|
|
|
description: 'Rooms contained in this building.',
|
|
|
|
items: {
|
|
|
|
items:
|
|
|
|
oneOf: [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
'$ref': 'https://picc.app/schemata/v0.1-dev/locations/room',
|
|
|
|
'$ref': 'https://picc.app/schemata/v0.1-dev/room',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
$.properties.id,
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|