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:
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
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.