changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "adjustmentJournalImportProvenance": {
+ "additionalProperties": false,
+ "properties": {
+ "importRef": {
+ "maxLength": 128,
+ "minLength": 1,
+ "pattern": "^adjustment-journal-import-[a-z0-9-]+$",
+ "type": "string"
+ },
+ "sourceFile": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "uploadedAt": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "uploader": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "name",
+ "uploadedAt",
+ "uploader"
+ ],
+ "type": "object"
+ },
+ "sourceRows": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "appliedResolutions": {
+ "additionalProperties": false,
+ "properties": {
+ "schemaVersion": {
+ "const": 1,
+ "type": "number"
+ },
+ "values": {
+ "additionalProperties": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "propertyNames": {
+ "anyOf": [
+ {
+ "enum": [
+ "accountNumber",
+ "counterpartyExternalId",
+ "counterpartyName"
+ ],
+ "type": "string"
+ },
+ {
+ "pattern": "^responsibilityCenter:[a-z0-9]+(_[a-z0-9]+)*$",
+ "type": "string"
+ }
+ ]
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "schemaVersion",
+ "values"
+ ],
+ "type": "object"
+ },
+ "entryId": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "journalLineNumber": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "locator": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "format": {
+ "const": "csv",
+ "type": "string"
+ },
+ "lineNumber": {
+ "maximum": 9007199254740991,
+ "minimum": 1,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "format",
+ "lineNumber"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "format": {
+ "const": "xlsx",
+ "type": "string"
+ },
+ "rowNumber": {
+ "maximum": 9007199254740991,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "sheetName": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "format",
+ "rowNumber",
+ "sheetName"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "normalizedValues": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "schemaVersion": {
+ "const": 1,
+ "type": "number"
+ },
+ "values": {
+ "additionalProperties": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "propertyNames": {
+ "anyOf": [
+ {
+ "enum": [
+ "accountNumber",
+ "amount",
+ "counterpartyExternalId",
+ "counterpartyName",
+ "direction",
+ "effectiveDate",
+ "entryId",
+ "memo"
+ ],
+ "type": "string"
+ },
+ {
+ "pattern": "^responsibilityCenter:[a-z0-9]+(_[a-z0-9]+)*$",
+ "type": "string"
+ }
+ ]
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "schemaVersion",
+ "values"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "schemaVersion": {
+ "const": 2,
+ "type": "number"
+ },
+ "values": {
+ "additionalProperties": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "propertyNames": {
+ "anyOf": [
+ {
+ "enum": [
+ "accountNumber",
+ "amount",
+ "counterpartyExternalId",
+ "counterpartyName",
+ "direction",
+ "effectiveAt",
+ "effectiveDate",
+ "entryId",
+ "memo"
+ ],
+ "type": "string"
+ },
+ {
+ "pattern": "^responsibilityCenter:[a-z0-9]+(_[a-z0-9]+)*$",
+ "type": "string"
+ }
+ ]
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "schemaVersion",
+ "values"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "sourceRowHash": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "appliedResolutions",
+ "entryId",
+ "journalLineNumber",
+ "locator",
+ "normalizedValues",
+ "sourceRowHash"
+ ],
+ "type": "object"
+ },
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "importRef",
+ "sourceFile",
+ "sourceRows"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "type": "string"
+ },
+ "isAdjustment": {
+ "type": "boolean"
+ },
+ "lines": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "accountName": {
+ "type": "string"
+ },
+ "accountNormalBalanceType": {
+ "type": "string"
+ },
+ "accountNumber": {
+ "type": "string"
+ },
+ "accountSubType": {
+ "type": "string"
+ },
+ "accountType": {
+ "type": "string"
+ },
+ "assetAmount": {
+ "type": "string"
+ },
+ "assetId": {
+ "type": "string"
+ },
+ "assetSymbol": {
+ "type": "string"
+ },
+ "counterpartyName": {
+ "type": "string"
+ },
+ "entryType": {
+ "type": "string"
+ },
+ "fiatAmount": {
+ "type": "string"
+ },
+ "lineNumber": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "lot": {
+ "additionalProperties": false,
+ "properties": {
+ "entryId": {
+ "type": "string"
+ },
+ "entryKind": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "lotMethod": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "entryId",
+ "entryKind",
+ "lotMethod"
+ ],
+ "type": "object"
+ },
+ "memo": {
+ "type": "string"
+ },
+ "responsibilityCenterAssignments": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "percentageBps": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "responsibilityCenterCode": {
+ "type": "string"
+ },
+ "responsibilityCenterId": {
+ "type": "string"
+ },
+ "responsibilityCenterName": {
+ "type": "string"
+ },
+ "responsibilityCenterType": {
+ "additionalProperties": false,
+ "properties": {
+ "key": {
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "COST",
+ "REVENUE",
+ "PROFIT",
+ "INVESTMENT"
+ ],
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "kind"
+ ],
+ "type": "object"
+ },
+ "responsibilityCenterTypeId": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "responsibilityCenterTypeId",
+ "responsibilityCenterId",
+ "value",
+ "responsibilityCenterType",
+ "responsibilityCenterName",
+ "percentageBps"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "transfer": {
+ "additionalProperties": false,
+ "properties": {
+ "chainId": {
+ "type": "string"
+ },
+ "txHash": {
+ "type": "string"
+ },
+ "txIndex": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "lineNumber",
+ "entryType",
+ "fiatAmount",
+ "responsibilityCenterAssignments"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "memo": {
+ "type": "string"
+ },
+ "operationType": {
+ "type": "string"
+ },
+ "portfolioTransactionId": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ },
+ "subType": {
+ "type": "string"
+ },
+ "systemNotes": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "timestamp",
+ "status",
+ "isAdjustment",
+ "lines"
+ ],
+ "type": "object"
+}