{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/quantustik-com/json-schema/quantustik-com-dividend-history-schema.json",
  "title": "DividendHistory",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/quantustik-com-openapi.json#/components/schemas/DividendHistory",
  "properties": {
    "ticker": {
      "type": "string",
      "title": "Ticker"
    },
    "status": {
      "type": "string",
      "enum": [
        "available",
        "no_dividends",
        "pending",
        "unavailable"
      ],
      "title": "Status"
    },
    "payments": {
      "items": {
        "$ref": "#/$defs/DividendPayment"
      },
      "type": "array",
      "title": "Payments"
    },
    "trailing_yield": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Trailing Yield"
    },
    "as_of": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "As Of"
    },
    "data_source": {
      "type": "string",
      "title": "Data Source"
    },
    "source": {
      "additionalProperties": true,
      "type": "object",
      "title": "Source"
    },
    "disclaimer": {
      "type": "string",
      "title": "Disclaimer"
    }
  },
  "type": "object",
  "required": [
    "ticker",
    "status",
    "payments",
    "data_source",
    "source",
    "disclaimer"
  ],
  "$defs": {
    "DividendPayment": {
      "properties": {
        "ex_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Ex Date"
        },
        "amount": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Amount"
        },
        "record_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Record Date"
        },
        "payment_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Payment Date"
        },
        "declaration_date": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Declaration Date"
        }
      },
      "type": "object",
      "title": "DividendPayment"
    }
  }
}