{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/immix/json-schema/immix-data-asset-schema.json",
  "title": "Asset",
  "description": "A coin, token, fiat currency or index that instruments are quoted in, settle in or are written on.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/immix-assets-api-openapi.yml#/components/schemas/data_Asset",
  "type": "object",
  "properties": {
    "assetId": {
      "type": "string",
      "description": "The asset's id. Ids are opaque strings."
    },
    "symbol": {
      "type": "string",
      "description": "The asset's symbol, as instrument symbols spell it: the `BTC` in `OKX@BTC/USDT`."
    },
    "type": {
      "type": "string",
      "description": "The asset class: `COIN`, `TOKEN`, `FIAT`, `STABLE_COIN`, `INDEX`, `COMMODITY`, `STOCK` or `OTHER`. Append-only: tolerate values you don't know."
    },
    "updatedAtNs": {
      "type": [
        "string",
        "null"
      ],
      "pattern": "^[0-9]+$",
      "description": "When the asset record last changed, as a sequencer timestamp in epoch nanoseconds. Null when unknown."
    }
  },
  "required": [
    "assetId",
    "symbol",
    "type",
    "updatedAtNs"
  ]
}