{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/fis/main/json-schema/fis-credit-ratings-response-dto-schema.json", "title": "CreditRatingsResponseDto", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/fis-credit-api-openapi.yml#/components/schemas/CreditRatingsResponseDto", "type": "object", "properties": { "count": { "type": "number", "readOnly": true, "format": "integer" }, "reports": { "readOnly": false, "type": "array", "items": { "$ref": "#/$defs/CreditRatingsReport" } } }, "required": [ "count", "reports" ], "$defs": { "CreditRatingsData": { "type": "object", "properties": { "spRating": { "type": "string", "enum": [ "AAA", "AA+", "AA", "AA-", "A+", "A", "A-", "BBB+", "BBB", "BBB-", "BB+", "BB", "BB-", "B+", "B", "B-", "CCC+", "CCC", "CCC-", "CC", "C", "D" ] }, "moodysRating": { "type": "string", "enum": [ "Aaa", "Aa1", "Aa2", "Aa3", "A1", "A2", "A3", "Baa1", "Baa2", "Baa3", "Ba1", "Ba2", "Ba3", "B1", "B2", "B3", "Caa1", "Caa2", "Ca", "C" ] }, "fitchRating": { "type": "string", "enum": [ "AAA", "AA+", "AA", "AA-", "A+", "A", "A-", "BBB+", "BBB", "BBB-", "BB+", "BB", "BB-", "B+", "B", "B-", "CCC", "DDD", "DD", "D" ] }, "dbrsRating": { "type": "string", "enum": [ "AAA", "AA (high)", "AA", "AA (low)", "A (high)", "A", "A (low)", "BBB (high)", "BBB", "BBB (low)", "BB (high)", "BB", "BB (low)", "CCC (high)", "CCC", "CCC (low)", "CC", "C", "D" ] }, "railzRating": { "type": "string", "enum": [ "A+", "A", "A-", "B+", "B", "B-", "C+", "C", "C-", "D" ] }, "railzGrade": { "type": "string", "enum": [ "Very Poor", "Poor", "Fair", "Good", "Very Good", "Excellent" ] }, "description": { "type": "string" } }, "required": [ "spRating", "moodysRating", "fitchRating", "dbrsRating", "railzRating", "railzGrade", "description" ] }, "CreditRatingsReport": { "type": "object", "properties": { "meta": { "$ref": "#/$defs/CreditRatingsReportMetaData" }, "data": { "$ref": "#/$defs/CreditRatingsData" } }, "required": [ "meta", "data" ] }, "CreditRatingsReportMetaData": { "type": "object", "properties": { "reportId": { "type": "string", "readOnly": true }, "serviceName": { "type": "string", "readOnly": true, "enum": [ "quickbooks", "xero", "freshbooks", "quickbooksDesktop", "sageIntacct", "sageBusinessCloud", "oracleNetsuite", "dynamicsBusinessCentral", "dynamics365Finance", "wave", "zohoBooks", "myob" ] }, "businessName": { "type": "string", "readOnly": true }, "startDate": { "type": "string", "readOnly": true, "format": "date-time" }, "endDate": { "type": "string", "readOnly": true, "format": "date-time" }, "createdAt": { "type": "string", "readOnly": true, "format": "date-time" }, "updatedAt": { "type": "string", "readOnly": false, "format": "date-time" } }, "required": [ "reportId", "serviceName", "businessName", "startDate", "endDate", "createdAt", "updatedAt" ] } } }