Optimizely · Schema

Audience

An audience segment for targeting

A/B TestingContent ManagementCustomer DataE-CommerceExperimentationFeature FlagsMarketing

Properties

Name Type Description
id integer Unique identifier for the audience
project_id integer The project this audience belongs to
name string Human-readable name of the audience
description string Description of the audience criteria
conditions string JSON-encoded audience conditions
created string Timestamp when the audience was created
last_modified string Timestamp when the audience was last modified
View JSON Schema on GitHub

JSON Schema

optimizely-audience-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Audience",
  "title": "Audience",
  "type": "object",
  "description": "An audience segment for targeting",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64",
      "description": "Unique identifier for the audience"
    },
    "project_id": {
      "type": "integer",
      "format": "int64",
      "description": "The project this audience belongs to"
    },
    "name": {
      "type": "string",
      "description": "Human-readable name of the audience"
    },
    "description": {
      "type": "string",
      "description": "Description of the audience criteria"
    },
    "conditions": {
      "type": "string",
      "description": "JSON-encoded audience conditions"
    },
    "created": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the audience was created"
    },
    "last_modified": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the audience was last modified"
    }
  }
}