Optimizely · Schema

ContentPatch

Input for partially updating a content item

A/B TestingContent ManagementCustomer DataE-CommerceExperimentationFeature FlagsMarketing

Properties

Name Type Description
name string Display name of the content item
status string Content status
properties object Dynamic content properties to update
View JSON Schema on GitHub

JSON Schema

optimizely-contentpatch-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ContentPatch",
  "title": "ContentPatch",
  "type": "object",
  "description": "Input for partially updating a content item",
  "properties": {
    "name": {
      "type": "string",
      "description": "Display name of the content item"
    },
    "status": {
      "type": "string",
      "description": "Content status",
      "enum": [
        "CheckedOut",
        "CheckedIn",
        "Published"
      ]
    },
    "properties": {
      "type": "object",
      "description": "Dynamic content properties to update",
      "additionalProperties": true
    }
  }
}