{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alphaai/json-schema/alphaai-sector-symbols-schema.json",
  "title": "SectorSymbols",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alphaai-symbols-api-openapi.yml#/components/schemas/SectorSymbols",
  "type": "object",
  "required": [
    "sector",
    "slug",
    "count",
    "total_count",
    "page",
    "page_size",
    "has_next",
    "symbols"
  ],
  "properties": {
    "sector": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "count": {
      "type": "integer",
      "description": "Number of symbols on this page."
    },
    "total_count": {
      "type": "integer",
      "description": "Total index-eligible symbols in the sector."
    },
    "page": {
      "type": "integer",
      "minimum": 1
    },
    "page_size": {
      "type": "integer",
      "enum": [
        500
      ]
    },
    "has_next": {
      "type": "boolean"
    },
    "symbols": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DirectorySymbol"
      }
    }
  },
  "$defs": {
    "DirectorySymbol": {
      "type": "object",
      "required": [
        "ticker",
        "name",
        "news_count"
      ],
      "properties": {
        "ticker": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "news_count": {
          "type": "integer",
          "description": "Above-floor enriched-news rows mentioning the ticker in the window."
        }
      }
    }
  }
}