GenericFiscalResponse

Generic Treasury Fiscal Data API response for datasets not covered by specific schemas.

Federal GovernmentFinanceTreasuryNational DebtExchange RatesEconomics

Properties

Name Type Description
data array Array of data records. Fields vary by dataset.
meta object
links object
View JSON Schema on GitHub

JSON Schema

treasury-generic-fiscal-response-schema.json Raw ↑
{
  "$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-generic-fiscal-response-schema.json",
  "title": "GenericFiscalResponse",
  "description": "Generic Treasury Fiscal Data API response for datasets not covered by specific schemas.",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "description": "Array of data records. Fields vary by dataset.",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "meta": {
      "$ref": "#/components/schemas/FiscalMeta"
    },
    "links": {
      "$ref": "#/components/schemas/FiscalLinks"
    }
  }
}