{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/optimizely/main/json-schema/optimizely-experiment-input-schema.json",
  "title": "ExperimentInput",
  "description": "Input for creating or updating an experiment",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optimizely-experiments-api-openapi.yml#/components/schemas/ExperimentInput",
  "type": "object",
  "properties": {
    "project_id": {
      "type": "integer",
      "format": "int64",
      "description": "The project this experiment belongs to"
    },
    "name": {
      "type": "string",
      "description": "Human-readable name of the experiment"
    },
    "description": {
      "type": "string",
      "description": "Description of the experiment"
    },
    "status": {
      "type": "string",
      "description": "Current status",
      "enum": [
        "active",
        "paused",
        "not_started",
        "archived"
      ]
    }
  }
}