Skip to content

Commit 4e84760

Browse files
authored
Merge pull request #1750 from codatio/oas-sync
2 parents c0868d9 + 4d9b121 commit 4e84760

File tree

1 file changed

+29
-3
lines changed

1 file changed

+29
-3
lines changed

static/oas/Codat-Lending.json

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110422,7 +110422,14 @@
110422110422
"$ref": "#/components/schemas/FinancialSummary"
110423110423
},
110424110424
"example": {
110425-
"booksClosedDate": "2025-05-31T00:00:00Z",
110425+
"booksClosedDate": {
110426+
"date": "2025-05-31T00:00:00Z",
110427+
"reason": [
110428+
"One or more accounts show a deviation from expected movements for March 2025",
110429+
"One of the marketing accounts haven't been booked for February 2025",
110430+
"One of the inventory accounts haven't been booked for March 2025"
110431+
]
110432+
},
110426110433
"accountingScore": {
110427110434
"score": 90,
110428110435
"reason": [
@@ -120800,9 +120807,28 @@
120800120807
"type": "object",
120801120808
"properties": {
120802120809
"booksClosedDate": {
120803-
"type": "string",
120810+
"type": "object",
120804120811
"description": "The date time in UTC the books closed.",
120805-
"example": "2025-05-31T00:00:00Z"
120812+
"properties": {
120813+
"date": {
120814+
"type": "string",
120815+
"format": "date-time",
120816+
"description": "The date time in UTC the books closed.",
120817+
"example": "2025-05-31T00:00:00Z"
120818+
},
120819+
"reason": {
120820+
"type": "array",
120821+
"description": "List of reasons explaining the books closed date.",
120822+
"items": {
120823+
"type": "string"
120824+
},
120825+
"example": [
120826+
"One or more accounts show a deviation from expected movements for March 2025",
120827+
"One of the marketing accounts haven't been booked for February 2025",
120828+
"One of the inventory accounts haven't been booked for March 2025"
120829+
]
120830+
}
120831+
}
120806120832
},
120807120833
"accountingScore": {
120808120834
"type": "object",

0 commit comments

Comments
 (0)