Skip to main content

Properties

NameTypeFormatDescription
idstringA unique field identifier
nameobjectlocalized valueA friendly name for the field
descriptionobjectlocalized valueThe description for the field's purpose
dataTypestringdataTypeThe field data type
dataFormatstringdataFormatThe field data format
defaultobjectlocalized valueThe default value for the field if no value is provided by an author
validationsobjectThe validations that will be performed on the field when the entry is either created or updated
editorobjecteditorConfiguration for the Contensis entry field editor
groupIdstringThe 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

JSON
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ "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" } }
JSON
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ "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" } }
JSON
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ "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" } }

Still need help?

New support request