Optimizely · Schema

OdpObject

An object in ODP (product, order, etc.)

A/B TestingContent ManagementCustomer DataE-CommerceExperimentationFeature FlagsMarketing

Properties

Name Type Description
object_id string Unique identifier for the object
type string Object type
fields object Object field values
created string Timestamp when the object was created
updated string Timestamp when the object was last updated
View JSON Schema on GitHub

JSON Schema

optimizely-odpobject-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OdpObject",
  "title": "OdpObject",
  "type": "object",
  "description": "An object in ODP (product, order, etc.)",
  "properties": {
    "object_id": {
      "type": "string",
      "description": "Unique identifier for the object"
    },
    "type": {
      "type": "string",
      "description": "Object type"
    },
    "fields": {
      "type": "object",
      "description": "Object field values",
      "additionalProperties": true
    },
    "created": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the object was created"
    },
    "updated": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the object was last updated"
    }
  }
}