{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lastmileai/main/json-schema/lastmileai-lmai-proto-webserver-v2-create-experiment-request-schema.json",
  "title": "CreateExperimentRequest",
  "description": "Create an Experiment",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lastmileai-openapi.json#/components/schemas/lmai.proto.webserver.v2.CreateExperimentRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Human-readable name for the experiment"
    },
    "description": {
      "type": "string",
      "description": "Succint description of the experiment, if one exists."
    },
    "projectId": {
      "type": "string",
      "description": "Project the experiment is associated with"
    },
    "metadata": {
      "$ref": "#/$defs/google.protobuf.Struct",
      "description": "Metadata relevant to the application configuration from which all\n experiment evaluation runs are derived. E.g. 'llm_model', 'chunk_size'"
    }
  },
  "required": [
    "name",
    "projectId"
  ],
  "$defs": {
    "google.protobuf.Struct": {
      "title": "Struct",
      "type": "object",
      "properties": {
        "fields": {
          "type": "object",
          "additionalProperties": {
            "description": "Ordered row values with length always equal to `num_rows` on the\n corresponding view.",
            "type": "object",
            "additionalProperties": true
          }
        }
      },
      "required": [
        "fields"
      ]
    }
  }
}