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
| Property | Description | Type | Mandatory |
|---|---|---|---|
fromObjectKey | Specifies what object type the relation originates from. | string | Yes |
relationTypeKey | Specifies the relation type. | string | Yes |
toObjectTypeKey | Specifies what object type the relation is directed towards. | string | Yes |
isReadOnly | Determines whether the value is read-only and cannot be edited. Useful for e.g., inherited values. | boolean | No |