Optimizely · Schema

Profile

A customer profile in ODP

A/B TestingContent ManagementCustomer DataE-CommerceExperimentationFeature FlagsMarketing

Properties

Name Type Description
email string Customer email address
customer_id string Customer identifier
vuid string Visitor unique identifier
first_name string Customer first name
last_name string Customer last name
city string Customer city
state string Customer state or province
country string Customer country
zip_code string Customer postal code
insights object Computed customer insights and scores
segments array Segments the customer belongs to
View JSON Schema on GitHub

JSON Schema

optimizely-profile-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Profile",
  "title": "Profile",
  "type": "object",
  "description": "A customer profile in ODP",
  "properties": {
    "email": {
      "type": "string",
      "format": "email",
      "description": "Customer email address"
    },
    "customer_id": {
      "type": "string",
      "description": "Customer identifier"
    },
    "vuid": {
      "type": "string",
      "description": "Visitor unique identifier"
    },
    "first_name": {
      "type": "string",
      "description": "Customer first name"
    },
    "last_name": {
      "type": "string",
      "description": "Customer last name"
    },
    "city": {
      "type": "string",
      "description": "Customer city"
    },
    "state": {
      "type": "string",
      "description": "Customer state or province"
    },
    "country": {
      "type": "string",
      "description": "Customer country"
    },
    "zip_code": {
      "type": "string",
      "description": "Customer postal code"
    },
    "insights": {
      "type": "object",
      "description": "Computed customer insights and scores",
      "additionalProperties": true
    },
    "segments": {
      "type": "array",
      "description": "Segments the customer belongs to",
      "items": {
        "type": "string"
      }
    }
  }
}