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