Darwin:Formations

From Open Rail Data Wiki
Revision as of 10:03, 18 March 2019 by PeterHicks (talk | contribs) (Add category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

A Formation message indicates the number of coaches (vehicles), the class of seating and details about the toilets on board. This information is maintained by train operators and is as accurate as the input they provide.

Detail

Formation messages are contained in a 'scheduleFormations' element.

The example shown below is the formation for RID 201812217119801. It describes a formation tagged as 201812217119801-001 - services may have more than one formation where they split and join en-route.

The set of coaches are listed in order with the first being at the front of the train, and the last being at the rear. Coaches may be identified by number, or by letter - these identifiers are not necessarily alphabetically or numerically sequential.

The class of seating is also shown - Standard, First or Mixed.

Where a toilet is present in a particular coach, its status, the type of toilet (either Standard or Accessible) will be reported. This is dependent on the operator of the train entering the details in to Darwin.

Example message

<?xml version="1.0" encoding="UTF-8"?>
<Pport xmlns:fml="http://www.thalesgroup.com/rtti/PushPort/Formations/v1" xmlns:fml2="http://www.thalesgroup.com/rtti/PushPort/Formations/v2" ts="2018-12-21T09:18:06.1496269+00:00" version="STG-16.0" xmlns="http://www.thalesgroup.com/rtti/PushPort/v16">
  <uR updateOrigin="CIS" requestSource="CACI" requestID="tf12210918061420">
    <scheduleFormations rid="201812217119801">
      <fml2:formation fid="201812217119801-001">
        <fml2:coaches>
          <fml2:coach coachNumber="0" coachClass="Mixed">
            <fml2:toilet status="Unknown">None</fml2:toilet>
          </fml2:coach>
          <fml2:coach coachNumber="1" coachClass="Standard">
            <fml2:toilet status="Unknown">Standard</fml2:toilet>
          </fml2:coach>
...