Optimizely · Schema

Task

A content task in the CMP workflow

A/B TestingContent ManagementCustomer DataE-CommerceExperimentationFeature FlagsMarketing

Properties

Name Type Description
id string Unique identifier for the task
title string Title of the task
description string Description of the task
status string Current workflow status of the task
assignee object User assigned to the task
due_date string Due date for the task
campaign_id string Associated campaign identifier
labels array Labels associated with the task
assets array Assets attached to the task
created_at string Timestamp when the task was created
updated_at string Timestamp when the task was last updated
View JSON Schema on GitHub

JSON Schema

optimizely-task-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Task",
  "title": "Task",
  "type": "object",
  "description": "A content task in the CMP workflow",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the task"
    },
    "title": {
      "type": "string",
      "description": "Title of the task"
    },
    "description": {
      "type": "string",
      "description": "Description of the task"
    },
    "status": {
      "type": "string",
      "description": "Current workflow status of the task"
    },
    "assignee": {
      "type": "object",
      "description": "User assigned to the task",
      "properties": {
        "id": {
          "type": "string",
          "description": "User identifier"
        },
        "name": {
          "type": "string",
          "description": "User display name"
        }
      }
    },
    "due_date": {
      "type": "string",
      "format": "date",
      "description": "Due date for the task"
    },
    "campaign_id": {
      "type": "string",
      "description": "Associated campaign identifier"
    },
    "labels": {
      "type": "array",
      "description": "Labels associated with the task",
      "items": {
        "type": "string"
      }
    },
    "assets": {
      "type": "array",
      "description": "Assets attached to the task",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Asset identifier"
          },
          "type": {
            "type": "string",
            "description": "Asset type"
          }
        }
      }
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the task was created"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the task was last updated"
    }
  }
}