"Type of the entity (
e.g.,
'Person',
'Organization')"
}
,
'attributes'
:
{
'bsonType'
:
'object'
,
'description'
:
'Key-value pairs describing the entity'
,
'additionalProperties'
:
{
'bsonType'
:
'array'
,
'items'
:
{
'bsonType'
:
'string'
}
}
}
,
'relationships'
:
{
'bsonType'
:
'object'
,
'description'
:
'Key-value pairs of relationships'
,
'required'
:
[
'target_ids'
]
,
'properties'
:
{
'target_ids'
:
{
'bsonType'
:
'array'
,
'description'
:
'name/_id values of the target entities'
,
'items'
:
{
'bsonType'
:
'string'
}
}
,
'types'
:
{
'bsonType'
:
'array'
,
'description'
:
'An array of relationships to corresponding target_ids (in same array position).'
,
'items'
:
{
'bsonType'
:
'string'
}
}
,
'attributes'
:
{
'bsonType'
:
'array'
,
'description'
:
'An array of attributes describing the relationships to corresponding target_ids (in same array position
). Each element is an object containing key-value pairs, where values are arrays of strings.'