{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "PoolV2Response",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier of the pool (market)"
    },
    "symbol": {
      "type": "string",
      "description": "Symbol of the pool (market)"
    },
    "expiry": {
      "type": "string",
      "description": "Expiry date of the pool (market)"
    },
    "currentVoterApr": {
      "type": "number",
      "description": "Voter APR for current epoch"
    },
    "lastEpochVoterApr": {
      "type": "number",
      "description": "Voter APR from last epoch"
    },
    "currentSwapFee": {
      "type": "number",
      "description": "Swap fees collected in current epoch (in USD)"
    },
    "lastEpochSwapFee": {
      "type": "number",
      "description": "Swap fees collected in last epoch (in USD)"
    },
    "projectedVoterApr": {
      "type": "number",
      "description": "Projected voter APR for next epoch"
    },
    "projectedVotes": {
      "nullable": true,
      "description": "Projected votes for next epoch",
      "allOf": [
        {
          "$ref": "#/components/schemas/VoteV2Response"
        }
      ]
    },
    "currentVotes": {
      "nullable": true,
      "description": "Votes in current epoch",
      "allOf": [
        {
          "$ref": "#/components/schemas/VoteV2Response"
        }
      ]
    },
    "expectedCap": {
      "type": "string",
      "description": "Expected incentive cap for next epoch (BigInt string)"
    },
    "currentCap": {
      "type": "string",
      "description": "Current incentive cap for this epoch (BigInt string)"
    }
  },
  "required": [
    "id",
    "symbol",
    "expiry"
  ]
}