{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bot-trade-org/json-schema/bot-trade-org-scenario-list-output-body-schema.json",
  "title": "ScenarioListOutputBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bot-trade-org-scenarios-api-openapi.yml#/components/schemas/ScenarioListOutputBody",
  "additionalProperties": false,
  "properties": {
    "$schema": {
      "description": "A URL to the JSON Schema for this object.",
      "format": "uri",
      "readOnly": true,
      "type": "string"
    },
    "scenarios": {
      "items": {
        "$ref": "#/$defs/Scenario"
      },
      "type": [
        "array",
        "null"
      ]
    }
  },
  "required": [
    "scenarios"
  ],
  "type": "object",
  "$defs": {
    "Scenario": {
      "additionalProperties": false,
      "properties": {
        "bar_resolution": {
          "type": "string"
        },
        "benchmark_symbol": {
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "type": "string"
        },
        "current_version": {
          "format": "int64",
          "type": "integer"
        },
        "description": {
          "type": "string"
        },
        "end_ts": {
          "format": "date-time",
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "leverage_cap": {
          "format": "double",
          "type": "number"
        },
        "name": {
          "type": "string"
        },
        "short_enabled": {
          "type": "boolean"
        },
        "slippage_bps": {
          "additionalProperties": {
            "format": "int64",
            "type": "integer"
          },
          "type": "object"
        },
        "slug": {
          "type": "string"
        },
        "start_ts": {
          "format": "date-time",
          "type": "string"
        },
        "starting_cash": {
          "format": "double",
          "type": "number"
        },
        "status": {
          "type": "string"
        },
        "universe": {
          "items": {
            "type": "string"
          },
          "type": [
            "array",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "slug",
        "name",
        "description",
        "bar_resolution",
        "start_ts",
        "end_ts",
        "starting_cash",
        "leverage_cap",
        "short_enabled",
        "universe",
        "slippage_bps",
        "benchmark_symbol",
        "status",
        "current_version",
        "created_at"
      ],
      "type": "object"
    }
  }
}