{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/pancakeswap/main/json-schema/token.json",
  "title": "PancakeSwap Token",
  "description": "Schema for a token listed on PancakeSwap",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Full token name",
      "example": "PancakeSwap Token"
    },
    "symbol": {
      "type": "string",
      "description": "Token ticker symbol",
      "example": "CAKE"
    },
    "price": {
      "type": "string",
      "description": "Token price in USD",
      "example": "5.32"
    },
    "price_BNB": {
      "type": "string",
      "description": "Token price in BNB",
      "example": "0.014"
    }
  },
  "required": ["name", "symbol", "price", "price_BNB"]
}
