Properties
Name | Type | Format | Description |
---|---|---|---|
id | string | - | A unique field identifier |
name | object | localized value | A friendly name for the field |
description | object | localized value | The description for the field's purpose |
dataType | string | dataType | The field data type |
dataFormat | string | dataFormat | The field data format |
default | object | localized value | The default value for the field if no value is provided by an author |
validations | object | - | The validations that will be performed on the field when the entry is either created or updated |
editor | object | editor | Configuration for the Contensis entry field editor |
groupId | string | - | The identifier of the group (defined in the content type groups property) that the field belongs to. Enables related fields to be grouped together in the UI |
Example
{
"id": "title",
"name": {
"en-GB": "Title"
},
"dataType": "String",
"dataFormat": null,
"description": {},
"default": {},
"validations": null,
"editor": {
"id": "text",
"instructions": {
"en-GB": "The title of the movie"
},
"properties": {
"placeholderText": {
"en-GB": "Enter the full title of the movie appropriate to the region"
}
},
"groupId": "summary"
}
}
{
"id": "title",
"name": {
"en-GB": "Title"
},
"dataType": "String",
"dataFormat": null,
"description": {},
"default": {},
"validations": null,
"editor": {
"id": "text",
"instructions": {
"en-GB": "The title of the movie"
},
"properties": {
"placeholderText": {
"en-GB": "Enter the full title of the movie appropriate to the region"
}
},
"groupId": "summary"
}
}
{
"id": "title",
"name": {
"en-GB": "Title"
},
"dataType": "String",
"dataFormat": null,
"description": {},
"default": {},
"validations": null,
"editor": {
"id": "text",
"instructions": {
"en-GB": "The title of the movie"
},
"properties": {
"placeholderText": {
"en-GB": "Enter the full title of the movie appropriate to the region"
}
},
"groupId": "summary"
}
}