{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "FMP Treasury Rates Schema",
  "description": "Schema for FMP Treasury Rates endpoint",
  "version": "1.0.0",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "date": {
        "type": "string",
        "description": "Date (YYYY-MM-DD)"
      },
      "month1": {
        "type": ["number", "null"],
        "description": "1-month treasury rate"
      },
      "month2": {
        "type": ["number", "null"],
        "description": "2-month treasury rate"
      },
      "month3": {
        "type": ["number", "null"],
        "description": "3-month treasury rate"
      },
      "month6": {
        "type": ["number", "null"],
        "description": "6-month treasury rate"
      },
      "year1": {
        "type": ["number", "null"],
        "description": "1-year treasury rate"
      },
      "year2": {
        "type": ["number", "null"],
        "description": "2-year treasury rate"
      },
      "year3": {
        "type": ["number", "null"],
        "description": "3-year treasury rate"
      },
      "year5": {
        "type": ["number", "null"],
        "description": "5-year treasury rate"
      },
      "year7": {
        "type": ["number", "null"],
        "description": "7-year treasury rate"
      },
      "year10": {
        "type": ["number", "null"],
        "description": "10-year treasury rate"
      },
      "year20": {
        "type": ["number", "null"],
        "description": "20-year treasury rate"
      },
      "year30": {
        "type": ["number", "null"],
        "description": "30-year treasury rate"
      }
    },
    "required": ["date"]
  }
}
