{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/foresea-ink/json-schema/foresea-ink-batch-forecast-request-schema.json",
  "title": "BatchForecastRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/foresea-ink-predict-api-openapi.yml#/components/schemas/BatchForecastRequest",
  "properties": {
    "questions": {
      "items": {
        "$ref": "#/$defs/BatchForecastItem"
      },
      "type": "array",
      "maxItems": 20,
      "minItems": 1,
      "title": "Questions"
    },
    "model": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Model"
    }
  },
  "type": "object",
  "required": [
    "questions"
  ],
  "$defs": {
    "BatchForecastItem": {
      "properties": {
        "id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Id"
        },
        "question": {
          "type": "string",
          "maxLength": 800,
          "minLength": 1,
          "title": "Question"
        },
        "market_platform": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Market Platform"
        },
        "market_probability": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Market Probability"
        },
        "market_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Market Url"
        }
      },
      "type": "object",
      "required": [
        "question"
      ],
      "title": "BatchForecastItem"
    }
  }
}