{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://schemas.api.finra.org/v1/fixedIncomeMarket/agencyMbsPricing.json",
  "$dataVersion": 1,
  "title": "agencyMbsPricing",
  "description": "SP IDC MBS Pricing",
  "type": "array",
  "items": {
    "type": "object",
    "additionalProperties": false,
    "properties": {
      "reportDate": {
        "type": "string",
        "description": "The report date for the IDC pricing data.",
        "format": "date",
        "maxLength": 10
      },
      "pricingTableName": {
        "type": "string",
        "description": "The pricing table name from the IDC workbook.",
        "maxLength": 100
      },
      "agencyCode": {
        "type": "string",
        "description": "The agency code identifying the issuing agency (e.g., GNMA, FNMA, FHLMC).",
        "maxLength": 10,
        "examples": [
          "GNMA",
          "FNMA",
          "FHLMC"
        ]
      },
      "couponRateCode": {
        "type": "string",
        "description": "The coupon rate code for the MBS security.",
        "maxLength": 20
      },
      "categoryCode": {
        "type": "string",
        "description": "The pricing category code (e.g., price, yield, spread).",
        "maxLength": 20
      },
      "valueAmount": {
        "type": "number",
        "description": "The numeric value for the given pricing category."
      },
      "recordLoadTimestamp": {
        "type": "string",
        "description": "The timestamp when the record was loaded into the database.",
        "format": "date-time",
        "maxLength": 30
      }
    }
  }
}
