Component
Log in to add to favouritesProperties
Name | Type | Format | Description | Example |
---|---|---|---|---|
id | string | uuid | A unique component identifier | |
projectId | string | - | The project identifier found in the project overview screen of the management console | movieDb |
name | string | localized value | The friendly name given to a component | |
description | string | localized value | The description text given to a component | |
fields | object[...] | field | A collection of fields that form the schema for an entry | |
dataFormat | string | - | This will always be component | |
version | object | version | Version information about the content type |
Example
{
"isChild": false,
"hasChildren": false,
"canAddChildComponents": true,
"canBeAddedAsChildComponent": true,
"version": {
"createdBy": "s.derrickson",
"created": "2021-09-29T09:08:35.5627633Z",
"modifiedBy": "c.chamberlain",
"modified": "2021-09-29T09:15:01.8108527Z",
"publishedBy": "c.chamberlain",
"published": "2021-09-29T09:15:03.4046546Z",
"versionNo": "2.0"
},
"uuid": "10617c57-85f5-4149-9131-08ed4cd97488",
"id": "movieRole",
"projectId": "movieDb",
"name": {
"en-GB": "Movie Role"
},
"description": {
"en-GB": "A Persons role within a movie."
},
"fields": [
{
"id": "person",
"name": {
"en-GB": "Person"
},
"dataType": "object",
"dataFormat": "entry",
"description": {},
"default": null,
"validations": {
"allowedContentTypes": {
"contentTypes": [
"person"
],
"message": null
}
},
"editor": null
},
{
"id": "role",
"name": {
"en-GB": "Role"
},
"dataType": "string",
"dataFormat": null,
"description": {},
"default": null,
"validations": {},
"editor": null
}
],
"dataFormat": "component"
}
{
"isChild": false,
"hasChildren": false,
"canAddChildComponents": true,
"canBeAddedAsChildComponent": true,
"version": {
"createdBy": "s.derrickson",
"created": "2021-09-29T09:08:35.5627633Z",
"modifiedBy": "c.chamberlain",
"modified": "2021-09-29T09:15:01.8108527Z",
"publishedBy": "c.chamberlain",
"published": "2021-09-29T09:15:03.4046546Z",
"versionNo": "2.0"
},
"uuid": "10617c57-85f5-4149-9131-08ed4cd97488",
"id": "movieRole",
"projectId": "movieDb",
"name": {
"en-GB": "Movie Role"
},
"description": {
"en-GB": "A Persons role within a movie."
},
"fields": [
{
"id": "person",
"name": {
"en-GB": "Person"
},
"dataType": "object",
"dataFormat": "entry",
"description": {},
"default": null,
"validations": {
"allowedContentTypes": {
"contentTypes": [
"person"
],
"message": null
}
},
"editor": null
},
{
"id": "role",
"name": {
"en-GB": "Role"
},
"dataType": "string",
"dataFormat": null,
"description": {},
"default": null,
"validations": {},
"editor": null
}
],
"dataFormat": "component"
}
{
"isChild": false,
"hasChildren": false,
"canAddChildComponents": true,
"canBeAddedAsChildComponent": true,
"version": {
"createdBy": "s.derrickson",
"created": "2021-09-29T09:08:35.5627633Z",
"modifiedBy": "c.chamberlain",
"modified": "2021-09-29T09:15:01.8108527Z",
"publishedBy": "c.chamberlain",
"published": "2021-09-29T09:15:03.4046546Z",
"versionNo": "2.0"
},
"uuid": "10617c57-85f5-4149-9131-08ed4cd97488",
"id": "movieRole",
"projectId": "movieDb",
"name": {
"en-GB": "Movie Role"
},
"description": {
"en-GB": "A Persons role within a movie."
},
"fields": [
{
"id": "person",
"name": {
"en-GB": "Person"
},
"dataType": "object",
"dataFormat": "entry",
"description": {},
"default": null,
"validations": {
"allowedContentTypes": {
"contentTypes": [
"person"
],
"message": null
}
},
"editor": null
},
{
"id": "role",
"name": {
"en-GB": "Role"
},
"dataType": "string",
"dataFormat": null,
"description": {},
"default": null,
"validations": {},
"editor": null
}
],
"dataFormat": "component"
}