{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/v3.StockSplitList",
  "title": "v3.StockSplitList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/roic-ai-market-data-api-openapi.yml#/components/schemas/v3.StockSplitList",
  "additionalProperties": false,
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "additionalProperties": false,
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "object": {
            "const": "v3.market_data.stock_split",
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "exchange": {
            "type": "string"
          },
          "mic": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "execution_date": {
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "minLength": 10,
            "maxLength": 10,
            "description": "A calendar date in YYYY-MM-DD format.",
            "type": "string"
          },
          "factor": {
            "exclusiveMinimum": 0,
            "type": "number"
          },
          "split_from": {
            "anyOf": [
              {
                "minimum": 1,
                "anyOf": [
                  {
                    "format": "integer",
                    "default": 0,
                    "type": "string"
                  },
                  {
                    "minimum": 1,
                    "type": "integer"
                  }
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "split_to": {
            "anyOf": [
              {
                "minimum": 1,
                "anyOf": [
                  {
                    "format": "integer",
                    "default": 0,
                    "type": "string"
                  },
                  {
                    "minimum": 1,
                    "type": "integer"
                  }
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "is_reverse": {
            "type": "boolean"
          },
          "pre_split_shares": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "post_split_shares": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "pre_split_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "post_split_price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "currency": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "object",
          "symbol",
          "exchange",
          "mic",
          "execution_date",
          "factor",
          "split_from",
          "split_to",
          "is_reverse",
          "pre_split_shares",
          "post_split_shares",
          "pre_split_price",
          "post_split_price",
          "currency",
          "updated_at"
        ],
        "$id": "#/components/schemas/v3.StockSplit"
      }
    },
    "next_page_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "previous_page_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "data",
    "next_page_url",
    "previous_page_url"
  ]
}