changedOutput schema / properties / entry / anyOf
Previous value: -[
- {
- "properties": {
- "companyId": {
- "anyOf": [
- {
- "description": "UUID value wrapper.",
- "properties": {
- "value": {
- "format": "uuid",
- "type": "string"
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "createdAt": {
- "anyOf": [
- {
- "format": "date-time",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "currencyCode": {
- "type": "string"
- },
- "entryDate": {
- "type": "string"
- },
- "id": {
- "anyOf": [
- {
- "description": "UUID value wrapper.",
- "properties": {
- "value": {
- "format": "uuid",
- "type": "string"
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "lines": {
- "items": {
- "properties": {
- "accountCode": {
- "type": "string"
- },
- "accountName": {
- "type": "string"
- },
- "amount": {
- "type": "string"
- },
- "glAccountId": {
- "anyOf": [
- {
- "description": "UUID value wrapper.",
- "properties": {
- "value": {
- "format": "uuid",
- "type": "string"
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "anyOf": [
- {
- "description": "UUID value wrapper.",
- "properties": {
- "value": {
- "format": "uuid",
- "type": "string"
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "lineNo": {
- "type": "integer"
- },
- "memo": {
- "type": "string"
- },
- "side": {
- "enum": [
- "JOURNAL_ENTRY_SIDE_UNSPECIFIED",
- "JOURNAL_ENTRY_SIDE_DEBIT",
- "JOURNAL_ENTRY_SIDE_CREDIT"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- "memo": {
- "type": "string"
- },
- "needsReview": {
- "type": "boolean"
- },
- "needsReviewReason": {
- "enum": [
- "NEEDS_REVIEW_REASON_UNSPECIFIED",
- "NEEDS_REVIEW_REASON_UNCATEGORIZED",
- "NEEDS_REVIEW_REASON_REVERSED",
- "NEEDS_REVIEW_REASON_UNMAPPED_LEGACY",
- "NEEDS_REVIEW_REASON_OUT_OF_PERIOD"
- ],
- "type": "string"
- },
- "originalEntryDate": {
- "type": "string"
- },
- "outOfPeriod": {
- "type": "boolean"
- },
- "reference": {
- "type": "string"
- },
- "source": {
- "type": "string"
- },
- "status": {
- "enum": [
- "JOURNAL_ENTRY_STATUS_UNSPECIFIED",
- "JOURNAL_ENTRY_STATUS_DRAFT",
- "JOURNAL_ENTRY_STATUS_POSTED",
- "JOURNAL_ENTRY_STATUS_VOID"
- ],
- "type": "string"
- },
- "transactionId": {
- "anyOf": [
- {
- "description": "UUID value wrapper.",
- "properties": {
- "value": {
- "format": "uuid",
- "type": "string"
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "updatedAt": {
- "anyOf": [
- {
- "format": "date-time",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "companyId"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "properties": {
+ "companyId": {
+ "anyOf": [
+ {
+ "description": "UUID value wrapper.",
+ "properties": {
+ "value": {
+ "format": "uuid",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "createdAt": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "createdBy": {
+ "anyOf": [
+ {
+ "description": "UUID value wrapper.",
+ "properties": {
+ "value": {
+ "format": "uuid",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "currencyCode": {
+ "type": "string"
+ },
+ "entryDate": {
+ "type": "string"
+ },
+ "id": {
+ "anyOf": [
+ {
+ "description": "UUID value wrapper.",
+ "properties": {
+ "value": {
+ "format": "uuid",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "lines": {
+ "items": {
+ "properties": {
+ "accountCode": {
+ "type": "string"
+ },
+ "accountName": {
+ "type": "string"
+ },
+ "amount": {
+ "type": "string"
+ },
+ "glAccountId": {
+ "anyOf": [
+ {
+ "description": "UUID value wrapper.",
+ "properties": {
+ "value": {
+ "format": "uuid",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "anyOf": [
+ {
+ "description": "UUID value wrapper.",
+ "properties": {
+ "value": {
+ "format": "uuid",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "lineNo": {
+ "type": "integer"
+ },
+ "memo": {
+ "type": "string"
+ },
+ "side": {
+ "enum": [
+ "JOURNAL_ENTRY_SIDE_UNSPECIFIED",
+ "JOURNAL_ENTRY_SIDE_DEBIT",
+ "JOURNAL_ENTRY_SIDE_CREDIT"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "memo": {
+ "type": "string"
+ },
+ "needsReview": {
+ "type": "boolean"
+ },
+ "needsReviewReason": {
+ "enum": [
+ "NEEDS_REVIEW_REASON_UNSPECIFIED",
+ "NEEDS_REVIEW_REASON_UNCATEGORIZED",
+ "NEEDS_REVIEW_REASON_REVERSED",
+ "NEEDS_REVIEW_REASON_UNMAPPED_LEGACY",
+ "NEEDS_REVIEW_REASON_OUT_OF_PERIOD"
+ ],
+ "type": "string"
+ },
+ "originalEntryDate": {
+ "type": "string"
+ },
+ "outOfPeriod": {
+ "type": "boolean"
+ },
+ "reference": {
+ "type": "string"
+ },
+ "source": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "JOURNAL_ENTRY_STATUS_UNSPECIFIED",
+ "JOURNAL_ENTRY_STATUS_DRAFT",
+ "JOURNAL_ENTRY_STATUS_POSTED",
+ "JOURNAL_ENTRY_STATUS_VOID"
+ ],
+ "type": "string"
+ },
+ "transactionId": {
+ "anyOf": [
+ {
+ "description": "UUID value wrapper.",
+ "properties": {
+ "value": {
+ "format": "uuid",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "updatedAt": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "companyId"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]