changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "transactions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "operationType": {
+ "enum": [
+ "DEPOSIT_FIAT",
+ "INCOME",
+ "REFUND",
+ "WITHDRAWAL_FIAT",
+ "EXPENSE",
+ "BUY",
+ "SELL",
+ "EXCHANGE",
+ "SWAP",
+ "MOVE",
+ "INTERCOMPANY_SEND",
+ "INTERCOMPANY_RECEIVE",
+ "STAKE",
+ "UNSTAKE",
+ "PROTOCOL_DEPOSIT",
+ "PROTOCOL_WITHDRAW",
+ "VAULT_DEPOSIT",
+ "VAULT_WITHDRAW",
+ "LP_IN",
+ "LP_OUT",
+ "LOAN_BORROW",
+ "LOAN_REPAY",
+ "LOAN_LIQUIDATION",
+ "LEND_GIVE",
+ "LEND_WITHDRAW",
+ "ADJUSTMENT",
+ "UNCATEGORIZED",
+ "SPAM"
+ ],
+ "type": "string"
+ },
+ "operations": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "portfolioTransactionId": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "txIndex": {
+ "maximum": 2147483647,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "walletTransactionId": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "portfolioTransactionId",
+ "walletTransactionId",
+ "txIndex"
+ ],
+ "type": "object"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "subType": {
+ "type": "string"
+ },
+ "systemNotes": {
+ "type": "string"
+ },
+ "timestamp": {
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operationType",
+ "timestamp",
+ "operations"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "transactions"
+ ],
+ "type": "object"
+}