{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alphaai/json-schema/alphaai-ticker-insider-summary-schema.json",
  "title": "TickerInsiderSummary",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alphaai-symbols-api-openapi.yml#/components/schemas/TickerInsiderSummary",
  "type": "object",
  "required": [
    "ticker",
    "days",
    "total_transactions",
    "buy_count",
    "sell_count",
    "pct_10b5_1",
    "top_insiders"
  ],
  "properties": {
    "ticker": {
      "type": "string"
    },
    "days": {
      "type": "integer"
    },
    "total_transactions": {
      "type": "integer"
    },
    "buy_count": {
      "type": "integer"
    },
    "sell_count": {
      "type": "integer"
    },
    "buy_value_usd": {
      "type": [
        "string",
        "null"
      ],
      "description": "Decimal string in USD; null when the window has no buys."
    },
    "sell_value_usd": {
      "type": [
        "string",
        "null"
      ],
      "description": "Decimal string in USD; null when the window has no sells."
    },
    "pct_10b5_1": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100,
      "description": "Share of transactions executed under a pre-arranged 10b5-1 plan, in percent."
    },
    "top_insiders": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TopInsider"
      }
    }
  },
  "$defs": {
    "TopInsider": {
      "type": "object",
      "required": [
        "name",
        "title",
        "transaction_count"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "title": {
          "type": "string",
          "description": "Officer title from the filing; empty when the filer reports as a director only."
        },
        "transaction_count": {
          "type": "integer"
        },
        "net_value": {
          "type": [
            "string",
            "null"
          ],
          "description": "Buys minus sells in USD over the window, as a decimal string."
        }
      }
    }
  }
}