Property description

The objectTypeRelations property defines relation types between object types.

Minimal JSON

{
  "fromObjectTypeKey": "",
  "toObjectTypeKey": "",
  "relationTypeKey": ""
}
{
  "fromObjectTypeKey": "document_set",
  "toObjectTypeKey": "document",
  "relationTypeKey": "core#isParentOf"
}

Example taken from the core_documentation package.

Nested properties

PropertyDescriptionTypeMandatory
fromObjectKeySpecifies what object type the relation originates from.stringYes
relationTypeKeySpecifies the relation type.stringYes
toObjectTypeKeySpecifies what object type the relation is directed towards.stringYes
isReadOnlyDetermines whether the value is read-only and cannot be edited. Useful for e.g., inherited values.booleanNo