GEMINI Allocation message — when is <DiagramNo> omitted?

49 views
Skip to first unread message

Deek

unread,
May 14, 2026, 9:52:17 AM (3 days ago) May 14
to A gathering place for the Open Rail Data community

We consume the GEMINI allocation Kafka feed and have noticed Allocation elements where <DiagramNo> is absent. The TAFTSI 5.3.1.GB / LINX XSD has DiagramNo as minOccurs="0" so it's schema-valid, but I haven't found anything documenting the operational rules.

Two questions:

  1. Under what circumstances does GEMINI legitimately omit <DiagramNo> from an Allocation element? (e.g. early provisional allocation before a diagram is assigned, certain MessageStatus values, specific train types, etc.)
  2. When a MessageStatus=2 (modification) message arrives without <DiagramNo> for a service that previously had one, should consumers treat this as:
    • the diagram has been removed from this allocation, or
    • the diagram is unchanged and just not re-stated in the modification?

For context — we're using (schedule_date, train_uid, diagram_no, resource_position) as a slot key to detect unit swaps, and the NULL-diagram cases break that logic.

Thanks


Tom Cairns

unread,
May 14, 2026, 11:27:16 AM (2 days ago) May 14
to openrail...@googlegroups.com

From memory a diagram number can be omitted when ad-hoc changes are being made particularly in significant disruption or very short notice alterations. We detect swaps just based on the change from the previous message on a service internally.

 

Note that resource position can be unreliable on some operators – as in some cases the data can be put purely in numerical (or alphabetical, depending on how you look at it) order.

 

Tom

 

--
You received this message because you are subscribed to the Google Groups "A gathering place for the Open Rail Data community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openraildata-t...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/openraildata-talk/a8f96686-52da-4b15-b4cd-ec4b9fb7bfcbn%40googlegroups.com.

Deek

unread,
May 15, 2026, 1:54:16 AM (yesterday) May 15
to A gathering place for the Open Rail Data community
Many thanks Tom

Derek. 
Reply all
Reply to author
Forward
0 new messages