{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/immix/json-schema/immix-data-venue-schema.json",
  "title": "Venue",
  "description": "A trading venue that IMMIX connects to.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/immix-venues-api-openapi.yml#/components/schemas/data_Venue",
  "type": "object",
  "properties": {
    "venueId": {
      "type": "string",
      "description": "The venue's id. Ids are opaque strings."
    },
    "code": {
      "type": "string",
      "description": "The venue code. Instrument symbols carry it upper-cased as their venue prefix: `okx` is the `OKX@` in `OKX@BTC/USDT`."
    },
    "displayName": {
      "type": "string",
      "description": "The name to show people."
    },
    "updatedAtNs": {
      "type": [
        "string",
        "null"
      ],
      "pattern": "^[0-9]+$",
      "description": "When the venue record last changed, as a sequencer timestamp in epoch nanoseconds. Null when unknown."
    }
  },
  "required": [
    "venueId",
    "code",
    "displayName",
    "updatedAtNs"
  ]
}