{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "QueryMsg", "oneOf": [ { "description": "Return ThresholdResponse", "type": "object", "required": [ "threshold" ], "properties": { "threshold": { "type": "object" } }, "additionalProperties": false }, { "description": "Returns ProposalResponse", "type": "object", "required": [ "proposal" ], "properties": { "proposal": { "type": "object", "required": [ "proposal_id" ], "properties": { "proposal_id": { "type": "integer", "format": "uint64", "minimum": 0.0 } } } }, "additionalProperties": false }, { "description": "Returns ProposalListResponse", "type": "object", "required": [ "list_proposals" ], "properties": { "list_proposals": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 0.0 }, "start_after": { "type": [ "integer", "null" ], "format": "uint64", "minimum": 0.0 } } } }, "additionalProperties": false }, { "description": "Returns ProposalListResponse", "type": "object", "required": [ "reverse_proposals" ], "properties": { "reverse_proposals": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 0.0 }, "start_before": { "type": [ "integer", "null" ], "format": "uint64", "minimum": 0.0 } } } }, "additionalProperties": false }, { "description": "Returns VoteResponse", "type": "object", "required": [ "vote" ], "properties": { "vote": { "type": "object", "required": [ "proposal_id", "voter" ], "properties": { "proposal_id": { "type": "integer", "format": "uint64", "minimum": 0.0 }, "voter": { "type": "string" } } } }, "additionalProperties": false }, { "description": "Returns VoteListResponse", "type": "object", "required": [ "list_votes" ], "properties": { "list_votes": { "type": "object", "required": [ "proposal_id" ], "properties": { "limit": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 0.0 }, "proposal_id": { "type": "integer", "format": "uint64", "minimum": 0.0 }, "start_after": { "type": [ "string", "null" ] } } } }, "additionalProperties": false }, { "description": "Returns VoterInfo", "type": "object", "required": [ "voter" ], "properties": { "voter": { "type": "object", "required": [ "address" ], "properties": { "address": { "type": "string" } } } }, "additionalProperties": false }, { "description": "Returns VoterListResponse", "type": "object", "required": [ "list_voters" ], "properties": { "list_voters": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "uint32", "minimum": 0.0 }, "start_after": { "type": [ "string", "null" ] } } } }, "additionalProperties": false } ] }