{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "FMP Sector PE Ratio Schema",
  "description": "Schema for FMP Sector Price-Earnings Ratio endpoint",
  "version": "1.0.0",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "sector": {
        "type": "string",
        "description": "Sector name"
      },
      "date": {
        "type": "string",
        "description": "Date of the PE ratio (YYYY-MM-DD)"
      },
      "exchange": {
        "type": "string",
        "description": "Exchange code (NYSE, NASDAQ, etc.)"
      },
      "priceEarningsRatio": {
        "type": ["number", "null"],
        "description": "Price-earning ratio"
      }
    },
    "required": ["sector", "date", "exchange"]
  }
}
