{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/modelmarket-dev/json-schema/modelmarket-dev-ask-body-schema.json",
  "title": "AskBody",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/atlas-modelmarket-dev-openapi.json#/components/schemas/AskBody",
  "properties": {
    "question": {
      "type": "string",
      "maxLength": 4000,
      "minLength": 1,
      "title": "Question"
    },
    "locale": {
      "type": "string",
      "title": "Locale",
      "default": "en"
    },
    "provider": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Provider"
    },
    "model_role": {
      "type": "string",
      "pattern": "^(heavy|light)$",
      "title": "Model Role",
      "default": "heavy"
    },
    "station_ids": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Station Ids"
    },
    "bbox": {
      "anyOf": [
        {
          "additionalProperties": {
            "type": "number"
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Bbox"
    },
    "report": {
      "type": "boolean",
      "title": "Report",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "question"
  ]
}