changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "asOf": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "positions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "chain": {
- "type": "string"
- },
- "components": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "address": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "amountRaw": {
- "type": "string"
- },
- "decimals": {
- "type": "number"
- },
- "kind": {
- "enum": [
- "asset",
- "debt",
- "reward"
- ],
- "type": "string"
- },
- "priceUsd": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "symbol": {
- "type": "string"
- },
- "valueUsd": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "kind",
- "symbol",
- "address",
- "decimals",
- "amountRaw",
- "priceUsd",
- "valueUsd"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "displayLabel": {
- "type": "string"
- },
- "id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "label": {
- "type": "string"
- },
- "marketId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "protocolId": {
- "type": "string"
- },
- "protocolName": {
- "type": "string"
- },
- "valueUsd": {
- "type": "number"
- }
- },
- "required": [
- "protocolId",
- "protocolName",
- "chain",
- "id",
- "marketId",
- "label",
- "displayLabel",
- "valueUsd",
- "components"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "protocols": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "assetUsd": {
- "type": "number"
- },
- "chains": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "debtUsd": {
- "type": "number"
- },
- "protocolId": {
- "type": "string"
- },
- "protocolName": {
- "type": "string"
- },
- "rewardUsd": {
- "type": "number"
- },
- "totalUsd": {
- "type": "number"
- }
- },
- "required": [
- "protocolId",
- "protocolName",
- "chains",
- "totalUsd",
- "assetUsd",
- "debtUsd",
- "rewardUsd"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "totalValueUsd": {
- "type": "number"
- }
- },
- "required": [
- "address",
- "totalValueUsd",
- "asOf",
- "protocols",
- "positions"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "addresses": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- },
- "asOf": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "positions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "chain": {
- "type": "string"
- },
- "components": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "address": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "amountRaw": {
- "type": "string"
- },
- "decimals": {
- "type": "number"
- },
- "kind": {
- "enum": [
- "asset",
- "debt",
- "reward"
- ],
- "type": "string"
- },
- "priceUsd": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "symbol": {
- "type": "string"
- },
- "valueUsd": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "kind",
- "symbol",
- "address",
- "decimals",
- "amountRaw",
- "priceUsd",
- "valueUsd"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "displayLabel": {
- "type": "string"
- },
- "id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "label": {
- "type": "string"
- },
- "marketId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "protocolId": {
- "type": "string"
- },
- "protocolName": {
- "type": "string"
- },
- "valueUsd": {
- "type": "number"
- }
- },
- "required": [
- "protocolId",
- "protocolName",
- "chain",
- "id",
- "marketId",
- "label",
- "displayLabel",
- "valueUsd",
- "components"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "protocols": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "assetUsd": {
- "type": "number"
- },
- "chains": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "debtUsd": {
- "type": "number"
- },
- "protocolId": {
- "type": "string"
- },
- "protocolName": {
- "type": "string"
- },
- "rewardUsd": {
- "type": "number"
- },
- "totalUsd": {
- "type": "number"
- }
- },
- "required": [
- "protocolId",
- "protocolName",
- "chains",
- "totalUsd",
- "assetUsd",
- "debtUsd",
- "rewardUsd"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "totalValueUsd": {
- "type": "number"
- }
- },
- "required": [
- "address",
- "totalValueUsd",
- "asOf",
- "protocols",
- "positions"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "totalValueUsd": {
- "type": "number"
- }
- },
- "required": [
- "totalValueUsd",
- "addresses"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "asOf": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "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"
+ },
+ "positions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "chain": {
+ "type": "string"
+ },
+ "components": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "amountRaw": {
+ "type": "string"
+ },
+ "decimals": {
+ "type": "number"
+ },
+ "kind": {
+ "enum": [
+ "asset",
+ "debt",
+ "reward"
+ ],
+ "type": "string"
+ },
+ "priceUsd": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "symbol": {
+ "type": "string"
+ },
+ "valueUsd": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "symbol",
+ "address",
+ "decimals",
+ "amountRaw",
+ "priceUsd",
+ "valueUsd"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "displayLabel": {
+ "type": "string"
+ },
+ "id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "label": {
+ "type": "string"
+ },
+ "marketId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "protocolId": {
+ "type": "string"
+ },
+ "protocolName": {
+ "type": "string"
+ },
+ "valueUsd": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "protocolId",
+ "protocolName",
+ "chain",
+ "id",
+ "marketId",
+ "label",
+ "displayLabel",
+ "valueUsd",
+ "components"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "protocols": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "assetUsd": {
+ "type": "number"
+ },
+ "chains": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "debtUsd": {
+ "type": "number"
+ },
+ "protocolId": {
+ "type": "string"
+ },
+ "protocolName": {
+ "type": "string"
+ },
+ "rewardUsd": {
+ "type": "number"
+ },
+ "totalUsd": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "protocolId",
+ "protocolName",
+ "chains",
+ "totalUsd",
+ "assetUsd",
+ "debtUsd",
+ "rewardUsd"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "source": {
+ "enum": [
+ "sample",
+ "live"
+ ],
+ "type": "string"
+ },
+ "totalValueUsd": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "address",
+ "totalValueUsd",
+ "asOf",
+ "protocols",
+ "positions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "addresses": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "asOf": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "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"
+ },
+ "positions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "chain": {
+ "type": "string"
+ },
+ "components": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "amountRaw": {
+ "type": "string"
+ },
+ "decimals": {
+ "type": "number"
+ },
+ "kind": {
+ "enum": [
+ "asset",
+ "debt",
+ "reward"
+ ],
+ "type": "string"
+ },
+ "priceUsd": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "symbol": {
+ "type": "string"
+ },
+ "valueUsd": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "symbol",
+ "address",
+ "decimals",
+ "amountRaw",
+ "priceUsd",
+ "valueUsd"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "displayLabel": {
+ "type": "string"
+ },
+ "id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "label": {
+ "type": "string"
+ },
+ "marketId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "protocolId": {
+ "type": "string"
+ },
+ "protocolName": {
+ "type": "string"
+ },
+ "valueUsd": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "protocolId",
+ "protocolName",
+ "chain",
+ "id",
+ "marketId",
+ "label",
+ "displayLabel",
+ "valueUsd",
+ "components"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "protocols": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "assetUsd": {
+ "type": "number"
+ },
+ "chains": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "debtUsd": {
+ "type": "number"
+ },
+ "protocolId": {
+ "type": "string"
+ },
+ "protocolName": {
+ "type": "string"
+ },
+ "rewardUsd": {
+ "type": "number"
+ },
+ "totalUsd": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "protocolId",
+ "protocolName",
+ "chains",
+ "totalUsd",
+ "assetUsd",
+ "debtUsd",
+ "rewardUsd"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "source": {
+ "enum": [
+ "sample",
+ "live"
+ ],
+ "type": "string"
+ },
+ "totalValueUsd": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "address",
+ "totalValueUsd",
+ "asOf",
+ "protocols",
+ "positions"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "partial": {
+ "const": true,
+ "type": "boolean"
+ },
+ "totalValueUsd": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "totalValueUsd",
+ "addresses"
+ ],
+ "type": "object"
+ }
+]