U.S. Treasury Fiscal Data · Schema
FiscalMeta
Metadata included in all Treasury Fiscal Data API responses.
Federal GovernmentFinanceTreasuryNational DebtExchange RatesEconomics
Properties
| Name | Type | Description |
|---|---|---|
| count | integer | Number of records in this response page. |
| labels | object | Human-readable labels for each field in the data. |
| dataTypes | object | Data type for each field (DATE, STRING, CURRENCY, NUMBER, PERCENTAGE). |
| dataFormats | object | Display format for each field. |
| total-count | integer | Total number of records matching the query. |
| total-pages | integer | Total number of pages available. |
JSON Schema
{
"$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-fiscal-meta-schema.json",
"title": "FiscalMeta",
"description": "Metadata included in all Treasury Fiscal Data API responses.",
"type": "object",
"properties": {
"count": {
"type": "integer",
"description": "Number of records in this response page.",
"example": 100
},
"labels": {
"type": "object",
"description": "Human-readable labels for each field in the data.",
"additionalProperties": {
"type": "string"
},
"example": {
"record_date": "Record Date",
"tot_pub_debt_out_amt": "Total Public Debt Outstanding"
}
},
"dataTypes": {
"type": "object",
"description": "Data type for each field (DATE, STRING, CURRENCY, NUMBER, PERCENTAGE).",
"additionalProperties": {
"type": "string"
},
"example": {
"record_date": "DATE",
"tot_pub_debt_out_amt": "CURRENCY"
}
},
"dataFormats": {
"type": "object",
"description": "Display format for each field.",
"additionalProperties": {
"type": "string"
},
"example": {
"record_date": "YYYY-MM-DD"
}
},
"total-count": {
"type": "integer",
"description": "Total number of records matching the query.",
"example": 8298
},
"total-pages": {
"type": "integer",
"description": "Total number of pages available.",
"example": 83
}
}
}