changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "chain": {
- "type": "string"
- },
- "chainName": {
- "type": "string"
- },
- "tokens": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "address": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "amount": {
- "type": "string"
- },
- "decimals": {
- "type": "number"
- },
- "price": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "symbol": {
- "type": "string"
- },
- "value": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "symbol",
- "address",
- "decimals",
- "amount",
- "price",
- "value"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "totalValue": {
- "type": "number"
- }
- },
- "required": [
- "chain",
- "chainName",
- "address",
- "totalValue",
- "tokens"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "addresses": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "chain": {
- "type": "string"
- },
- "chainName": {
- "type": "string"
- },
- "error": {
- "type": "string"
- },
- "tokens": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "address": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "amount": {
- "type": "string"
- },
- "decimals": {
- "type": "number"
- },
- "price": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "symbol": {
- "type": "string"
- },
- "value": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "symbol",
- "address",
- "decimals",
- "amount",
- "price",
- "value"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "totalValue": {
- "type": "number"
- }
- },
- "required": [
- "chain",
- "chainName",
- "address",
- "totalValue",
- "tokens"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "totalValue": {
- "type": "number"
- }
- },
- "required": [
- "totalValue",
- "addresses"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "chain": {
+ "type": "string"
+ },
+ "chainName": {
+ "type": "string"
+ },
+ "missing": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "chain": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "protocolId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "chain",
+ "protocolId"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "partial": {
+ "const": true,
+ "type": "boolean"
+ },
+ "tokens": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "amount": {
+ "type": "string"
+ },
+ "decimals": {
+ "type": "number"
+ },
+ "price": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "symbol": {
+ "type": "string"
+ },
+ "value": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "symbol",
+ "address",
+ "decimals",
+ "amount",
+ "price",
+ "value"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "totalValue": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "chain",
+ "chainName",
+ "address",
+ "totalValue",
+ "tokens"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "addresses": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "asOf": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "chain": {
+ "type": "string"
+ },
+ "chainName": {
+ "type": "string"
+ },
+ "error": {
+ "type": "string"
+ },
+ "missing": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "chain": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "protocolId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "chain",
+ "protocolId"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "partial": {
+ "const": true,
+ "type": "boolean"
+ },
+ "pending": {
+ "const": true,
+ "type": "boolean"
+ },
+ "source": {
+ "enum": [
+ "sample",
+ "live"
+ ],
+ "type": "string"
+ },
+ "tokens": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "amount": {
+ "type": "string"
+ },
+ "decimals": {
+ "type": "number"
+ },
+ "price": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "symbol": {
+ "type": "string"
+ },
+ "value": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "symbol",
+ "address",
+ "decimals",
+ "amount",
+ "price",
+ "value"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "totalValue": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "chain",
+ "chainName",
+ "address",
+ "totalValue",
+ "tokens"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "partial": {
+ "const": true,
+ "type": "boolean"
+ },
+ "totalValue": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "totalValue",
+ "addresses"
+ ],
+ "type": "object"
+ }
+]