{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "FMP Stock Dividends Schema",
  "description": "Schema for FMP Stock Dividends endpoint",
  "version": "1.0.0",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "date": {
        "type": "string",
        "description": "Dividend date (YYYY-MM-DD)"
      },
      "label": {
        "type": "string",
        "description": "Dividend label"
      },
      "adjDividend": {
        "type": "number",
        "description": "Adjusted dividend"
      },
      "dividend": {
        "type": "number",
        "description": "Dividend amount"
      },
      "recordDate": {
        "type": ["string", "null"],
        "description": "Record date"
      },
      "paymentDate": {
        "type": ["string", "null"],
        "description": "Payment date"
      },
      "declarationDate": {
        "type": ["string", "null"],
        "description": "Declaration date"
      }
    },
    "required": ["date", "dividend"]
  }
}
