{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "QueryMsg", "oneOf": [ { "description": "Gets the governance module's config. Returns `state::Config`.", "type": "object", "required": [ "config" ], "properties": { "config": { "type": "object" } }, "additionalProperties": false }, { "description": "Gets information about a proposal. Returns `proposals::Proposal`.", "type": "object", "required": [ "proposal" ], "properties": { "proposal": { "type": "object", "required": [ "proposal_id" ], "properties": { "proposal_id": { "type": "integer", "format": "uint64", "minimum": 0.0 } } } }, "additionalProperties": false }, { "type": "object", "required": [ "list_proposals" ], "properties": { "list_proposals": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "uint64", "minimum": 0.0 }, "start_after": { "type": [ "integer", "null" ], "format": "uint64", "minimum": 0.0 } } } }, "additionalProperties": false }, { "type": "object", "required": [ "reverse_proposals" ], "properties": { "reverse_proposals": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "uint64", "minimum": 0.0 }, "start_before": { "type": [ "integer", "null" ], "format": "uint64", "minimum": 0.0 } } } }, "additionalProperties": false }, { "type": "object", "required": [ "proposal_count" ], "properties": { "proposal_count": { "type": "object" } }, "additionalProperties": false }, { "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 }, { "type": "object", "required": [ "list_votes" ], "properties": { "list_votes": { "type": "object", "required": [ "proposal_id" ], "properties": { "limit": { "type": [ "integer", "null" ], "format": "uint64", "minimum": 0.0 }, "proposal_id": { "type": "integer", "format": "uint64", "minimum": 0.0 }, "start_after": { "type": [ "string", "null" ] } } } }, "additionalProperties": false }, { "type": "object", "required": [ "proposal_hooks" ], "properties": { "proposal_hooks": { "type": "object" } }, "additionalProperties": false }, { "type": "object", "required": [ "vote_hooks" ], "properties": { "vote_hooks": { "type": "object" } }, "additionalProperties": false }, { "type": "object", "required": [ "info" ], "properties": { "info": { "type": "object" } }, "additionalProperties": false } ] }