{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stockdrifts-io/json-schema/stockdrifts-io-stock-summary-mat-row-schema.json",
  "title": "StockSummaryMatRow",
  "description": "All-time aggregated insider activity for one KR ticker.",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stockdrifts-io-openapi.json#/components/schemas/StockSummaryMatRow",
  "properties": {
    "market": {
      "type": "string",
      "title": "Market"
    },
    "stock_code": {
      "type": "string",
      "title": "Stock Code"
    },
    "company_name": {
      "type": "string",
      "title": "Company Name"
    },
    "trade_count": {
      "type": "integer",
      "title": "Trade Count"
    },
    "insider_count": {
      "type": "integer",
      "title": "Insider Count"
    },
    "first_trade": {
      "type": "string",
      "title": "First Trade"
    },
    "last_trade": {
      "type": "string",
      "title": "Last Trade"
    },
    "price_current": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Price Current"
    },
    "buy_count": {
      "type": "integer",
      "title": "Buy Count"
    },
    "buy_insider_count": {
      "type": "integer",
      "title": "Buy Insider Count"
    },
    "buy_total_value": {
      "type": "number",
      "title": "Buy Total Value"
    },
    "buy_avg_return": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Buy Avg Return"
    },
    "sell_count": {
      "type": "integer",
      "title": "Sell Count"
    },
    "sell_insider_count": {
      "type": "integer",
      "title": "Sell Insider Count"
    },
    "sell_total_value": {
      "type": "number",
      "title": "Sell Total Value"
    },
    "om_trade_count": {
      "type": "integer",
      "title": "Om Trade Count"
    },
    "om_insider_count": {
      "type": "integer",
      "title": "Om Insider Count"
    },
    "om_total_value": {
      "type": "number",
      "title": "Om Total Value"
    },
    "om_avg_return": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Om Avg Return"
    },
    "om_buy_count": {
      "type": "integer",
      "title": "Om Buy Count"
    },
    "om_sell_count": {
      "type": "integer",
      "title": "Om Sell Count"
    },
    "prog_trade_count": {
      "type": "integer",
      "title": "Prog Trade Count"
    },
    "prog_insider_count": {
      "type": "integer",
      "title": "Prog Insider Count"
    },
    "prog_total_value": {
      "type": "number",
      "title": "Prog Total Value"
    },
    "prog_avg_return": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Prog Avg Return"
    },
    "prog_buy_count": {
      "type": "integer",
      "title": "Prog Buy Count"
    },
    "prog_sell_count": {
      "type": "integer",
      "title": "Prog Sell Count"
    },
    "other_trade_count": {
      "type": "integer",
      "title": "Other Trade Count"
    },
    "other_insider_count": {
      "type": "integer",
      "title": "Other Insider Count"
    },
    "other_total_value": {
      "type": "number",
      "title": "Other Total Value"
    },
    "other_avg_return": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Other Avg Return"
    },
    "other_buy_count": {
      "type": "integer",
      "title": "Other Buy Count"
    },
    "other_sell_count": {
      "type": "integer",
      "title": "Other Sell Count"
    }
  },
  "type": "object",
  "required": [
    "market",
    "stock_code",
    "company_name",
    "trade_count",
    "insider_count",
    "first_trade",
    "last_trade",
    "buy_count",
    "buy_insider_count",
    "buy_total_value",
    "sell_count",
    "sell_insider_count",
    "sell_total_value",
    "om_trade_count",
    "om_insider_count",
    "om_total_value",
    "om_buy_count",
    "om_sell_count",
    "prog_trade_count",
    "prog_insider_count",
    "prog_total_value",
    "prog_buy_count",
    "prog_sell_count",
    "other_trade_count",
    "other_insider_count",
    "other_total_value",
    "other_buy_count",
    "other_sell_count"
  ]
}