---
source: rust/foxglove/src/protocol/common/server/advertise.rs
expression: message()
---
{
  "op": "advertise",
  "channels": [
    {
      "id": 10,
      "topic": "/t1",
      "encoding": "json",
      "schemaName": "",
      "schema": ""
    },
    {
      "id": 20,
      "topic": "/t2",
      "encoding": "json",
      "schemaName": "t2-schema",
      "schemaEncoding": "jsonschema",
      "schema": "{\"type\": \"object\"}"
    },
    {
      "id": 30,
      "topic": "/t3",
      "encoding": "protobuf",
      "schemaName": "t3-schema",
      "schemaEncoding": "protobuf",
      "schema": "3q2+7w=="
    },
    {
      "id": 40,
      "topic": "/t4",
      "encoding": "json",
      "schemaName": "",
      "schema": "",
      "metadata": {
        "foxglove.hasVideoTrack": "true"
      }
    }
  ]
}
