Optimizely · Schema

Segment

A customer segment definition

A/B TestingContent ManagementCustomer DataE-CommerceExperimentationFeature FlagsMarketing

Properties

Name Type Description
name string Name of the segment
description string Description of the segment criteria
customer_count integer Number of customers in the segment
View JSON Schema on GitHub

JSON Schema

optimizely-segment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Segment",
  "title": "Segment",
  "type": "object",
  "description": "A customer segment definition",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the segment"
    },
    "description": {
      "type": "string",
      "description": "Description of the segment criteria"
    },
    "customer_count": {
      "type": "integer",
      "description": "Number of customers in the segment"
    }
  }
}