{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/opper/json-schema/opper-dynamic-route-simulate-request-schema.json",
  "title": "DynamicRouteSimulateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/opper-management-api-openapi.yml#/components/schemas/DynamicRouteSimulateRequest",
  "properties": {
    "input": {
      "description": "The request body a conditional or classifier node reads; in the shape of the compat endpoint you call the route from (for chat completions: messages).",
      "type": "object"
    },
    "metadata": {
      "description": "Request metadata a conditional node can test (tags; headers; the caller's project).",
      "type": "object"
    },
    "overrides": {
      "description": "Forced outcomes per node id: which conditional case matches; which percentage bucket is drawn; whether a model succeeds or fails; which classifier case is picked.",
      "properties": {
        "classifier_cases": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "conditional_cases": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "model_outcomes": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "percentage_buckets": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        }
      },
      "type": "object"
    },
    "request_id": {
      "description": "Seeds the percentage-split draw so a run is reproducible.",
      "type": "string"
    },
    "version_number": {
      "description": "Omit or set null to simulate the current draft; supply a positive existing deployed version to simulate history. Zero is invalid.",
      "minimum": 1,
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "type": "object"
}