{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/u-s-treasury-fiscal-data/refs/heads/main/json-schema/treasury-daily-treasury-record-schema.json",
  "title": "DailyTreasuryRecord",
  "description": "A single record from the Daily Treasury Statement.",
  "type": "object",
  "properties": {
    "record_date": {
      "type": "string",
      "format": "date",
      "description": "Date of the treasury statement.",
      "example": "2026-04-30"
    },
    "account_type": {
      "type": "string",
      "description": "Treasury account type.",
      "example": "Federal Reserve Account"
    },
    "open_today_bal": {
      "type": "string",
      "description": "Opening balance for the day in U.S. dollars.",
      "example": "850123456789.00"
    },
    "close_today_bal": {
      "type": "string",
      "description": "Closing balance for the day in U.S. dollars.",
      "example": "845678901234.00"
    },
    "open_mo_bal": {
      "type": "string",
      "description": "Opening balance for the month.",
      "example": "750000000000.00"
    },
    "open_fy_bal": {
      "type": "string",
      "description": "Opening balance for the fiscal year.",
      "example": "700000000000.00"
    }
  }
}