Skip to main content

Entity

Fields with the type Entity store references to other entities in the system. This is used to create relationships between different entities.

Structure

[
{
"_id": "a1b2c3d4e5f6g7h8i9j0"
},
...
]
  • _id: The unique identifier of the entity.

Example

{
"types": [
"schema:Hotel"
],
"content": {
"schema:contactPoint": [
{
"_id": "a1b2c3d4e5f6g7h8i9j0"
}
]
}
}
note

Do not get confused with schema:contactPoint and schema:ContactPoints. schema:contactPoint is a field that contains an array of Entity references, while schema:ContactPoints is a field that contains an array of schema:ContactPoint objects, see Table for more details.