{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getchord-xyz/json-schema/getchord-xyz-trade-row-schema.json",
  "title": "TradeRow",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getchord-xyz-tokens-and-charts-api-openapi.yml#/components/schemas/TradeRow",
  "type": "object",
  "properties": {
    "tx": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{64}$",
      "description": "Transaction hash."
    },
    "logIndex": {
      "type": "integer",
      "description": ""
    },
    "dex": {
      "type": "string",
      "description": ""
    },
    "side": {
      "type": "string",
      "enum": [
        "buy",
        "sell"
      ]
    },
    "tokenAmt": {
      "type": "number",
      "description": ""
    },
    "usd": {
      "type": "number",
      "description": ""
    },
    "priceUsd": {
      "type": "number",
      "description": ""
    },
    "ts": {
      "type": "integer",
      "description": "Unix time, seconds, UTC."
    },
    "wallet": {
      "type": [
        "string",
        "null"
      ],
      "pattern": "^0x[a-fA-F0-9]{40}$",
      "description": "EVM address, hex, case-insensitive."
    }
  }
}