{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dogechain-com/json-schema/dogechain-com-supply-schema.json",
  "title": "Supply",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dogechain-com-openapi.json#/components/schemas/Supply",
  "properties": {
    "height": {
      "type": "integer"
    },
    "inflation_next_12_months": {
      "description": "At the 60-second target. A fraction: 0.0337 is 3.37%.",
      "type": "number"
    },
    "per_block": {
      "$ref": "#/$defs/Amount"
    },
    "per_year": {
      "$ref": "#/$defs/Amount",
      "description": "At the 60-second target: 525,960 blocks a year."
    },
    "recent_pace": {
      "description": "The same at the past year's real pace (blocks average a little over 60 seconds); null until the indexer has most of a year of block times.",
      "properties": {
        "block_seconds": {
          "description": "Average seconds per block over the last 365 whole days.",
          "type": "number"
        },
        "inflation_next_12_months": {
          "description": "A fraction.",
          "type": "number"
        },
        "per_year": {
          "$ref": "#/$defs/Amount"
        }
      },
      "required": [
        "block_seconds",
        "per_year",
        "inflation_next_12_months"
      ],
      "type": [
        "object",
        "null"
      ]
    },
    "supply": {
      "$ref": "#/$defs/Amount"
    }
  },
  "required": [
    "supply",
    "height",
    "per_block",
    "per_year",
    "inflation_next_12_months"
  ],
  "type": "object",
  "$defs": {
    "Amount": {
      "description": "DOGE with 8 decimals, as a string.",
      "pattern": "^-?[0-9]+\\.[0-9]{8}$",
      "type": "string"
    }
  }
}