ContentType

A CMS content type definition

CMSCommunitiesCRMCustomer PortalDigital ExperienceExperience CloudPartner Portal

Properties

Name Type Description
developerName string Developer name of the content type
label string Display label of the content type
fields array Field definitions for the content type
View JSON Schema on GitHub

JSON Schema

salesforce-experience-cloud-contenttype-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ContentType",
  "title": "ContentType",
  "type": "object",
  "description": "A CMS content type definition",
  "properties": {
    "developerName": {
      "type": "string",
      "description": "Developer name of the content type"
    },
    "label": {
      "type": "string",
      "description": "Display label of the content type"
    },
    "fields": {
      "type": "array",
      "description": "Field definitions for the content type",
      "items": {
        "type": "object",
        "properties": {
          "fieldName": {
            "type": "string"
          },
          "fieldType": {
            "type": "string"
          },
          "isRequired": {
            "type": "boolean"
          },
          "label": {
            "type": "string"
          }
        }
      }
    }
  }
}