---
title: Create segment
slug: data-platform/api/create-segment
docTags: 
createdAt: 2026-09-02T14:41:00.110Z
---

{
  "id": "8saX7WV7cMhedU2JvuRd2",
  "type": "api-oas-v2",
  "data": {
    "method": "POST",
    "url": "//api.us1.odp.optimizely.com/v3/segments/{segment_id}",
    "servers": [
      {
        "url": "//api.us1.odp.optimizely.com/v3/segments/{segment_id}"
      }
    ],
    "name": "Create segment",
    "description": "Create a new segment.",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "segment_id",
          "type": "string",
          "description": ""
        }
      ],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [],
      "bodyDataParameters": [
        {
          "kind": "required",
          "name": "body",
          "type": "object",
          "description": "",
          "schema": [
            {
              "name": "description",
              "kind": "optional",
              "type": "string",
              "description": "",
              "example": "Customer has email"
            },
            {
              "name": "metadata",
              "kind": "optional",
              "type": "map",
              "description": "",
              "example": "{\"display_name\":\"Customer Has Email\"}",
              "customType": "map<string, string>",
              "schema": []
            },
            {
              "name": "definition",
              "kind": "optional",
              "type": "object",
              "description": "",
              "example": "{\"root_condition\":{\"customer_condition\":{\"customer_filter\":{\"is_not_missing\":{\"source\":{\"path_reference\":{\"value\":\"customer.email\"}}}}}}}",
              "modelRef": "#/components/schemas/SegmentDefinition",
              "customType": "SegmentDefinition",
              "schema": [
                {
                  "name": "root_condition",
                  "kind": "optional",
                  "type": "object",
                  "description": "",
                  "modelRef": "#/components/schemas/Condition",
                  "customType": "Condition",
                  "schema": [
                    {
                      "name": "combination",
                      "kind": "optional",
                      "type": "object",
                      "description": "",
                      "modelRef": "#/components/schemas/Condition.Combination",
                      "customType": "Condition.Combination",
                      "schema": [
                        {
                          "name": "conjunction",
                          "kind": "optional",
                          "type": "string",
                          "description": "",
                          "default": "CONJUNCTION_NOT_SET",
                          "modelRef": "#/components/schemas/Conjunction",
                          "customType": "Conjunction",
                          "schema": []
                        },
                        {
                          "name": "conditions",
                          "kind": "optional",
                          "type": "array",
                          "description": "",
                          "modelRef": "#/components/schemas/Condition",
                          "customType": "Condition[]",
                          "schema": [
                            {
                              "name": "",
                              "description": "",
                              "customType": "Circular-Reference"
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "name": "customer_condition",
                      "kind": "optional",
                      "type": "object",
                      "description": "",
                      "modelRef": "#/components/schemas/CustomerCondition",
                      "customType": "CustomerCondition",
                      "schema": [
                        {
                          "name": "customer_filter",
                          "kind": "optional",
                          "type": "object",
                          "description": "",
                          "modelRef": "#/components/schemas/Expression",
                          "customType": "Expression",
                          "schema": [
                            {
                              "name": "combination",
                              "kind": "optional",
                              "type": "object",
                              "description": "Evaluates to boolean.",
                              "modelRef": "#/components/schemas/Expression.Combination",
                              "customType": "Expression.Combination",
                              "schema": [
                                {
                                  "name": "conjunction",
                                  "kind": "optional",
                                  "type": "string",
                                  "description": "",
                                  "default": "CONJUNCTION_NOT_SET",
                                  "modelRef": "#/components/schemas/Conjunction",
                                  "customType": "Conjunction",
                                  "schema": []
                                },
                                {
                                  "name": "expressions",
                                  "kind": "optional",
                                  "type": "array",
                                  "description": "<p>Cannot be empty; all must evaluate to boolean.</p>",
                                  "modelRef": "#/components/schemas/Expression",
                                  "customType": "Expression[]",
                                  "schema": [
                                    {
                                      "name": "",
                                      "description": "",
                                      "customType": "Circular-Reference"
                                    }
                                  ]
                                }
                              ]
                            },
                            {
                              "name": "comparison",
                              "kind": "optional",
                              "type": "object",
                              "description": "Evaluates to boolean.",
                              "modelRef": "#/components/schemas/Comparison",
                              "customType": "Comparison",
                              "schema": [
                                {
                                  "name": "lhs",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/Expression",
                                  "customType": "Expression",
                                  "schema": [
                                    {
                                      "name": "",
                                      "description": "",
                                      "customType": "Circular-Reference"
                                    }
                                  ]
                                },
                                {
                                  "name": "comparator",
                                  "kind": "optional",
                                  "type": "string",
                                  "description": "",
                                  "default": "COMPARATOR_NOT_SET",
                                  "modelRef": "#/components/schemas/Comparator",
                                  "customType": "Comparator",
                                  "schema": []
                                },
                                {
                                  "name": "rhs",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/Expression",
                                  "customType": "Expression",
                                  "schema": [
                                    {
                                      "name": "",
                                      "description": "",
                                      "customType": "Circular-Reference"
                                    }
                                  ]
                                }
                              ]
                            },
                            {
                              "name": "path_reference",
                              "kind": "optional",
                              "type": "object",
                              "description": "Evaluates to type of referenced field.",
                              "modelRef": "#/components/schemas/PathReference",
                              "customType": "PathReference",
                              "schema": [
                                {
                                  "name": "value",
                                  "kind": "optional",
                                  "type": "string",
                                  "description": ""
                                }
                              ]
                            },
                            {
                              "name": "string_literal",
                              "kind": "optional",
                              "type": "object",
                              "description": "Evaluates to string.",
                              "modelRef": "#/components/schemas/StringLiteral",
                              "customType": "StringLiteral",
                              "schema": [
                                {
                                  "name": "value",
                                  "kind": "optional",
                                  "type": "string",
                                  "description": ""
                                }
                              ]
                            },
                            {
                              "name": "number_literal",
                              "kind": "optional",
                              "type": "object",
                              "description": "Evaluates to number.",
                              "modelRef": "#/components/schemas/NumberLiteral",
                              "customType": "NumberLiteral",
                              "schema": [
                                {
                                  "name": "value",
                                  "kind": "optional",
                                  "type": "string",
                                  "description": ""
                                }
                              ]
                            },
                            {
                              "name": "boolean_literal",
                              "kind": "optional",
                              "type": "object",
                              "description": "Evaluates to boolean.",
                              "modelRef": "#/components/schemas/BooleanLiteral",
                              "customType": "BooleanLiteral",
                              "schema": [
                                {
                                  "name": "value",
                                  "kind": "optional",
                                  "type": "boolean",
                                  "description": ""
                                }
                              ]
                            },
                            {
                              "name": "is_missing",
                              "kind": "optional",
                              "type": "object",
                              "description": "Evaluates to boolean.",
                              "modelRef": "#/components/schemas/IsMissing",
                              "customType": "IsMissing",
                              "schema": [
                                {
                                  "name": "source",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/Expression",
                                  "customType": "Expression",
                                  "schema": [
                                    {
                                      "name": "",
                                      "description": "",
                                      "customType": "Circular-Reference"
                                    }
                                  ]
                                }
                              ]
                            },
                            {
                              "name": "is_not_missing",
                              "kind": "optional",
                              "type": "object",
                              "description": "Evaluates to boolean.",
                              "modelRef": "#/components/schemas/IsNotMissing",
                              "customType": "IsNotMissing",
                              "schema": [
                                {
                                  "name": "source",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/Expression",
                                  "customType": "Expression",
                                  "schema": [
                                    {
                                      "name": "",
                                      "description": "",
                                      "customType": "Circular-Reference"
                                    }
                                  ]
                                }
                              ]
                            },
                            {
                              "name": "false_or_missing",
                              "kind": "optional",
                              "type": "object",
                              "description": "Evaluates to boolean.",
                              "modelRef": "#/components/schemas/FalseOrMissing",
                              "customType": "FalseOrMissing",
                              "schema": [
                                {
                                  "name": "source",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/Expression",
                                  "customType": "Expression",
                                  "schema": [
                                    {
                                      "name": "",
                                      "description": "",
                                      "customType": "Circular-Reference"
                                    }
                                  ]
                                }
                              ]
                            },
                            {
                              "name": "true_or_missing",
                              "kind": "optional",
                              "type": "object",
                              "description": "Evaluates to boolean.",
                              "modelRef": "#/components/schemas/TrueOrMissing",
                              "customType": "TrueOrMissing",
                              "schema": [
                                {
                                  "name": "source",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/Expression",
                                  "customType": "Expression",
                                  "schema": [
                                    {
                                      "name": "",
                                      "description": "",
                                      "customType": "Circular-Reference"
                                    }
                                  ]
                                }
                              ]
                            },
                            {
                              "name": "coalesce",
                              "kind": "optional",
                              "type": "object",
                              "description": "Evaluates to type of source.",
                              "modelRef": "#/components/schemas/Coalesce",
                              "customType": "Coalesce",
                              "schema": [
                                {
                                  "name": "sources",
                                  "kind": "optional",
                                  "type": "array",
                                  "description": "Must all evaluate to same type.",
                                  "modelRef": "#/components/schemas/Expression",
                                  "customType": "Expression[]",
                                  "schema": [
                                    {
                                      "name": "",
                                      "description": "",
                                      "customType": "Circular-Reference"
                                    }
                                  ]
                                }
                              ]
                            },
                            {
                              "name": "truncate_time",
                              "kind": "optional",
                              "type": "object",
                              "description": "<p>Evaluates to number (epoch seconds).</p>",
                              "modelRef": "#/components/schemas/TruncateTime",
                              "customType": "TruncateTime",
                              "schema": [
                                {
                                  "name": "source",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/Expression",
                                  "customType": "Expression",
                                  "schema": [
                                    {
                                      "name": "",
                                      "description": "",
                                      "customType": "Circular-Reference"
                                    }
                                  ]
                                },
                                {
                                  "name": "unit",
                                  "kind": "optional",
                                  "type": "string",
                                  "description": "",
                                  "default": "TIME_UNIT_NOT_SET",
                                  "modelRef": "#/components/schemas/TimeUnit",
                                  "customType": "TimeUnit",
                                  "schema": []
                                },
                                {
                                  "name": "timezone",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/Expression",
                                  "customType": "Expression",
                                  "schema": [
                                    {
                                      "name": "",
                                      "description": "",
                                      "customType": "Circular-Reference"
                                    }
                                  ]
                                }
                              ]
                            },
                            {
                              "name": "shift_time",
                              "kind": "optional",
                              "type": "object",
                              "description": "<p>Evaluates to number (epoch seconds).</p>",
                              "modelRef": "#/components/schemas/ShiftTime",
                              "customType": "ShiftTime",
                              "schema": [
                                {
                                  "name": "source",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/Expression",
                                  "customType": "Expression",
                                  "schema": [
                                    {
                                      "name": "",
                                      "description": "",
                                      "customType": "Circular-Reference"
                                    }
                                  ]
                                },
                                {
                                  "name": "amount",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/Expression",
                                  "customType": "Expression",
                                  "schema": [
                                    {
                                      "name": "",
                                      "description": "",
                                      "customType": "Circular-Reference"
                                    }
                                  ]
                                },
                                {
                                  "name": "unit",
                                  "kind": "optional",
                                  "type": "string",
                                  "description": "",
                                  "default": "TIME_UNIT_NOT_SET",
                                  "modelRef": "#/components/schemas/TimeUnit",
                                  "customType": "TimeUnit",
                                  "schema": []
                                },
                                {
                                  "name": "timezone",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/Expression",
                                  "customType": "Expression",
                                  "schema": [
                                    {
                                      "name": "",
                                      "description": "",
                                      "customType": "Circular-Reference"
                                    }
                                  ]
                                }
                              ]
                            },
                            {
                              "name": "any_of_string",
                              "kind": "optional",
                              "type": "object",
                              "description": "Evaluates to boolean.",
                              "modelRef": "#/components/schemas/AnyOfString",
                              "customType": "AnyOfString",
                              "schema": [
                                {
                                  "name": "needle",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/Expression",
                                  "customType": "Expression",
                                  "schema": [
                                    {
                                      "name": "",
                                      "description": "",
                                      "customType": "Circular-Reference"
                                    }
                                  ]
                                },
                                {
                                  "name": "haystack",
                                  "kind": "optional",
                                  "type": "array",
                                  "description": "",
                                  "example": "",
                                  "itemType": "string",
                                  "customType": "string[]",
                                  "itemExample": "",
                                  "itemDefault": ""
                                }
                              ]
                            },
                            {
                              "name": "any_of_number",
                              "kind": "optional",
                              "type": "object",
                              "description": "Evaluates to boolean.",
                              "modelRef": "#/components/schemas/AnyOfNumber",
                              "customType": "AnyOfNumber",
                              "schema": [
                                {
                                  "name": "needle",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/Expression",
                                  "customType": "Expression",
                                  "schema": [
                                    {
                                      "name": "",
                                      "description": "",
                                      "customType": "Circular-Reference"
                                    }
                                  ]
                                },
                                {
                                  "name": "haystack",
                                  "kind": "optional",
                                  "type": "array",
                                  "description": "",
                                  "example": "",
                                  "itemType": "string",
                                  "customType": "string[]",
                                  "itemExample": "",
                                  "itemDefault": ""
                                }
                              ]
                            },
                            {
                              "name": "none_of_string",
                              "kind": "optional",
                              "type": "object",
                              "description": "Evaluates to boolean.",
                              "modelRef": "#/components/schemas/NoneOfString",
                              "customType": "NoneOfString",
                              "schema": [
                                {
                                  "name": "needle",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/Expression",
                                  "customType": "Expression",
                                  "schema": [
                                    {
                                      "name": "",
                                      "description": "",
                                      "customType": "Circular-Reference"
                                    }
                                  ]
                                },
                                {
                                  "name": "haystack",
                                  "kind": "optional",
                                  "type": "array",
                                  "description": "",
                                  "example": "",
                                  "itemType": "string",
                                  "customType": "string[]",
                                  "itemExample": "",
                                  "itemDefault": ""
                                }
                              ]
                            },
                            {
                              "name": "none_of_number",
                              "kind": "optional",
                              "type": "object",
                              "description": "Evaluates to boolean.",
                              "modelRef": "#/components/schemas/NoneOfNumber",
                              "customType": "NoneOfNumber",
                              "schema": [
                                {
                                  "name": "needle",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/Expression",
                                  "customType": "Expression",
                                  "schema": [
                                    {
                                      "name": "",
                                      "description": "",
                                      "customType": "Circular-Reference"
                                    }
                                  ]
                                },
                                {
                                  "name": "haystack",
                                  "kind": "optional",
                                  "type": "array",
                                  "description": "",
                                  "example": "",
                                  "itemType": "string",
                                  "customType": "string[]",
                                  "itemExample": "",
                                  "itemDefault": ""
                                }
                              ]
                            },
                            {
                              "name": "like_any_of_string",
                              "kind": "optional",
                              "type": "object",
                              "description": "Evaluates to boolean.",
                              "modelRef": "#/components/schemas/LikeAnyOfString",
                              "customType": "LikeAnyOfString",
                              "schema": [
                                {
                                  "name": "needle",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/Expression",
                                  "customType": "Expression",
                                  "schema": [
                                    {
                                      "name": "",
                                      "description": "",
                                      "customType": "Circular-Reference"
                                    }
                                  ]
                                },
                                {
                                  "name": "haystack",
                                  "kind": "optional",
                                  "type": "array",
                                  "description": "",
                                  "example": "",
                                  "itemType": "string",
                                  "customType": "string[]",
                                  "itemExample": "",
                                  "itemDefault": ""
                                }
                              ]
                            },
                            {
                              "name": "like_none_of_string",
                              "kind": "optional",
                              "type": "object",
                              "description": "Evaluates to boolean.",
                              "modelRef": "#/components/schemas/LikeNoneOfString",
                              "customType": "LikeNoneOfString",
                              "schema": [
                                {
                                  "name": "needle",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/Expression",
                                  "customType": "Expression",
                                  "schema": [
                                    {
                                      "name": "",
                                      "description": "",
                                      "customType": "Circular-Reference"
                                    }
                                  ]
                                },
                                {
                                  "name": "haystack",
                                  "kind": "optional",
                                  "type": "array",
                                  "description": "",
                                  "example": "",
                                  "itemType": "string",
                                  "customType": "string[]",
                                  "itemExample": "",
                                  "itemDefault": ""
                                }
                              ]
                            },
                            {
                              "name": "is_list_member",
                              "kind": "optional",
                              "type": "object",
                              "description": "Evaluates to boolean.",
                              "modelRef": "#/components/schemas/IsListMember",
                              "customType": "IsListMember",
                              "schema": [
                                {
                                  "name": "list",
                                  "kind": "optional",
                                  "type": "string",
                                  "description": ""
                                }
                              ]
                            },
                            {
                              "name": "is_not_list_member",
                              "kind": "optional",
                              "type": "object",
                              "description": "Evaluates to boolean.",
                              "modelRef": "#/components/schemas/IsNotListMember",
                              "customType": "IsNotListMember",
                              "schema": [
                                {
                                  "name": "list",
                                  "kind": "optional",
                                  "type": "string",
                                  "description": ""
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "name": "sequence_condition",
                      "kind": "optional",
                      "type": "object",
                      "description": "",
                      "modelRef": "#/components/schemas/SequenceCondition",
                      "customType": "SequenceCondition",
                      "schema": [
                        {
                          "name": "sequence",
                          "kind": "optional",
                          "type": "object",
                          "description": "",
                          "modelRef": "#/components/schemas/Sequence",
                          "customType": "Sequence",
                          "schema": [
                            {
                              "name": "entry_event_filter",
                              "kind": "optional",
                              "type": "object",
                              "description": "",
                              "modelRef": "#/components/schemas/Expression",
                              "customType": "Expression",
                              "schema": [
                                {
                                  "name": "combination",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/Expression.Combination",
                                  "customType": "Expression.Combination",
                                  "schema": [
                                    {
                                      "name": "conjunction",
                                      "kind": "optional",
                                      "type": "string",
                                      "description": "",
                                      "default": "CONJUNCTION_NOT_SET",
                                      "modelRef": "#/components/schemas/Conjunction",
                                      "customType": "Conjunction",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "expressions",
                                      "kind": "optional",
                                      "type": "array",
                                      "description": "<p>Cannot be empty; all must evaluate to boolean.</p>",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression[]",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    }
                                  ]
                                },
                                {
                                  "name": "comparison",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/Comparison",
                                  "customType": "Comparison",
                                  "schema": [
                                    {
                                      "name": "lhs",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "comparator",
                                      "kind": "optional",
                                      "type": "string",
                                      "description": "",
                                      "default": "COMPARATOR_NOT_SET",
                                      "modelRef": "#/components/schemas/Comparator",
                                      "customType": "Comparator",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "rhs",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    }
                                  ]
                                },
                                {
                                  "name": "path_reference",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to type of referenced field.",
                                  "modelRef": "#/components/schemas/PathReference",
                                  "customType": "PathReference",
                                  "schema": [
                                    {
                                      "name": "value",
                                      "kind": "optional",
                                      "type": "string",
                                      "description": ""
                                    }
                                  ]
                                },
                                {
                                  "name": "string_literal",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to string.",
                                  "modelRef": "#/components/schemas/StringLiteral",
                                  "customType": "StringLiteral",
                                  "schema": [
                                    {
                                      "name": "value",
                                      "kind": "optional",
                                      "type": "string",
                                      "description": ""
                                    }
                                  ]
                                },
                                {
                                  "name": "number_literal",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to number.",
                                  "modelRef": "#/components/schemas/NumberLiteral",
                                  "customType": "NumberLiteral",
                                  "schema": [
                                    {
                                      "name": "value",
                                      "kind": "optional",
                                      "type": "string",
                                      "description": ""
                                    }
                                  ]
                                },
                                {
                                  "name": "boolean_literal",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/BooleanLiteral",
                                  "customType": "BooleanLiteral",
                                  "schema": [
                                    {
                                      "name": "value",
                                      "kind": "optional",
                                      "type": "boolean",
                                      "description": ""
                                    }
                                  ]
                                },
                                {
                                  "name": "is_missing",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/IsMissing",
                                  "customType": "IsMissing",
                                  "schema": [
                                    {
                                      "name": "source",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    }
                                  ]
                                },
                                {
                                  "name": "is_not_missing",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/IsNotMissing",
                                  "customType": "IsNotMissing",
                                  "schema": [
                                    {
                                      "name": "source",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    }
                                  ]
                                },
                                {
                                  "name": "false_or_missing",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/FalseOrMissing",
                                  "customType": "FalseOrMissing",
                                  "schema": [
                                    {
                                      "name": "source",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    }
                                  ]
                                },
                                {
                                  "name": "true_or_missing",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/TrueOrMissing",
                                  "customType": "TrueOrMissing",
                                  "schema": [
                                    {
                                      "name": "source",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    }
                                  ]
                                },
                                {
                                  "name": "coalesce",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to type of source.",
                                  "modelRef": "#/components/schemas/Coalesce",
                                  "customType": "Coalesce",
                                  "schema": [
                                    {
                                      "name": "sources",
                                      "kind": "optional",
                                      "type": "array",
                                      "description": "Must all evaluate to same type.",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression[]",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    }
                                  ]
                                },
                                {
                                  "name": "truncate_time",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "<p>Evaluates to number (epoch seconds).</p>",
                                  "modelRef": "#/components/schemas/TruncateTime",
                                  "customType": "TruncateTime",
                                  "schema": [
                                    {
                                      "name": "source",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "unit",
                                      "kind": "optional",
                                      "type": "string",
                                      "description": "",
                                      "default": "TIME_UNIT_NOT_SET",
                                      "modelRef": "#/components/schemas/TimeUnit",
                                      "customType": "TimeUnit",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "timezone",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    }
                                  ]
                                },
                                {
                                  "name": "shift_time",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "<p>Evaluates to number (epoch seconds).</p>",
                                  "modelRef": "#/components/schemas/ShiftTime",
                                  "customType": "ShiftTime",
                                  "schema": [
                                    {
                                      "name": "source",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "amount",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "unit",
                                      "kind": "optional",
                                      "type": "string",
                                      "description": "",
                                      "default": "TIME_UNIT_NOT_SET",
                                      "modelRef": "#/components/schemas/TimeUnit",
                                      "customType": "TimeUnit",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "timezone",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    }
                                  ]
                                },
                                {
                                  "name": "any_of_string",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/AnyOfString",
                                  "customType": "AnyOfString",
                                  "schema": [
                                    {
                                      "name": "needle",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "haystack",
                                      "kind": "optional",
                                      "type": "array",
                                      "description": "",
                                      "example": "",
                                      "itemType": "string",
                                      "customType": "string[]",
                                      "itemExample": "",
                                      "itemDefault": ""
                                    }
                                  ]
                                },
                                {
                                  "name": "any_of_number",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/AnyOfNumber",
                                  "customType": "AnyOfNumber",
                                  "schema": [
                                    {
                                      "name": "needle",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "haystack",
                                      "kind": "optional",
                                      "type": "array",
                                      "description": "",
                                      "example": "",
                                      "itemType": "string",
                                      "customType": "string[]",
                                      "itemExample": "",
                                      "itemDefault": ""
                                    }
                                  ]
                                },
                                {
                                  "name": "none_of_string",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/NoneOfString",
                                  "customType": "NoneOfString",
                                  "schema": [
                                    {
                                      "name": "needle",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "haystack",
                                      "kind": "optional",
                                      "type": "array",
                                      "description": "",
                                      "example": "",
                                      "itemType": "string",
                                      "customType": "string[]",
                                      "itemExample": "",
                                      "itemDefault": ""
                                    }
                                  ]
                                },
                                {
                                  "name": "none_of_number",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/NoneOfNumber",
                                  "customType": "NoneOfNumber",
                                  "schema": [
                                    {
                                      "name": "needle",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "haystack",
                                      "kind": "optional",
                                      "type": "array",
                                      "description": "",
                                      "example": "",
                                      "itemType": "string",
                                      "customType": "string[]",
                                      "itemExample": "",
                                      "itemDefault": ""
                                    }
                                  ]
                                },
                                {
                                  "name": "like_any_of_string",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/LikeAnyOfString",
                                  "customType": "LikeAnyOfString",
                                  "schema": [
                                    {
                                      "name": "needle",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "haystack",
                                      "kind": "optional",
                                      "type": "array",
                                      "description": "",
                                      "example": "",
                                      "itemType": "string",
                                      "customType": "string[]",
                                      "itemExample": "",
                                      "itemDefault": ""
                                    }
                                  ]
                                },
                                {
                                  "name": "like_none_of_string",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/LikeNoneOfString",
                                  "customType": "LikeNoneOfString",
                                  "schema": [
                                    {
                                      "name": "needle",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "haystack",
                                      "kind": "optional",
                                      "type": "array",
                                      "description": "",
                                      "example": "",
                                      "itemType": "string",
                                      "customType": "string[]",
                                      "itemExample": "",
                                      "itemDefault": ""
                                    }
                                  ]
                                },
                                {
                                  "name": "is_list_member",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/IsListMember",
                                  "customType": "IsListMember",
                                  "schema": [
                                    {
                                      "name": "list",
                                      "kind": "optional",
                                      "type": "string",
                                      "description": ""
                                    }
                                  ]
                                },
                                {
                                  "name": "is_not_list_member",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/IsNotListMember",
                                  "customType": "IsNotListMember",
                                  "schema": [
                                    {
                                      "name": "list",
                                      "kind": "optional",
                                      "type": "string",
                                      "description": ""
                                    }
                                  ]
                                }
                              ]
                            },
                            {
                              "name": "unique_key_sources",
                              "kind": "optional",
                              "type": "array",
                              "description": "<p>Optional, each must evaluate to a primitive.</p>",
                              "modelRef": "#/components/schemas/Expression",
                              "customType": "Expression[]",
                              "schema": [
                                {
                                  "name": "combination",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/Expression.Combination",
                                  "customType": "Expression.Combination",
                                  "schema": [
                                    {
                                      "name": "conjunction",
                                      "kind": "optional",
                                      "type": "string",
                                      "description": "",
                                      "default": "CONJUNCTION_NOT_SET",
                                      "modelRef": "#/components/schemas/Conjunction",
                                      "customType": "Conjunction",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "expressions",
                                      "kind": "optional",
                                      "type": "array",
                                      "description": "<p>Cannot be empty; all must evaluate to boolean.</p>",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression[]",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    }
                                  ]
                                },
                                {
                                  "name": "comparison",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/Comparison",
                                  "customType": "Comparison",
                                  "schema": [
                                    {
                                      "name": "lhs",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "comparator",
                                      "kind": "optional",
                                      "type": "string",
                                      "description": "",
                                      "default": "COMPARATOR_NOT_SET",
                                      "modelRef": "#/components/schemas/Comparator",
                                      "customType": "Comparator",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "rhs",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    }
                                  ]
                                },
                                {
                                  "name": "path_reference",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to type of referenced field.",
                                  "modelRef": "#/components/schemas/PathReference",
                                  "customType": "PathReference",
                                  "schema": [
                                    {
                                      "name": "value",
                                      "kind": "optional",
                                      "type": "string",
                                      "description": ""
                                    }
                                  ]
                                },
                                {
                                  "name": "string_literal",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to string.",
                                  "modelRef": "#/components/schemas/StringLiteral",
                                  "customType": "StringLiteral",
                                  "schema": [
                                    {
                                      "name": "value",
                                      "kind": "optional",
                                      "type": "string",
                                      "description": ""
                                    }
                                  ]
                                },
                                {
                                  "name": "number_literal",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to number.",
                                  "modelRef": "#/components/schemas/NumberLiteral",
                                  "customType": "NumberLiteral",
                                  "schema": [
                                    {
                                      "name": "value",
                                      "kind": "optional",
                                      "type": "string",
                                      "description": ""
                                    }
                                  ]
                                },
                                {
                                  "name": "boolean_literal",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/BooleanLiteral",
                                  "customType": "BooleanLiteral",
                                  "schema": [
                                    {
                                      "name": "value",
                                      "kind": "optional",
                                      "type": "boolean",
                                      "description": ""
                                    }
                                  ]
                                },
                                {
                                  "name": "is_missing",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/IsMissing",
                                  "customType": "IsMissing",
                                  "schema": [
                                    {
                                      "name": "source",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    }
                                  ]
                                },
                                {
                                  "name": "is_not_missing",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/IsNotMissing",
                                  "customType": "IsNotMissing",
                                  "schema": [
                                    {
                                      "name": "source",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    }
                                  ]
                                },
                                {
                                  "name": "false_or_missing",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/FalseOrMissing",
                                  "customType": "FalseOrMissing",
                                  "schema": [
                                    {
                                      "name": "source",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    }
                                  ]
                                },
                                {
                                  "name": "true_or_missing",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/TrueOrMissing",
                                  "customType": "TrueOrMissing",
                                  "schema": [
                                    {
                                      "name": "source",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    }
                                  ]
                                },
                                {
                                  "name": "coalesce",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to type of source.",
                                  "modelRef": "#/components/schemas/Coalesce",
                                  "customType": "Coalesce",
                                  "schema": [
                                    {
                                      "name": "sources",
                                      "kind": "optional",
                                      "type": "array",
                                      "description": "Must all evaluate to same type.",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression[]",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    }
                                  ]
                                },
                                {
                                  "name": "truncate_time",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "<p>Evaluates to number (epoch seconds).</p>",
                                  "modelRef": "#/components/schemas/TruncateTime",
                                  "customType": "TruncateTime",
                                  "schema": [
                                    {
                                      "name": "source",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "unit",
                                      "kind": "optional",
                                      "type": "string",
                                      "description": "",
                                      "default": "TIME_UNIT_NOT_SET",
                                      "modelRef": "#/components/schemas/TimeUnit",
                                      "customType": "TimeUnit",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "timezone",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    }
                                  ]
                                },
                                {
                                  "name": "shift_time",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "<p>Evaluates to number (epoch seconds).</p>",
                                  "modelRef": "#/components/schemas/ShiftTime",
                                  "customType": "ShiftTime",
                                  "schema": [
                                    {
                                      "name": "source",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "amount",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "unit",
                                      "kind": "optional",
                                      "type": "string",
                                      "description": "",
                                      "default": "TIME_UNIT_NOT_SET",
                                      "modelRef": "#/components/schemas/TimeUnit",
                                      "customType": "TimeUnit",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "timezone",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    }
                                  ]
                                },
                                {
                                  "name": "any_of_string",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/AnyOfString",
                                  "customType": "AnyOfString",
                                  "schema": [
                                    {
                                      "name": "needle",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "haystack",
                                      "kind": "optional",
                                      "type": "array",
                                      "description": "",
                                      "example": "",
                                      "itemType": "string",
                                      "customType": "string[]",
                                      "itemExample": "",
                                      "itemDefault": ""
                                    }
                                  ]
                                },
                                {
                                  "name": "any_of_number",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/AnyOfNumber",
                                  "customType": "AnyOfNumber",
                                  "schema": [
                                    {
                                      "name": "needle",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "haystack",
                                      "kind": "optional",
                                      "type": "array",
                                      "description": "",
                                      "example": "",
                                      "itemType": "string",
                                      "customType": "string[]",
                                      "itemExample": "",
                                      "itemDefault": ""
                                    }
                                  ]
                                },
                                {
                                  "name": "none_of_string",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/NoneOfString",
                                  "customType": "NoneOfString",
                                  "schema": [
                                    {
                                      "name": "needle",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "haystack",
                                      "kind": "optional",
                                      "type": "array",
                                      "description": "",
                                      "example": "",
                                      "itemType": "string",
                                      "customType": "string[]",
                                      "itemExample": "",
                                      "itemDefault": ""
                                    }
                                  ]
                                },
                                {
                                  "name": "none_of_number",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/NoneOfNumber",
                                  "customType": "NoneOfNumber",
                                  "schema": [
                                    {
                                      "name": "needle",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "haystack",
                                      "kind": "optional",
                                      "type": "array",
                                      "description": "",
                                      "example": "",
                                      "itemType": "string",
                                      "customType": "string[]",
                                      "itemExample": "",
                                      "itemDefault": ""
                                    }
                                  ]
                                },
                                {
                                  "name": "like_any_of_string",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/LikeAnyOfString",
                                  "customType": "LikeAnyOfString",
                                  "schema": [
                                    {
                                      "name": "needle",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "haystack",
                                      "kind": "optional",
                                      "type": "array",
                                      "description": "",
                                      "example": "",
                                      "itemType": "string",
                                      "customType": "string[]",
                                      "itemExample": "",
                                      "itemDefault": ""
                                    }
                                  ]
                                },
                                {
                                  "name": "like_none_of_string",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/LikeNoneOfString",
                                  "customType": "LikeNoneOfString",
                                  "schema": [
                                    {
                                      "name": "needle",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "",
                                      "modelRef": "#/components/schemas/Expression",
                                      "customType": "Expression",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "haystack",
                                      "kind": "optional",
                                      "type": "array",
                                      "description": "",
                                      "example": "",
                                      "itemType": "string",
                                      "customType": "string[]",
                                      "itemExample": "",
                                      "itemDefault": ""
                                    }
                                  ]
                                },
                                {
                                  "name": "is_list_member",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/IsListMember",
                                  "customType": "IsListMember",
                                  "schema": [
                                    {
                                      "name": "list",
                                      "kind": "optional",
                                      "type": "string",
                                      "description": ""
                                    }
                                  ]
                                },
                                {
                                  "name": "is_not_list_member",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Evaluates to boolean.",
                                  "modelRef": "#/components/schemas/IsNotListMember",
                                  "customType": "IsNotListMember",
                                  "schema": [
                                    {
                                      "name": "list",
                                      "kind": "optional",
                                      "type": "string",
                                      "description": ""
                                    }
                                  ]
                                }
                              ]
                            },
                            {
                              "name": "tracked_data",
                              "kind": "optional",
                              "type": "array",
                              "description": "Optional.",
                              "modelRef": "#/components/schemas/TrackedData",
                              "customType": "TrackedData[]",
                              "schema": [
                                {
                                  "name": "key",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "Must be unique within a SegmentDefinition.",
                                  "modelRef": "#/components/schemas/Key",
                                  "customType": "Key",
                                  "schema": [
                                    {
                                      "name": "key",
                                      "kind": "optional",
                                      "type": "string",
                                      "description": ""
                                    }
                                  ]
                                },
                                {
                                  "name": "source_path",
                                  "kind": "optional",
                                  "type": "string",
                                  "description": "<p>Path to a source object, eg: event.product or event.product.parent_product.</p>"
                                },
                                {
                                  "name": "field_sub_paths",
                                  "kind": "optional",
                                  "type": "array",
                                  "description": "<p>Within the source, set of field sub-paths, eg: (product_id, category.name_0).</p>",
                                  "example": "",
                                  "itemType": "string",
                                  "customType": "string[]",
                                  "itemExample": "",
                                  "itemDefault": ""
                                }
                              ]
                            },
                            {
                              "name": "max_age_seconds",
                              "kind": "optional",
                              "type": "integer<int32>",
                              "description": "<p>Must be between 1 and 2419200 (ie, 28 days).</p>",
                              "format": "int32"
                            },
                            {
                              "name": "goal",
                              "kind": "optional",
                              "type": "object",
                              "description": "",
                              "modelRef": "#/components/schemas/Continuation",
                              "customType": "Continuation",
                              "schema": [
                                {
                                  "name": "combination",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/Continuation.Combination",
                                  "customType": "Continuation.Combination",
                                  "schema": [
                                    {
                                      "name": "conjunction",
                                      "kind": "optional",
                                      "type": "string",
                                      "description": "",
                                      "default": "CONJUNCTION_NOT_SET",
                                      "modelRef": "#/components/schemas/Conjunction",
                                      "customType": "Conjunction",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "continuations",
                                      "kind": "optional",
                                      "type": "array",
                                      "description": "Cannot be empty.",
                                      "modelRef": "#/components/schemas/Continuation",
                                      "customType": "Continuation[]",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    }
                                  ]
                                },
                                {
                                  "name": "event_filter",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/Expression",
                                  "customType": "Expression",
                                  "schema": [
                                    {
                                      "name": "combination",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/Expression.Combination",
                                      "customType": "Expression.Combination",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "comparison",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/Comparison",
                                      "customType": "Comparison",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "path_reference",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to type of referenced field.",
                                      "modelRef": "#/components/schemas/PathReference",
                                      "customType": "PathReference",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "string_literal",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to string.",
                                      "modelRef": "#/components/schemas/StringLiteral",
                                      "customType": "StringLiteral",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "number_literal",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to number.",
                                      "modelRef": "#/components/schemas/NumberLiteral",
                                      "customType": "NumberLiteral",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "boolean_literal",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/BooleanLiteral",
                                      "customType": "BooleanLiteral",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "is_missing",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/IsMissing",
                                      "customType": "IsMissing",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "is_not_missing",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/IsNotMissing",
                                      "customType": "IsNotMissing",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "false_or_missing",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/FalseOrMissing",
                                      "customType": "FalseOrMissing",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "true_or_missing",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/TrueOrMissing",
                                      "customType": "TrueOrMissing",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "coalesce",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to type of source.",
                                      "modelRef": "#/components/schemas/Coalesce",
                                      "customType": "Coalesce",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "truncate_time",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "<p>Evaluates to number (epoch seconds).</p>",
                                      "modelRef": "#/components/schemas/TruncateTime",
                                      "customType": "TruncateTime",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "shift_time",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "<p>Evaluates to number (epoch seconds).</p>",
                                      "modelRef": "#/components/schemas/ShiftTime",
                                      "customType": "ShiftTime",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "any_of_string",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/AnyOfString",
                                      "customType": "AnyOfString",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "any_of_number",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/AnyOfNumber",
                                      "customType": "AnyOfNumber",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "none_of_string",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/NoneOfString",
                                      "customType": "NoneOfString",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "none_of_number",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/NoneOfNumber",
                                      "customType": "NoneOfNumber",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "like_any_of_string",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/LikeAnyOfString",
                                      "customType": "LikeAnyOfString",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "like_none_of_string",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/LikeNoneOfString",
                                      "customType": "LikeNoneOfString",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "is_list_member",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/IsListMember",
                                      "customType": "IsListMember",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "is_not_list_member",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/IsNotListMember",
                                      "customType": "IsNotListMember",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    }
                                  ]
                                },
                                {
                                  "name": "sequence_condition",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/SequenceCondition",
                                  "customType": "SequenceCondition",
                                  "schema": [
                                    {
                                      "name": "",
                                      "description": "",
                                      "customType": "Circular-Reference"
                                    }
                                  ]
                                },
                                {
                                  "name": "timeout_source",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/Expression",
                                  "customType": "Expression",
                                  "schema": [
                                    {
                                      "name": "combination",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/Expression.Combination",
                                      "customType": "Expression.Combination",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "comparison",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/Comparison",
                                      "customType": "Comparison",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "path_reference",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to type of referenced field.",
                                      "modelRef": "#/components/schemas/PathReference",
                                      "customType": "PathReference",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "string_literal",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to string.",
                                      "modelRef": "#/components/schemas/StringLiteral",
                                      "customType": "StringLiteral",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "number_literal",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to number.",
                                      "modelRef": "#/components/schemas/NumberLiteral",
                                      "customType": "NumberLiteral",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "boolean_literal",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/BooleanLiteral",
                                      "customType": "BooleanLiteral",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "is_missing",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/IsMissing",
                                      "customType": "IsMissing",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "is_not_missing",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/IsNotMissing",
                                      "customType": "IsNotMissing",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "false_or_missing",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/FalseOrMissing",
                                      "customType": "FalseOrMissing",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "true_or_missing",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/TrueOrMissing",
                                      "customType": "TrueOrMissing",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "coalesce",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to type of source.",
                                      "modelRef": "#/components/schemas/Coalesce",
                                      "customType": "Coalesce",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "truncate_time",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "<p>Evaluates to number (epoch seconds).</p>",
                                      "modelRef": "#/components/schemas/TruncateTime",
                                      "customType": "TruncateTime",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "shift_time",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "<p>Evaluates to number (epoch seconds).</p>",
                                      "modelRef": "#/components/schemas/ShiftTime",
                                      "customType": "ShiftTime",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "any_of_string",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/AnyOfString",
                                      "customType": "AnyOfString",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "any_of_number",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/AnyOfNumber",
                                      "customType": "AnyOfNumber",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "none_of_string",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/NoneOfString",
                                      "customType": "NoneOfString",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "none_of_number",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/NoneOfNumber",
                                      "customType": "NoneOfNumber",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "like_any_of_string",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/LikeAnyOfString",
                                      "customType": "LikeAnyOfString",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "like_none_of_string",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/LikeNoneOfString",
                                      "customType": "LikeNoneOfString",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "is_list_member",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/IsListMember",
                                      "customType": "IsListMember",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "is_not_list_member",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/IsNotListMember",
                                      "customType": "IsNotListMember",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    }
                                  ]
                                }
                              ]
                            },
                            {
                              "name": "disqualifier",
                              "kind": "optional",
                              "type": "object",
                              "description": "",
                              "modelRef": "#/components/schemas/Continuation",
                              "customType": "Continuation",
                              "schema": [
                                {
                                  "name": "combination",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/Continuation.Combination",
                                  "customType": "Continuation.Combination",
                                  "schema": [
                                    {
                                      "name": "conjunction",
                                      "kind": "optional",
                                      "type": "string",
                                      "description": "",
                                      "default": "CONJUNCTION_NOT_SET",
                                      "modelRef": "#/components/schemas/Conjunction",
                                      "customType": "Conjunction",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "continuations",
                                      "kind": "optional",
                                      "type": "array",
                                      "description": "Cannot be empty.",
                                      "modelRef": "#/components/schemas/Continuation",
                                      "customType": "Continuation[]",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    }
                                  ]
                                },
                                {
                                  "name": "event_filter",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/Expression",
                                  "customType": "Expression",
                                  "schema": [
                                    {
                                      "name": "combination",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/Expression.Combination",
                                      "customType": "Expression.Combination",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "comparison",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/Comparison",
                                      "customType": "Comparison",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "path_reference",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to type of referenced field.",
                                      "modelRef": "#/components/schemas/PathReference",
                                      "customType": "PathReference",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "string_literal",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to string.",
                                      "modelRef": "#/components/schemas/StringLiteral",
                                      "customType": "StringLiteral",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "number_literal",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to number.",
                                      "modelRef": "#/components/schemas/NumberLiteral",
                                      "customType": "NumberLiteral",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "boolean_literal",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/BooleanLiteral",
                                      "customType": "BooleanLiteral",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "is_missing",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/IsMissing",
                                      "customType": "IsMissing",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "is_not_missing",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/IsNotMissing",
                                      "customType": "IsNotMissing",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "false_or_missing",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/FalseOrMissing",
                                      "customType": "FalseOrMissing",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "true_or_missing",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/TrueOrMissing",
                                      "customType": "TrueOrMissing",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "coalesce",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to type of source.",
                                      "modelRef": "#/components/schemas/Coalesce",
                                      "customType": "Coalesce",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "truncate_time",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "<p>Evaluates to number (epoch seconds).</p>",
                                      "modelRef": "#/components/schemas/TruncateTime",
                                      "customType": "TruncateTime",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "shift_time",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "<p>Evaluates to number (epoch seconds).</p>",
                                      "modelRef": "#/components/schemas/ShiftTime",
                                      "customType": "ShiftTime",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "any_of_string",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/AnyOfString",
                                      "customType": "AnyOfString",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "any_of_number",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/AnyOfNumber",
                                      "customType": "AnyOfNumber",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "none_of_string",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/NoneOfString",
                                      "customType": "NoneOfString",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "none_of_number",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/NoneOfNumber",
                                      "customType": "NoneOfNumber",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "like_any_of_string",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/LikeAnyOfString",
                                      "customType": "LikeAnyOfString",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "like_none_of_string",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/LikeNoneOfString",
                                      "customType": "LikeNoneOfString",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "is_list_member",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/IsListMember",
                                      "customType": "IsListMember",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "is_not_list_member",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/IsNotListMember",
                                      "customType": "IsNotListMember",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    }
                                  ]
                                },
                                {
                                  "name": "sequence_condition",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/SequenceCondition",
                                  "customType": "SequenceCondition",
                                  "schema": [
                                    {
                                      "name": "",
                                      "description": "",
                                      "customType": "Circular-Reference"
                                    }
                                  ]
                                },
                                {
                                  "name": "timeout_source",
                                  "kind": "optional",
                                  "type": "object",
                                  "description": "",
                                  "modelRef": "#/components/schemas/Expression",
                                  "customType": "Expression",
                                  "schema": [
                                    {
                                      "name": "combination",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/Expression.Combination",
                                      "customType": "Expression.Combination",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "comparison",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/Comparison",
                                      "customType": "Comparison",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "path_reference",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to type of referenced field.",
                                      "modelRef": "#/components/schemas/PathReference",
                                      "customType": "PathReference",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "string_literal",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to string.",
                                      "modelRef": "#/components/schemas/StringLiteral",
                                      "customType": "StringLiteral",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "number_literal",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to number.",
                                      "modelRef": "#/components/schemas/NumberLiteral",
                                      "customType": "NumberLiteral",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "boolean_literal",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/BooleanLiteral",
                                      "customType": "BooleanLiteral",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "is_missing",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/IsMissing",
                                      "customType": "IsMissing",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "is_not_missing",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/IsNotMissing",
                                      "customType": "IsNotMissing",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "false_or_missing",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/FalseOrMissing",
                                      "customType": "FalseOrMissing",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "true_or_missing",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/TrueOrMissing",
                                      "customType": "TrueOrMissing",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "coalesce",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to type of source.",
                                      "modelRef": "#/components/schemas/Coalesce",
                                      "customType": "Coalesce",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "truncate_time",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "<p>Evaluates to number (epoch seconds).</p>",
                                      "modelRef": "#/components/schemas/TruncateTime",
                                      "customType": "TruncateTime",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "shift_time",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "<p>Evaluates to number (epoch seconds).</p>",
                                      "modelRef": "#/components/schemas/ShiftTime",
                                      "customType": "ShiftTime",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "any_of_string",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/AnyOfString",
                                      "customType": "AnyOfString",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "any_of_number",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/AnyOfNumber",
                                      "customType": "AnyOfNumber",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "none_of_string",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/NoneOfString",
                                      "customType": "NoneOfString",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "none_of_number",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/NoneOfNumber",
                                      "customType": "NoneOfNumber",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "like_any_of_string",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/LikeAnyOfString",
                                      "customType": "LikeAnyOfString",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "like_none_of_string",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/LikeNoneOfString",
                                      "customType": "LikeNoneOfString",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "is_list_member",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/IsListMember",
                                      "customType": "IsListMember",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    },
                                    {
                                      "name": "is_not_list_member",
                                      "kind": "optional",
                                      "type": "object",
                                      "description": "Evaluates to boolean.",
                                      "modelRef": "#/components/schemas/IsNotListMember",
                                      "customType": "IsNotListMember",
                                      "schema": [
                                        {
                                          "name": "",
                                          "description": "",
                                          "customType": "Max depth limit reached"
                                        }
                                      ]
                                    }
                                  ]
                                }
                              ]
                            }
                          ]
                        },
                        {
                          "name": "min_count",
                          "kind": "optional",
                          "type": "integer<int32>",
                          "description": "<p>Optional, but at least one of min_count or max_count should be specified.</p>",
                          "format": "int32"
                        },
                        {
                          "name": "max_count",
                          "kind": "optional",
                          "type": "integer<int32>",
                          "description": "<p>Optional, cannot be less than min_count.</p>",
                          "format": "int32"
                        }
                      ]
                    }
                  ]
                },
                {
                  "name": "collections",
                  "kind": "optional",
                  "type": "array",
                  "description": "",
                  "modelRef": "#/components/schemas/Collection",
                  "customType": "Collection[]",
                  "schema": [
                    {
                      "name": "key",
                      "kind": "optional",
                      "type": "string",
                      "description": ""
                    },
                    {
                      "name": "source",
                      "kind": "optional",
                      "type": "object",
                      "description": "Must be unique within a SegmentDefinition.",
                      "modelRef": "#/components/schemas/Key",
                      "customType": "Key",
                      "schema": [
                        {
                          "name": "key",
                          "kind": "optional",
                          "type": "string",
                          "description": ""
                        }
                      ]
                    },
                    {
                      "name": "narrowed_sub_paths",
                      "kind": "optional",
                      "type": "array",
                      "description": "<p>Optional, a subset of the tracked data's sub-paths for narrowing the output.</p>",
                      "example": "",
                      "itemType": "string",
                      "customType": "string[]",
                      "itemExample": "",
                      "itemDefault": ""
                    },
                    {
                      "name": "unique",
                      "kind": "optional",
                      "type": "boolean",
                      "description": "Only output unique rows."
                    }
                  ]
                }
              ]
            }
          ],
          "isExpanded": true
        }
      ],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "ApiKeyAuth",
          "name": "x-api-key",
          "kind": "optional",
          "type": "apiKey",
          "in": "header"
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "A successful response.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "example": "{\"revision\":1}",
            "description": "",
            "customType": "InstallSegmentResponse",
            "schema": [
              {
                "name": "revision",
                "kind": "optional",
                "type": "integer<int32>",
                "description": "",
                "format": "int32"
              }
            ],
            "modelRef": "#/components/schemas/InstallSegmentResponse",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "201",
        "description": "Created.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "example": "{\"revision\":1}",
            "description": "",
            "customType": "InstallSegmentResponse",
            "schema": [
              {
                "name": "revision",
                "kind": "optional",
                "type": "integer<int32>",
                "description": "",
                "format": "int32"
              }
            ],
            "modelRef": "#/components/schemas/InstallSegmentResponse",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "400",
        "description": "Bad Request.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "undefined",
            "description": "",
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "9NLte8EwPgFVb0OrvaTFe",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request POST \\\n     --url //api.us1.odp.optimizely.com/v3/segments/{segment_id} \\\n     --header 'accept: application/json' \\\n     --header 'content-type: application/json' \\\n     --data '{\n     \"definition\": {\n     \"root_condition\": {\n     \"combination\": {\n     \"conjunction\": \"CONJUNCTION_NOT_SET\"\n     },\n     \"customer_condition\": {\n     \"customer_filter\": {\n     \"combination\": {\n     \"conjunction\": \"CONJUNCTION_NOT_SET\"\n     },\n     \"comparison\": {\n     \"comparator\": \"COMPARATOR_NOT_SET\"\n     },\n     \"truncate_time\": {\n     \"unit\": \"TIME_UNIT_NOT_SET\"\n     },\n     \"shift_time\": {\n     \"unit\": \"TIME_UNIT_NOT_SET\"\n     }\n     }\n     },\n     \"sequence_condition\": {\n     \"sequence\": {\n     \"entry_event_filter\": {\n     \"combination\": {\n     \"conjunction\": \"CONJUNCTION_NOT_SET\"\n     },\n     \"comparison\": {\n     \"comparator\": \"COMPARATOR_NOT_SET\"\n     },\n     \"truncate_time\": {\n     \"unit\": \"TIME_UNIT_NOT_SET\"\n     },\n     \"shift_time\": {\n     \"unit\": \"TIME_UNIT_NOT_SET\"\n     }\n     },\n     \"unique_key_sources\": [\n     {\n     \"combination\": {\n     \"conjunction\": \"CONJUNCTION_NOT_SET\"\n     },\n     \"comparison\": {\n     \"comparator\": \"COMPARATOR_NOT_SET\"\n     },\n     \"truncate_time\": {\n     \"unit\": \"TIME_UNIT_NOT_SET\"\n     },\n     \"shift_time\": {\n     \"unit\": \"TIME_UNIT_NOT_SET\"\n     }\n     }\n     ],\n     \"goal\": {\n     \"combination\": {\n     \"conjunction\": \"CONJUNCTION_NOT_SET\"\n     }\n     },\n     \"disqualifier\": {\n     \"combination\": {\n     \"conjunction\": \"CONJUNCTION_NOT_SET\"\n     }\n     }\n     }\n     }\n     }\n     }\n     }'"
        },
        {
          "id": "yR8E1ELpxLAn83UNKnb2p",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar raw = JSON.stringify({\n   \"definition\": {\n      \"root_condition\": {\n         \"combination\": {\n            \"conjunction\": \"CONJUNCTION_NOT_SET\"\n         },\n         \"customer_condition\": {\n            \"customer_filter\": {\n               \"combination\": {\n                  \"conjunction\": \"CONJUNCTION_NOT_SET\"\n               },\n               \"comparison\": {\n                  \"comparator\": \"COMPARATOR_NOT_SET\"\n               },\n               \"truncate_time\": {\n                  \"unit\": \"TIME_UNIT_NOT_SET\"\n               },\n               \"shift_time\": {\n                  \"unit\": \"TIME_UNIT_NOT_SET\"\n               }\n            }\n         },\n         \"sequence_condition\": {\n            \"sequence\": {\n               \"entry_event_filter\": {\n                  \"combination\": {\n                     \"conjunction\": \"CONJUNCTION_NOT_SET\"\n                  },\n                  \"comparison\": {\n                     \"comparator\": \"COMPARATOR_NOT_SET\"\n                  },\n                  \"truncate_time\": {\n                     \"unit\": \"TIME_UNIT_NOT_SET\"\n                  },\n                  \"shift_time\": {\n                     \"unit\": \"TIME_UNIT_NOT_SET\"\n                  }\n               },\n               \"unique_key_sources\": [\n                  {\n                     \"combination\": {\n                        \"conjunction\": \"CONJUNCTION_NOT_SET\"\n                     },\n                     \"comparison\": {\n                        \"comparator\": \"COMPARATOR_NOT_SET\"\n                     },\n                     \"truncate_time\": {\n                        \"unit\": \"TIME_UNIT_NOT_SET\"\n                     },\n                     \"shift_time\": {\n                        \"unit\": \"TIME_UNIT_NOT_SET\"\n                     }\n                  }\n               ],\n               \"goal\": {\n                  \"combination\": {\n                     \"conjunction\": \"CONJUNCTION_NOT_SET\"\n                  }\n               },\n               \"disqualifier\": {\n                  \"combination\": {\n                     \"conjunction\": \"CONJUNCTION_NOT_SET\"\n                  }\n               }\n            }\n         }\n      }\n   }\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"//api.us1.odp.optimizely.com/v3/segments/{segment_id}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "xjsFTLrJzU_oDhffSgQoF",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"//api.us1.odp.optimizely.com/v3/segments/{segment_id}\")\n\nhttp = Net::HTTP.new(url.host, url.port);\nrequest = Net::HTTP::Post.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\nrequest.body = JSON.dump({\n   \"definition\": {\n      \"root_condition\": {\n         \"combination\": {\n            \"conjunction\": \"CONJUNCTION_NOT_SET\"\n         },\n         \"customer_condition\": {\n            \"customer_filter\": {\n               \"combination\": {\n                  \"conjunction\": \"CONJUNCTION_NOT_SET\"\n               },\n               \"comparison\": {\n                  \"comparator\": \"COMPARATOR_NOT_SET\"\n               },\n               \"truncate_time\": {\n                  \"unit\": \"TIME_UNIT_NOT_SET\"\n               },\n               \"shift_time\": {\n                  \"unit\": \"TIME_UNIT_NOT_SET\"\n               }\n            }\n         },\n         \"sequence_condition\": {\n            \"sequence\": {\n               \"entry_event_filter\": {\n                  \"combination\": {\n                     \"conjunction\": \"CONJUNCTION_NOT_SET\"\n                  },\n                  \"comparison\": {\n                     \"comparator\": \"COMPARATOR_NOT_SET\"\n                  },\n                  \"truncate_time\": {\n                     \"unit\": \"TIME_UNIT_NOT_SET\"\n                  },\n                  \"shift_time\": {\n                     \"unit\": \"TIME_UNIT_NOT_SET\"\n                  }\n               },\n               \"unique_key_sources\": [\n                  {\n                     \"combination\": {\n                        \"conjunction\": \"CONJUNCTION_NOT_SET\"\n                     },\n                     \"comparison\": {\n                        \"comparator\": \"COMPARATOR_NOT_SET\"\n                     },\n                     \"truncate_time\": {\n                        \"unit\": \"TIME_UNIT_NOT_SET\"\n                     },\n                     \"shift_time\": {\n                        \"unit\": \"TIME_UNIT_NOT_SET\"\n                     }\n                  }\n               ],\n               \"goal\": {\n                  \"combination\": {\n                     \"conjunction\": \"CONJUNCTION_NOT_SET\"\n                  }\n               },\n               \"disqualifier\": {\n                  \"combination\": {\n                     \"conjunction\": \"CONJUNCTION_NOT_SET\"\n                  }\n               }\n            }\n         }\n      }\n   }\n})\n\nresponse = http.request(request)\nputs response.read_body\n"
        },
        {
          "id": "CKdTSowAtzBLJ0QOP1YDg",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"//api.us1.odp.optimizely.com/v3/segments/{segment_id}\"\n\npayload = json.dumps({\n   \"definition\": {\n      \"root_condition\": {\n         \"combination\": {\n            \"conjunction\": \"CONJUNCTION_NOT_SET\"\n         },\n         \"customer_condition\": {\n            \"customer_filter\": {\n               \"combination\": {\n                  \"conjunction\": \"CONJUNCTION_NOT_SET\"\n               },\n               \"comparison\": {\n                  \"comparator\": \"COMPARATOR_NOT_SET\"\n               },\n               \"truncate_time\": {\n                  \"unit\": \"TIME_UNIT_NOT_SET\"\n               },\n               \"shift_time\": {\n                  \"unit\": \"TIME_UNIT_NOT_SET\"\n               }\n            }\n         },\n         \"sequence_condition\": {\n            \"sequence\": {\n               \"entry_event_filter\": {\n                  \"combination\": {\n                     \"conjunction\": \"CONJUNCTION_NOT_SET\"\n                  },\n                  \"comparison\": {\n                     \"comparator\": \"COMPARATOR_NOT_SET\"\n                  },\n                  \"truncate_time\": {\n                     \"unit\": \"TIME_UNIT_NOT_SET\"\n                  },\n                  \"shift_time\": {\n                     \"unit\": \"TIME_UNIT_NOT_SET\"\n                  }\n               },\n               \"unique_key_sources\": [\n                  {\n                     \"combination\": {\n                        \"conjunction\": \"CONJUNCTION_NOT_SET\"\n                     },\n                     \"comparison\": {\n                        \"comparator\": \"COMPARATOR_NOT_SET\"\n                     },\n                     \"truncate_time\": {\n                        \"unit\": \"TIME_UNIT_NOT_SET\"\n                     },\n                     \"shift_time\": {\n                        \"unit\": \"TIME_UNIT_NOT_SET\"\n                     }\n                  }\n               ],\n               \"goal\": {\n                  \"combination\": {\n                     \"conjunction\": \"CONJUNCTION_NOT_SET\"\n                  }\n               },\n               \"disqualifier\": {\n                  \"combination\": {\n                     \"conjunction\": \"CONJUNCTION_NOT_SET\"\n                  }\n               }\n            }\n         }\n      }\n   }\n})\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "9NLte8EwPgFVb0OrvaTFe"
    },
    "results": {
      "languages": [
        {
          "id": "response-0-200",
          "language": "200",
          "code": "// A successful response.\n{\n  \"revision\": \"\"\n}"
        },
        {
          "id": "response-1-201",
          "language": "201",
          "code": "// Created.\n{\n  \"revision\": \"\"\n}"
        },
        {
          "id": "response-2-400",
          "language": "400",
          "code": "// Bad Request.\n\"\""
        }
      ],
      "selectedLanguageId": "response-0-200"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}