Optimizely · Schema

CmpContent

A content item in the CMP content repository

A/B TestingContent ManagementCustomer DataE-CommerceExperimentationFeature FlagsMarketing

Properties

Name Type Description
id string Unique identifier for the content item
title string Title of the content item
body string Body content
content_type string Type of content
status string Publication status
task_id string Associated task identifier
labels array Labels associated with the content
created_at string Timestamp when the content was created
updated_at string Timestamp when the content was last updated
View JSON Schema on GitHub

JSON Schema

optimizely-cmpcontent-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CmpContent",
  "title": "CmpContent",
  "type": "object",
  "description": "A content item in the CMP content repository",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the content item"
    },
    "title": {
      "type": "string",
      "description": "Title of the content item"
    },
    "body": {
      "type": "string",
      "description": "Body content"
    },
    "content_type": {
      "type": "string",
      "description": "Type of content"
    },
    "status": {
      "type": "string",
      "description": "Publication status"
    },
    "task_id": {
      "type": "string",
      "description": "Associated task identifier"
    },
    "labels": {
      "type": "array",
      "description": "Labels associated with the content",
      "items": {
        "type": "string"
      }
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the content was created"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the content was last updated"
    }
  }
}