Salesforce Experience Cloud · Schema
Content
A CMS content item
CMSCommunitiesCRMCustomer PortalDigital ExperienceExperience CloudPartner Portal
Properties
| Name | Type | Description |
|---|---|---|
| contentKey | string | Unique key for the content |
| contentUrlName | string | URL-friendly name for the content |
| language | string | Language code of the content |
| managedContentId | string | Managed content record ID |
| publishedDate | string | When the content was published |
| status | string | Current status of the content |
| title | string | Title of the content |
| type | string | Content type developer name |
| typeLabel | string | Content type display label |
| body | object | Content body fields (varies by content type) |
| contentNodes | object | Content nodes containing field values |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Content",
"title": "Content",
"type": "object",
"description": "A CMS content item",
"properties": {
"contentKey": {
"type": "string",
"description": "Unique key for the content"
},
"contentUrlName": {
"type": "string",
"description": "URL-friendly name for the content"
},
"language": {
"type": "string",
"description": "Language code of the content"
},
"managedContentId": {
"type": "string",
"description": "Managed content record ID"
},
"publishedDate": {
"type": "string",
"format": "date-time",
"description": "When the content was published"
},
"status": {
"type": "string",
"description": "Current status of the content",
"enum": [
"Draft",
"Published",
"Archived"
]
},
"title": {
"type": "string",
"description": "Title of the content"
},
"type": {
"type": "string",
"description": "Content type developer name"
},
"typeLabel": {
"type": "string",
"description": "Content type display label"
},
"body": {
"type": "object",
"description": "Content body fields (varies by content type)",
"additionalProperties": true
},
"contentNodes": {
"type": "object",
"description": "Content nodes containing field values",
"additionalProperties": {
"$ref": "#/components/schemas/ContentNode"
}
}
}
}