{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://schemas.api.finra.org/v1/SecuritizedProduct/securitizedProductTradingActivity.json",
  "$dataVersion": 1,
  "title": "securitizedProductTradingActivity",
  "description": "SP IDC Other Trading Activity",
  "type": "array",
  "items": {
    "type": "object",
    "additionalProperties": false,
    "properties": {
      "reportDate": {
        "type": "string",
        "description": "The report date for the trading activity data.",
        "format": "date",
        "maxLength": 10
      },
      "gradeCode": {
        "type": "string",
        "description": "The credit grade code (e.g., IG, NIG).",
        "maxLength": 20,
        "examples": [
          "IG",
          "NIG"
        ]
      },
      "categoryCode": {
        "type": "string",
        "description": "The trading activity category code.",
        "maxLength": 20
      },
      "productCode": {
        "type": "string",
        "description": "The product type code for the trading activity.",
        "maxLength": 20
      },
      "valueAmount": {
        "type": "number",
        "description": "The numeric value for the given trading activity metric."
      },
      "recordLoadTimestamp": {
        "type": "string",
        "description": "The timestamp when the record was loaded into the database.",
        "format": "date-time",
        "maxLength": 30
      }
    }
  }
}
