Element state in Common

Original proposal

The ElementState and StatesBaseElement as currently defined/used in Infrastructure shall be moved to Common to be available for general use in other subschemas.

Possible solutions

Three possible alternatives have been identified:

  1. Move the base types to Generic and introduce <rollingstockStates> under <rollingstock>, <interlockingStates> under <interlocking> etc., similar to <infrastructureStates> under <infrastructure>.
  2. Move <infrastructureStates> to <common> and rename to <states>. All types of elements can be referenced.
  3. Define states in Common and reverse the direction of the reference, so that all elements can reference defined states with a <validityTime> associated to each reference.
Edited by CO Coordination