Tezos · Schema

VoteParameter

TezosBlockchainTzKTBaking BadCryptocurrencySmart ContractsNFTTokensDelegationsStakingGovernanceFA1.2FA2WebSocket

Properties

Name Type Description
eq string **Equal** filter mode (optional, i.e. `param.eq=123` is the same as `param=123`). \ Specify a value to get items where the specified field is equal to the specified value. Example: `?vote=yay`.
ne string **Not equal** filter mode. \ Specify a value to get items where the specified field is not equal to the specified value. Example: `?vote.ne=pass`.
in array **In list** (any of) filter mode. \ Specify a comma-separated list of values to get items where the specified field is equal to one of the specified values. Example: `?vote.in=yay,nay`.
ni array **Not in list** (none of) filter mode. \ Specify a comma-separated list of values to get items where the specified field is not equal to all the specified values. Example: `?vote.ni=yay,nay`.
View JSON Schema on GitHub

JSON Schema

voteparameter.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "VoteParameter",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "eq": {
      "type": "string",
      "description": "**Equal** filter mode (optional, i.e. `param.eq=123` is the same as `param=123`). \\\nSpecify a value to get items where the specified field is equal to the specified value.\n\nExample: `?vote=yay`.",
      "nullable": true
    },
    "ne": {
      "type": "string",
      "description": "**Not equal** filter mode. \\\nSpecify a value to get items where the specified field is not equal to the specified value.\n\nExample: `?vote.ne=pass`.",
      "nullable": true
    },
    "in": {
      "type": "array",
      "description": "**In list** (any of) filter mode. \\\nSpecify a comma-separated list of values to get items where the specified field is equal to one of the specified values.\n\nExample: `?vote.in=yay,nay`.",
      "nullable": true,
      "items": {
        "type": "string"
      }
    },
    "ni": {
      "type": "array",
      "description": "**Not in list** (none of) filter mode. \\\nSpecify a comma-separated list of values to get items where the specified field is not equal to all the specified values.\n\nExample: `?vote.ni=yay,nay`.",
      "nullable": true,
      "items": {
        "type": "string"
      }
    }
  },
  "x-tzkt-extension": "query-parameter",
  "x-tzkt-query-parameter": "yay,nay,pass"
}