Optimizely · Schema

FieldListResponseItem

A/B TestingContent ManagementCustomer DataE-CommerceExperimentationFeature FlagsMarketing
View JSON Schema on GitHub

JSON Schema

optimizely-field-list-response-item-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/optimizely/main/json-schema/optimizely-field-list-response-item-schema.json",
  "title": "FieldListResponseItem",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optimizely-events-api-openapi.yml#/components/schemas/FieldListResponseItem",
  "oneOf": [
    {
      "$ref": "#/$defs/FieldTypeCommon"
    },
    {
      "$ref": "#/$defs/FieldTypeLabel"
    },
    {
      "$ref": "#/$defs/FieldTypeDropdown"
    },
    {
      "$ref": "#/$defs/FieldTypeRadio"
    },
    {
      "$ref": "#/$defs/FieldTypeCheckbox"
    },
    {
      "$ref": "#/$defs/FieldTypeSimpleNumber"
    },
    {
      "$ref": "#/$defs/FieldTypePercentageNumber"
    },
    {
      "$ref": "#/$defs/FieldTypeCurrencyNumber"
    }
  ],
  "$defs": {
    "FieldBaseType": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string",
          "description": "Identifier of the field"
        },
        "name": {
          "type": "string",
          "description": "Name of the field"
        },
        "values": {
          "type": "array",
          "description": "List of selected values or from user input",
          "items": {
            "type": "string"
          }
        },
        "type": {
          "type": "string",
          "description": "Type of the field"
        }
      },
      "required": [
        "id",
        "name",
        "type",
        "values"
      ]
    },
    "FieldTypeCheckbox": {
      "allOf": [
        {
          "$ref": "#/$defs/FieldBaseType"
        },
        {
          "type": "object",
          "properties": {
            "choices": {
              "type": "array",
              "description": "Choices of the checkbox",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "Identifier of the choice"
                  },
                  "name": {
                    "type": "string",
                    "description": "Name of the choice"
                  }
                },
                "required": [
                  "id",
                  "name",
                  "color"
                ]
              }
            }
          },
          "required": [
            "choices"
          ]
        }
      ]
    },
    "FieldTypeCommon": {
      "allOf": [
        {
          "$ref": "#/$defs/FieldBaseType"
        },
        {
          "type": "object"
        }
      ]
    },
    "FieldTypeCurrencyNumber": {
      "allOf": [
        {
          "$ref": "#/$defs/FieldBaseType"
        },
        {
          "type": "object",
          "properties": {
            "has_thousand_separator": {
              "type": "boolean",
              "description": "Whether the numerical field has a thousand separator"
            },
            "decimal_places": {
              "type": [
                "integer",
                "null"
              ],
              "description": "Decimal place of the numerical field"
            },
            "currency_code": {
              "type": "string",
              "description": "Currency code of the numerical field"
            }
          },
          "required": [
            "has_thousand_separator",
            "decimal_places",
            "currency_code"
          ]
        }
      ]
    },
    "FieldTypeDropdown": {
      "allOf": [
        {
          "$ref": "#/$defs/FieldBaseType"
        },
        {
          "type": "object",
          "properties": {
            "is_multi_select": {
              "type": "boolean",
              "description": "Select multiple values from the dropdown"
            },
            "choices": {
              "type": "array",
              "description": "Choices of the dropdown",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "Identifier of the choice"
                  },
                  "name": {
                    "type": "string",
                    "description": "Name of the choice"
                  }
                },
                "required": [
                  "id",
                  "name"
                ]
              }
            }
          },
          "required": [
            "is_multi_select",
            "choices"
          ]
        }
      ]
    },
    "FieldTypeLabel": {
      "allOf": [
        {
          "$ref": "#/$defs/FieldBaseType"
        },
        {
          "type": "object",
          "properties": {
            "is_multi_select": {
              "type": "boolean",
              "description": "Select multiple values from the label"
            },
            "choices": {
              "type": "array",
              "description": "Choices of the label",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "Identifier of the choice"
                  },
                  "name": {
                    "type": "string",
                    "description": "Name of the choice"
                  }
                },
                "required": [
                  "id",
                  "name",
                  "color"
                ]
              }
            }
          },
          "required": [
            "is_multi_select",
            "choices"
          ]
        }
      ]
    },
    "FieldTypePercentageNumber": {
      "allOf": [
        {
          "$ref": "#/$defs/FieldBaseType"
        },
        {
          "type": "object",
          "properties": {
            "decimal_places": {
              "type": [
                "integer",
                "null"
              ],
              "description": "Decimal place of the numerical field"
            }
          },
          "required": [
            "decimal_places"
          ]
        }
      ]
    },
    "FieldTypeRadio": {
      "allOf": [
        {
          "$ref": "#/$defs/FieldBaseType"
        },
        {
          "type": "object",
          "properties": {
            "choices": {
              "type": "array",
              "description": "Choices of the radio button",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "Identifier of the choice"
                  },
                  "name": {
                    "type": "string",
                    "description": "Name of the choice"
                  }
                },
                "required": [
                  "id",
                  "name",
                  "color"
                ]
              }
            }
          },
          "required": [
            "choices"
          ]
        }
      ]
    },
    "FieldTypeSimpleNumber": {
      "allOf": [
        {
          "$ref": "#/$defs/FieldBaseType"
        },
        {
          "type": "object",
          "properties": {
            "has_thousand_separator": {
              "type": "boolean",
              "description": "Whether the numerical field has a thousand separator"
            },
            "decimal_places": {
              "type": [
                "integer",
                "null"
              ],
              "description": "Decimal place of the numerical field"
            }
          },
          "required": [
            "has_thousand_separator",
            "decimal_places"
          ]
        }
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/optimizely-field-list-response-item"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.