Data models and message bus topics
Overview
We document here the message bus topics and the data models associated with ToMCAT. An implicit design decision that we make is that each ‘leaf’ in the topic hierarchy corresponds to a unique schema. So if you subscribe to all the messages at a non-leaf level in the hierarchy, you will get messages corresponding to all the leaves under that level.
We also provide the data models and example JSON output for data that is not
necessarily published to the message bus - for example, the SessionMetadata
model describes the format of the file metadata.json
that is written to
each session data directory produced by the run_session
script.
The structured documentation below was auto-generated from this YAML file.
Topics and models
ToMCAT Data Models and Message Topics 0.1
OAS3
A formal specification of data models and message bus topics associated with ToMCAT.
Common EventsEvents common to all missions.
Events common to all missions.
ObservationsData from physical and virtual sensors that take measurements at regular intervals.
Data from physical and virtual sensors that take measurements at regular intervals.
Zombie Invasion EventsEvents from the Zombie Invasion mission.
Events from the Zombie Invasion mission.
USAR EventsEvents from the Urban Search-and-Rescue mission.
Events from the Urban Search-and-Rescue mission.
Schemas
Colophon
The documentation for the topics and the data models above was generated using a version of the Swagger UI generator that was modified to align better with the notion of publishing/subscribing using a message bus.