{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/fis/main/json-schema/fis-financial-fraud-risk-response-v2-dto-schema.json", "title": "FinancialFraudRiskResponseV2Dto", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/fis-financialfraudriskcontrollerv2-api-openapi.yml#/components/schemas/FinancialFraudRiskResponseV2Dto", "type": "object", "properties": { "count": { "type": "number", "readOnly": true, "format": "integer" }, "reports": { "readOnly": true, "type": "array", "items": { "$ref": "#/$defs/FinancialFraudRiskReportV2" } } }, "required": [ "count", "reports" ], "$defs": { "FinancialFraudRiskData": { "type": "object", "properties": { "benfordLawScore": { "type": "number", "format": "float", "readOnly": true }, "outlierScore": { "type": "number", "format": "float", "readOnly": true }, "outlierRatio": { "type": "number", "format": "float", "readOnly": true }, "outlierTransactions": { "readOnly": true, "type": "array", "items": { "$ref": "#/$defs/OutlierTransactions" } }, "transactionKeywords": { "readOnly": true, "type": "array", "items": { "$ref": "#/$defs/TransactionKeywords" } }, "transactionsSectionStats": { "readOnly": true, "type": "array", "items": { "$ref": "#/$defs/TransactionsSectionStats" } }, "transactionPatterns": { "readOnly": true, "type": "array", "items": { "$ref": "#/$defs/TransactionPatterns" } }, "currentRatioDelta": { "type": "number", "format": "float", "readOnly": true }, "quickRatioDelta": { "type": "number", "format": "float", "readOnly": true }, "debtToEquityRatioDelta": { "type": "number", "format": "float", "readOnly": true }, "netProfitMarginRatioDelta": { "type": "number", "format": "float", "readOnly": true } }, "required": [ "benfordLawScore" ] }, "FinancialFraudRiskReportMetaDataV2": { "type": "object", "properties": { "connectionUuid": { "type": "string", "readOnly": true }, "businessName": { "type": "string", "readOnly": true }, "serviceName": { "type": "string", "readOnly": true, "enum": [ "freshbooks", "quickbooks", "quickbooksDesktop", "xero", "oracleNetsuite", "sageBusinessCloud", "sageIntacct", "dynamicsBusinessCentral", "dynamics365Finance", "wave", "myob", "zohoBooks", "byod" ] }, "reportId": { "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": [ "connectionUuid", "businessName", "serviceName", "reportId", "startDate", "endDate", "createdAt", "updatedAt" ] }, "FinancialFraudRiskReportV2": { "type": "object", "properties": { "meta": { "$ref": "#/$defs/FinancialFraudRiskReportMetaDataV2" }, "data": { "readOnly": true, "type": "array", "items": { "$ref": "#/$defs/FinancialFraudRiskData" } } }, "required": [ "meta", "data" ] }, "OutlierTransactions": { "type": "object", "properties": { "id": { "type": "string", "readOnly": true } }, "required": [ "id" ] }, "TransactionKeywords": { "type": "object", "properties": { "type": { "type": "string", "enum": [ "bill", "billPayment", "creditNote", "deposit", "expense", "estimate", "inventoryAdjustment", "invoice", "journalEntry", "other", "payment", "payroll", "purchaseOrder", "refund", "transfer", "taxPayment", "taxAdjustment", "taxRefund", "taxReversal", "unknown", "vendorCreditNote" ], "readOnly": true }, "count": { "type": "number", "format": "integer", "readOnly": true } }, "required": [ "type", "count" ] }, "TransactionPatterns": { "type": "object", "properties": { "repetitionPattern": { "type": "string", "readOnly": true }, "count": { "type": "number", "readOnly": true } }, "required": [ "repetitionPattern", "count" ] }, "TransactionsSectionStats": { "type": "object", "properties": { "section": { "type": "string", "readOnly": true }, "count": { "type": "number", "readOnly": true, "format": "integer" }, "sdev": { "type": "number", "readOnly": true, "format": "float" } }, "required": [ "section", "count", "sdev" ] } } }