Skip to content

feat(schemas): Add RailDS message schemas#21

Draft
runkelcorey wants to merge 4 commits into
mainfrom
feature-schemas-railds
Draft

feat(schemas): Add RailDS message schemas#21
runkelcorey wants to merge 4 commits into
mainfrom
feature-schemas-railds

Conversation

@runkelcorey

@runkelcorey runkelcorey commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Asana Task: Burns, Lamp, and RE agree on message schema

What changes does this PR propose?

  • Adds schema for RailDS CloudEvents with associated schemas for the data fields of 2 types:
    • measurement representing raw data measurements from the Microlok devices
    • switch-throw representing detected switch throws
  • Adds examples of each message type

A future PR will update documentation.

How were these changes validated?

  1. Compared the schemas to samples of switch throws and Microlok data

What questions should reviewers consider?

  1. What of these fields are required? I'm happy to let these be lenient, just want to understand what we'll receive
  2. Are there other message types that we should model now?

@runkelcorey runkelcorey self-assigned this Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant