{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cortexcloud-org/json-schema/cortexcloud-org-token-price-request-schema.json",
  "title": "TokenPriceRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cortexcloud-org-openapi.json#/components/schemas/TokenPriceRequest",
  "properties": {
    "id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Id",
      "description": "CoinGecko coin id, e.g. 'ethereum'."
    },
    "contract": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Contract",
      "description": "ERC-20 contract address (with chain) for price-by-contract."
    },
    "chain": {
      "type": "string",
      "title": "Chain",
      "description": "Chain for contract-based price.",
      "default": "ethereum"
    }
  },
  "type": "object"
}