Property description
The attributeTypes property defines attributes that are stored for the object type (OT).
Attribute types at this level only store values and are not visible. To display attributes and their values, you must add them to the object type’s main template.
Minimal JSON
{
"key": ""
}{
"key": "document_set",
"attributeTypes": [
{
"key": "core_description"
}
]
}Example taken from the core_documentation package.
Nested properties
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Key of the attribute type. | string | Yes |
acceptableCodetableValues | Key of a codetable value that acts as a predefined list of values for this attribute type. | string | No |
conditions | Array of attribute type conditions. | array | No |
defaultValue | Text string shown as the attribute type’s default value. | string | No |
features | Array of attribute type object features. | array | No |
htmlTemplate | Text string that automatically populates the attribute field upon entering edit mode. Supports HTML formatting. Useful for text templates. | string | No |
| isReadOnly | Determines whether users can edit the attribute. Used primarily for scanned applications. | boolean | No |