{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "Cosmos SDK cosmos.gov.v1beta1 Schemas", "description": "JSON Schema definitions for the cosmos.gov.v1beta1 module of the Cosmos SDK gRPC-gateway REST API.", "definitions": { "cosmos.gov.v1beta1.Deposit": { "type": "object", "properties": { "proposalId": { "type": "string", "format": "uint64", "description": "proposal_id defines the unique id of the proposal." }, "depositor": { "type": "string", "description": "depositor defines the deposit addresses from the proposals." }, "amount": { "type": "array", "items": { "type": "object", "properties": { "denom": { "type": "string" }, "amount": { "type": "string" } }, "description": "Coin defines a token with a denomination and an amount.\n\nNOTE: The amount field is an Int which implements the custom method\nsignatures required by gogoproto." }, "description": "amount to be deposited by depositor." } }, "description": "Deposit defines an amount deposited by an account address to an active\nproposal." }, "cosmos.gov.v1beta1.DepositParams": { "type": "object", "properties": { "minDeposit": { "type": "array", "items": { "type": "object", "properties": { "denom": { "type": "string" }, "amount": { "type": "string" } }, "description": "Coin defines a token with a denomination and an amount.\n\nNOTE: The amount field is an Int which implements the custom method\nsignatures required by gogoproto." }, "description": "Minimum deposit for a proposal to enter voting period." }, "maxDepositPeriod": { "type": "string", "description": "Maximum period for Atom holders to deposit on a proposal. Initial value: 2\nmonths." } }, "description": "DepositParams defines the params for deposits on governance proposals." }, "cosmos.gov.v1beta1.Proposal": { "type": "object", "properties": { "proposalId": { "type": "string", "format": "uint64", "description": "proposal_id defines the unique id of the proposal." }, "content": { "description": "content is the proposal's content.", "type": "object", "properties": { "@type": { "type": "string", "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." } }, "additionalProperties": {} }, "status": { "description": "status defines the proposal status.", "type": "string", "enum": [ "PROPOSAL_STATUS_UNSPECIFIED", "PROPOSAL_STATUS_DEPOSIT_PERIOD", "PROPOSAL_STATUS_VOTING_PERIOD", "PROPOSAL_STATUS_PASSED", "PROPOSAL_STATUS_REJECTED", "PROPOSAL_STATUS_FAILED" ], "default": "PROPOSAL_STATUS_UNSPECIFIED" }, "finalTallyResult": { "description": "final_tally_result is the final tally result of the proposal. When\nquerying a proposal via gRPC, this field is not populated until the\nproposal's voting period has ended.", "type": "object", "properties": { "yes": { "type": "string", "description": "yes is the number of yes votes on a proposal." }, "abstain": { "type": "string", "description": "abstain is the number of abstain votes on a proposal." }, "no": { "type": "string", "description": "no is the number of no votes on a proposal." }, "noWithVeto": { "type": "string", "description": "no_with_veto is the number of no with veto votes on a proposal." } } }, "submitTime": { "type": "string", "format": "date-time", "description": "submit_time is the time of proposal submission." }, "depositEndTime": { "type": "string", "format": "date-time", "description": "deposit_end_time is the end time for deposition." }, "totalDeposit": { "type": "array", "items": { "type": "object", "properties": { "denom": { "type": "string" }, "amount": { "type": "string" } }, "description": "Coin defines a token with a denomination and an amount.\n\nNOTE: The amount field is an Int which implements the custom method\nsignatures required by gogoproto." }, "description": "total_deposit is the total deposit on the proposal." }, "votingStartTime": { "type": "string", "format": "date-time", "description": "voting_start_time is the starting time to vote on a proposal." }, "votingEndTime": { "type": "string", "format": "date-time", "description": "voting_end_time is the end time of voting on a proposal." } }, "description": "Proposal defines the core field members of a governance proposal." }, "cosmos.gov.v1beta1.ProposalStatus": { "type": "string", "enum": [ "PROPOSAL_STATUS_UNSPECIFIED", "PROPOSAL_STATUS_DEPOSIT_PERIOD", "PROPOSAL_STATUS_VOTING_PERIOD", "PROPOSAL_STATUS_PASSED", "PROPOSAL_STATUS_REJECTED", "PROPOSAL_STATUS_FAILED" ], "default": "PROPOSAL_STATUS_UNSPECIFIED", "description": "ProposalStatus enumerates the valid statuses of a proposal.\n\n - PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status.\n - PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit\nperiod.\n - PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting\nperiod.\n - PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has\npassed.\n - PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has\nbeen rejected.\n - PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has\nfailed." }, "cosmos.gov.v1beta1.QueryDepositResponse": { "type": "object", "properties": { "deposit": { "description": "deposit defines the requested deposit.", "type": "object", "properties": { "proposalId": { "type": "string", "format": "uint64", "description": "proposal_id defines the unique id of the proposal." }, "depositor": { "type": "string", "description": "depositor defines the deposit addresses from the proposals." }, "amount": { "type": "array", "items": { "type": "object", "properties": { "denom": { "type": "string" }, "amount": { "type": "string" } }, "description": "Coin defines a token with a denomination and an amount.\n\nNOTE: The amount field is an Int which implements the custom method\nsignatures required by gogoproto." }, "description": "amount to be deposited by depositor." } } } }, "description": "QueryDepositResponse is the response type for the Query/Deposit RPC method." }, "cosmos.gov.v1beta1.QueryDepositsResponse": { "type": "object", "properties": { "deposits": { "type": "array", "items": { "type": "object", "properties": { "proposalId": { "type": "string", "format": "uint64", "description": "proposal_id defines the unique id of the proposal." }, "depositor": { "type": "string", "description": "depositor defines the deposit addresses from the proposals." }, "amount": { "type": "array", "items": { "type": "object", "properties": { "denom": { "type": "string" }, "amount": { "type": "string" } }, "description": "Coin defines a token with a denomination and an amount.\n\nNOTE: The amount field is an Int which implements the custom method\nsignatures required by gogoproto." }, "description": "amount to be deposited by depositor." } }, "description": "Deposit defines an amount deposited by an account address to an active\nproposal." }, "description": "deposits defines the requested deposits." }, "pagination": { "description": "pagination defines the pagination in the response.", "type": "object", "properties": { "nextKey": { "type": "string", "format": "byte", "description": "next_key is the key to be passed to PageRequest.key to\nquery the next page most efficiently. It will be empty if\nthere are no more results." }, "total": { "type": "string", "format": "uint64", "title": "total is total number of results available if PageRequest.count_total\nwas set, its value is undefined otherwise" } } } }, "description": "QueryDepositsResponse is the response type for the Query/Deposits RPC method." }, "cosmos.gov.v1beta1.QueryParamsResponse": { "type": "object", "properties": { "votingParams": { "description": "voting_params defines the parameters related to voting.", "type": "object", "properties": { "votingPeriod": { "type": "string", "description": "Duration of the voting period." } } }, "depositParams": { "description": "deposit_params defines the parameters related to deposit.", "type": "object", "properties": { "minDeposit": { "type": "array", "items": { "type": "object", "properties": { "denom": { "type": "string" }, "amount": { "type": "string" } }, "description": "Coin defines a token with a denomination and an amount.\n\nNOTE: The amount field is an Int which implements the custom method\nsignatures required by gogoproto." }, "description": "Minimum deposit for a proposal to enter voting period." }, "maxDepositPeriod": { "type": "string", "description": "Maximum period for Atom holders to deposit on a proposal. Initial value: 2\nmonths." } } }, "tallyParams": { "description": "tally_params defines the parameters related to tally.", "type": "object", "properties": { "quorum": { "type": "string", "format": "byte", "description": "Minimum percentage of total stake needed to vote for a result to be\nconsidered valid." }, "threshold": { "type": "string", "format": "byte", "description": "Minimum proportion of Yes votes for proposal to pass. Default value: 0.5." }, "vetoThreshold": { "type": "string", "format": "byte", "description": "Minimum value of Veto votes to Total votes ratio for proposal to be\nvetoed. Default value: 1/3." } } } }, "description": "QueryParamsResponse is the response type for the Query/Params RPC method." }, "cosmos.gov.v1beta1.QueryProposalResponse": { "type": "object", "properties": { "proposal": { "type": "object", "properties": { "proposalId": { "type": "string", "format": "uint64", "description": "proposal_id defines the unique id of the proposal." }, "content": { "description": "content is the proposal's content.", "type": "object", "properties": { "@type": { "type": "string", "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." } }, "additionalProperties": {} }, "status": { "description": "status defines the proposal status.", "type": "string", "enum": [ "PROPOSAL_STATUS_UNSPECIFIED", "PROPOSAL_STATUS_DEPOSIT_PERIOD", "PROPOSAL_STATUS_VOTING_PERIOD", "PROPOSAL_STATUS_PASSED", "PROPOSAL_STATUS_REJECTED", "PROPOSAL_STATUS_FAILED" ], "default": "PROPOSAL_STATUS_UNSPECIFIED" }, "finalTallyResult": { "description": "final_tally_result is the final tally result of the proposal. When\nquerying a proposal via gRPC, this field is not populated until the\nproposal's voting period has ended.", "type": "object", "properties": { "yes": { "type": "string", "description": "yes is the number of yes votes on a proposal." }, "abstain": { "type": "string", "description": "abstain is the number of abstain votes on a proposal." }, "no": { "type": "string", "description": "no is the number of no votes on a proposal." }, "noWithVeto": { "type": "string", "description": "no_with_veto is the number of no with veto votes on a proposal." } } }, "submitTime": { "type": "string", "format": "date-time", "description": "submit_time is the time of proposal submission." }, "depositEndTime": { "type": "string", "format": "date-time", "description": "deposit_end_time is the end time for deposition." }, "totalDeposit": { "type": "array", "items": { "type": "object", "properties": { "denom": { "type": "string" }, "amount": { "type": "string" } }, "description": "Coin defines a token with a denomination and an amount.\n\nNOTE: The amount field is an Int which implements the custom method\nsignatures required by gogoproto." }, "description": "total_deposit is the total deposit on the proposal." }, "votingStartTime": { "type": "string", "format": "date-time", "description": "voting_start_time is the starting time to vote on a proposal." }, "votingEndTime": { "type": "string", "format": "date-time", "description": "voting_end_time is the end time of voting on a proposal." } }, "description": "Proposal defines the core field members of a governance proposal." } }, "description": "QueryProposalResponse is the response type for the Query/Proposal RPC method." }, "cosmos.gov.v1beta1.QueryProposalsResponse": { "type": "object", "properties": { "proposals": { "type": "array", "items": { "type": "object", "properties": { "proposalId": { "type": "string", "format": "uint64", "description": "proposal_id defines the unique id of the proposal." }, "content": { "description": "content is the proposal's content.", "type": "object", "properties": { "@type": { "type": "string", "description": "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics." } }, "additionalProperties": {} }, "status": { "description": "status defines the proposal status.", "type": "string", "enum": [ "PROPOSAL_STATUS_UNSPECIFIED", "PROPOSAL_STATUS_DEPOSIT_PERIOD", "PROPOSAL_STATUS_VOTING_PERIOD", "PROPOSAL_STATUS_PASSED", "PROPOSAL_STATUS_REJECTED", "PROPOSAL_STATUS_FAILED" ], "default": "PROPOSAL_STATUS_UNSPECIFIED" }, "finalTallyResult": { "description": "final_tally_result is the final tally result of the proposal. When\nquerying a proposal via gRPC, this field is not populated until the\nproposal's voting period has ended.", "type": "object", "properties": { "yes": { "type": "string", "description": "yes is the number of yes votes on a proposal." }, "abstain": { "type": "string", "description": "abstain is the number of abstain votes on a proposal." }, "no": { "type": "string", "description": "no is the number of no votes on a proposal." }, "noWithVeto": { "type": "string", "description": "no_with_veto is the number of no with veto votes on a proposal." } } }, "submitTime": { "type": "string", "format": "date-time", "description": "submit_time is the time of proposal submission." }, "depositEndTime": { "type": "string", "format": "date-time", "description": "deposit_end_time is the end time for deposition." }, "totalDeposit": { "type": "array", "items": { "type": "object", "properties": { "denom": { "type": "string" }, "amount": { "type": "string" } }, "description": "Coin defines a token with a denomination and an amount.\n\nNOTE: The amount field is an Int which implements the custom method\nsignatures required by gogoproto." }, "description": "total_deposit is the total deposit on the proposal." }, "votingStartTime": { "type": "string", "format": "date-time", "description": "voting_start_time is the starting time to vote on a proposal." }, "votingEndTime": { "type": "string", "format": "date-time", "description": "voting_end_time is the end time of voting on a proposal." } }, "description": "Proposal defines the core field members of a governance proposal." }, "description": "proposals defines all the requested governance proposals." }, "pagination": { "description": "pagination defines the pagination in the response.", "type": "object", "properties": { "nextKey": { "type": "string", "format": "byte", "description": "next_key is the key to be passed to PageRequest.key to\nquery the next page most efficiently. It will be empty if\nthere are no more results." }, "total": { "type": "string", "format": "uint64", "title": "total is total number of results available if PageRequest.count_total\nwas set, its value is undefined otherwise" } } } }, "description": "QueryProposalsResponse is the response type for the Query/Proposals RPC\nmethod." }, "cosmos.gov.v1beta1.QueryTallyResultResponse": { "type": "object", "properties": { "tally": { "description": "tally defines the requested tally.", "type": "object", "properties": { "yes": { "type": "string", "description": "yes is the number of yes votes on a proposal." }, "abstain": { "type": "string", "description": "abstain is the number of abstain votes on a proposal." }, "no": { "type": "string", "description": "no is the number of no votes on a proposal." }, "noWithVeto": { "type": "string", "description": "no_with_veto is the number of no with veto votes on a proposal." } } } }, "description": "QueryTallyResultResponse is the response type for the Query/Tally RPC method." }, "cosmos.gov.v1beta1.QueryVoteResponse": { "type": "object", "properties": { "vote": { "description": "vote defines the queried vote.", "type": "object", "properties": { "proposalId": { "type": "string", "format": "uint64", "description": "proposal_id defines the unique id of the proposal." }, "voter": { "type": "string", "description": "voter is the voter address of the proposal." }, "option": { "description": "Deprecated: Prefer to use `options` instead. This field is set in queries\nif and only if `len(options) == 1` and that option has weight 1. In all\nother cases, this field will default to VOTE_OPTION_UNSPECIFIED.", "type": "string", "enum": [ "VOTE_OPTION_UNSPECIFIED", "VOTE_OPTION_YES", "VOTE_OPTION_ABSTAIN", "VOTE_OPTION_NO", "VOTE_OPTION_NO_WITH_VETO" ], "default": "VOTE_OPTION_UNSPECIFIED" }, "options": { "type": "array", "items": { "type": "object", "properties": { "option": { "description": "option defines the valid vote options, it must not contain duplicate vote options.", "type": "string", "enum": [ "VOTE_OPTION_UNSPECIFIED", "VOTE_OPTION_YES", "VOTE_OPTION_ABSTAIN", "VOTE_OPTION_NO", "VOTE_OPTION_NO_WITH_VETO" ], "default": "VOTE_OPTION_UNSPECIFIED" }, "weight": { "type": "string", "description": "weight is the vote weight associated with the vote option." } }, "description": "WeightedVoteOption defines a unit of vote for vote split." }, "description": "options is the weighted vote options." } } } }, "description": "QueryVoteResponse is the response type for the Query/Vote RPC method." }, "cosmos.gov.v1beta1.QueryVotesResponse": { "type": "object", "properties": { "votes": { "type": "array", "items": { "type": "object", "properties": { "proposalId": { "type": "string", "format": "uint64", "description": "proposal_id defines the unique id of the proposal." }, "voter": { "type": "string", "description": "voter is the voter address of the proposal." }, "option": { "description": "Deprecated: Prefer to use `options` instead. This field is set in queries\nif and only if `len(options) == 1` and that option has weight 1. In all\nother cases, this field will default to VOTE_OPTION_UNSPECIFIED.", "type": "string", "enum": [ "VOTE_OPTION_UNSPECIFIED", "VOTE_OPTION_YES", "VOTE_OPTION_ABSTAIN", "VOTE_OPTION_NO", "VOTE_OPTION_NO_WITH_VETO" ], "default": "VOTE_OPTION_UNSPECIFIED" }, "options": { "type": "array", "items": { "type": "object", "properties": { "option": { "description": "option defines the valid vote options, it must not contain duplicate vote options.", "type": "string", "enum": [ "VOTE_OPTION_UNSPECIFIED", "VOTE_OPTION_YES", "VOTE_OPTION_ABSTAIN", "VOTE_OPTION_NO", "VOTE_OPTION_NO_WITH_VETO" ], "default": "VOTE_OPTION_UNSPECIFIED" }, "weight": { "type": "string", "description": "weight is the vote weight associated with the vote option." } }, "description": "WeightedVoteOption defines a unit of vote for vote split." }, "description": "options is the weighted vote options." } }, "description": "Vote defines a vote on a governance proposal.\nA Vote consists of a proposal ID, the voter, and the vote option." }, "description": "votes defines the queried votes." }, "pagination": { "description": "pagination defines the pagination in the response.", "type": "object", "properties": { "nextKey": { "type": "string", "format": "byte", "description": "next_key is the key to be passed to PageRequest.key to\nquery the next page most efficiently. It will be empty if\nthere are no more results." }, "total": { "type": "string", "format": "uint64", "title": "total is total number of results available if PageRequest.count_total\nwas set, its value is undefined otherwise" } } } }, "description": "QueryVotesResponse is the response type for the Query/Votes RPC method." }, "cosmos.gov.v1beta1.TallyParams": { "type": "object", "properties": { "quorum": { "type": "string", "format": "byte", "description": "Minimum percentage of total stake needed to vote for a result to be\nconsidered valid." }, "threshold": { "type": "string", "format": "byte", "description": "Minimum proportion of Yes votes for proposal to pass. Default value: 0.5." }, "vetoThreshold": { "type": "string", "format": "byte", "description": "Minimum value of Veto votes to Total votes ratio for proposal to be\nvetoed. Default value: 1/3." } }, "description": "TallyParams defines the params for tallying votes on governance proposals." }, "cosmos.gov.v1beta1.TallyResult": { "type": "object", "properties": { "yes": { "type": "string", "description": "yes is the number of yes votes on a proposal." }, "abstain": { "type": "string", "description": "abstain is the number of abstain votes on a proposal." }, "no": { "type": "string", "description": "no is the number of no votes on a proposal." }, "noWithVeto": { "type": "string", "description": "no_with_veto is the number of no with veto votes on a proposal." } }, "description": "TallyResult defines a standard tally for a governance proposal." }, "cosmos.gov.v1beta1.Vote": { "type": "object", "properties": { "proposalId": { "type": "string", "format": "uint64", "description": "proposal_id defines the unique id of the proposal." }, "voter": { "type": "string", "description": "voter is the voter address of the proposal." }, "option": { "description": "Deprecated: Prefer to use `options` instead. This field is set in queries\nif and only if `len(options) == 1` and that option has weight 1. In all\nother cases, this field will default to VOTE_OPTION_UNSPECIFIED.", "type": "string", "enum": [ "VOTE_OPTION_UNSPECIFIED", "VOTE_OPTION_YES", "VOTE_OPTION_ABSTAIN", "VOTE_OPTION_NO", "VOTE_OPTION_NO_WITH_VETO" ], "default": "VOTE_OPTION_UNSPECIFIED" }, "options": { "type": "array", "items": { "type": "object", "properties": { "option": { "description": "option defines the valid vote options, it must not contain duplicate vote options.", "type": "string", "enum": [ "VOTE_OPTION_UNSPECIFIED", "VOTE_OPTION_YES", "VOTE_OPTION_ABSTAIN", "VOTE_OPTION_NO", "VOTE_OPTION_NO_WITH_VETO" ], "default": "VOTE_OPTION_UNSPECIFIED" }, "weight": { "type": "string", "description": "weight is the vote weight associated with the vote option." } }, "description": "WeightedVoteOption defines a unit of vote for vote split." }, "description": "options is the weighted vote options." } }, "description": "Vote defines a vote on a governance proposal.\nA Vote consists of a proposal ID, the voter, and the vote option." }, "cosmos.gov.v1beta1.VoteOption": { "type": "string", "enum": [ "VOTE_OPTION_UNSPECIFIED", "VOTE_OPTION_YES", "VOTE_OPTION_ABSTAIN", "VOTE_OPTION_NO", "VOTE_OPTION_NO_WITH_VETO" ], "default": "VOTE_OPTION_UNSPECIFIED", "description": "VoteOption enumerates the valid vote options for a given governance proposal.\n\n - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option.\n - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option.\n - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option.\n - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option.\n - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option." }, "cosmos.gov.v1beta1.VotingParams": { "type": "object", "properties": { "votingPeriod": { "type": "string", "description": "Duration of the voting period." } }, "description": "VotingParams defines the params for voting on governance proposals." }, "cosmos.gov.v1beta1.WeightedVoteOption": { "type": "object", "properties": { "option": { "description": "option defines the valid vote options, it must not contain duplicate vote options.", "type": "string", "enum": [ "VOTE_OPTION_UNSPECIFIED", "VOTE_OPTION_YES", "VOTE_OPTION_ABSTAIN", "VOTE_OPTION_NO", "VOTE_OPTION_NO_WITH_VETO" ], "default": "VOTE_OPTION_UNSPECIFIED" }, "weight": { "type": "string", "description": "weight is the vote weight associated with the vote option." } }, "description": "WeightedVoteOption defines a unit of vote for vote split." } } }