{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/fis/main/json-schema/fis-data-status-response-v2-dto-schema.json", "title": "DataStatusResponseV2Dto", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/fis-datacontrollerv2-api-openapi.yml#/components/schemas/DataStatusResponseV2Dto", "type": "object", "properties": { "pagination": { "readOnly": true, "allOf": [ { "$ref": "#/$defs/PaginationMetaData" } ] }, "meta": { "readOnly": true, "allOf": [ { "$ref": "#/$defs/DataSyncMetaV2" } ] }, "data": { "readOnly": true, "type": "array", "items": { "$ref": "#/$defs/DataType" } } }, "required": [ "pagination", "meta", "data" ], "$defs": { "DataSyncMetaV2": { "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" ] }, "syncTime": { "type": "number" }, "percentageCompleted": { "type": "number" } }, "required": [ "connectionUuid" ] }, "DataType": { "type": "object", "properties": { "dataType": { "type": "string", "readOnly": true }, "lastSyncDate": { "type": "string" }, "lastUpdatedDate": { "type": "string" }, "reports": { "readOnly": true, "type": "array", "items": { "$ref": "#/$defs/Report" } } }, "required": [ "dataType", "reports" ] }, "PaginationMetaData": { "type": "object", "properties": { "offset": { "type": "number", "readOnly": true }, "limit": { "type": "number", "readOnly": true }, "count": { "type": "number", "readOnly": true } }, "required": [ "offset", "limit", "count" ] }, "Report": { "type": "object", "properties": { "startDate": { "type": "string" }, "endDate": { "type": "string" }, "lastSuccessfulSync": { "type": "string" }, "reportFrequency": { "type": "string" }, "currentStatus": { "type": "string", "enum": [ "success", "failed", "pending", "empty" ] }, "latestReportId": { "type": "string" }, "latestSuccessfulReportId": { "type": "string" }, "accountingMethod": { "type": "string" }, "reconstructed": { "type": "boolean" } } } } }