Optimizely · Schema

ContentType

A content type definition

A/B TestingContent ManagementCustomer DataE-CommerceExperimentationFeature FlagsMarketing

Properties

Name Type Description
name string Name of the content type
displayName string Display name of the content type
description string Description of the content type
base string Base content type
properties object Properties defined on the content type
View JSON Schema on GitHub

JSON Schema

optimizely-contenttype-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ContentType",
  "title": "ContentType",
  "type": "object",
  "description": "A content type definition",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the content type"
    },
    "displayName": {
      "type": "string",
      "description": "Display name of the content type"
    },
    "description": {
      "type": "string",
      "description": "Description of the content type"
    },
    "base": {
      "type": "string",
      "description": "Base content type"
    },
    "properties": {
      "type": "object",
      "description": "Properties defined on the content type",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "Property data type"
          },
          "displayName": {
            "type": "string",
            "description": "Display name of the property"
          },
          "sortOrder": {
            "type": "integer",
            "description": "Sort order for the property"
          }
        }
      }
    }
  }
}