{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "BitBadgesQuery", "description": "BitBadgesQuery is defines available query datas", "oneOf": [ { "type": "object", "required": [ "queryValueAtLocation" ], "properties": { "queryValueAtLocation": { "type": "object", "required": [ "locationId" ], "properties": { "locationId": { "type": "string" } } } }, "additionalProperties": false }, { "type": "object", "required": [ "queryCollection" ], "properties": { "queryCollection": { "type": "object", "required": [ "collectionId" ], "properties": { "collectionId": { "type": "string" } } } }, "additionalProperties": false }, { "type": "object", "required": [ "queryBalance" ], "properties": { "queryBalance": { "type": "object", "required": [ "address", "collectionId" ], "properties": { "address": { "type": "string" }, "collectionId": { "type": "string" } } } }, "additionalProperties": false }, { "type": "object", "required": [ "queryAddressList" ], "properties": { "queryAddressList": { "type": "object", "required": [ "listId" ], "properties": { "listId": { "type": "string" } } } }, "additionalProperties": false }, { "type": "object", "required": [ "queryApprovalTracker" ], "properties": { "queryApprovalTracker": { "type": "object", "required": [ "amountTrackerId", "approvalId", "approvalLevel", "approvedAddress", "approverAddress", "collectionId", "trackerType" ], "properties": { "amountTrackerId": { "type": "string" }, "approvalId": { "type": "string" }, "approvalLevel": { "type": "string" }, "approvedAddress": { "type": "string" }, "approverAddress": { "type": "string" }, "collectionId": { "type": "string" }, "trackerType": { "type": "string" } } } }, "additionalProperties": false }, { "type": "object", "required": [ "queryChallengeTracker" ], "properties": { "queryChallengeTracker": { "type": "object", "required": [ "approvalId", "approvalLevel", "approverAddress", "challengeTrackerId", "collectionId", "leafIndex" ], "properties": { "approvalId": { "type": "string" }, "approvalLevel": { "type": "string" }, "approverAddress": { "type": "string" }, "challengeTrackerId": { "type": "string" }, "collectionId": { "type": "string" }, "leafIndex": { "type": "string" } } } }, "additionalProperties": false } ] }