Optimizely · Schema

AudienceInput

Input for creating or updating an audience

A/B TestingContent ManagementCustomer DataE-CommerceExperimentationFeature FlagsMarketing

Properties

Name Type Description
project_id integer The project this audience belongs to
name string Human-readable name of the audience
description string Description of the audience
conditions string JSON-encoded audience conditions
View JSON Schema on GitHub

JSON Schema

optimizely-audienceinput-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AudienceInput",
  "title": "AudienceInput",
  "type": "object",
  "description": "Input for creating or updating an audience",
  "properties": {
    "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"
    },
    "conditions": {
      "type": "string",
      "description": "JSON-encoded audience conditions"
    }
  }
}