Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

InnholdContent

Table of Contents

Displaying brand or altered operator

Branding expands the presentation possibilities at all levels of the time table data. At the top level (Authority/Operator), Brandin can override which company information is displayed to the customer. This should not be used to separate routesper Authority - then additionalNetwork must be used.

Modeling for alternative operator information

All routes owned by the county municipality shall have the county municipality or the current administrative company as the Authority. Line data that is only delivered by the county miunicipality on behalf of other operators, has (normally) its own Authority within the data set's Codespace. This means in practice that the customer is informed that the Authority is responsible for the route, for example. management and ticketing (note that customer service / contact information regardless of this is obtained from CustomerServiceContactDetails for the current Operator).

If on some routes you want to display a different coimpanu information than what is stated in the Authority, you must use Branding. This is added by the following model:

...

Additional information on Network or Line

Branding is a generic NeTEx element which can be applied to elements in the NeTEx structure for adding or overriding name and URL. In the Nordic profile, the usage is limited to adding additional names and URL to the Network and Line elements.

  • Branding per Network

    • Used when certain lines in the dataset have a common denominator, i.e. Network.

    • Examples of this can be a cluster of city buses, a string of Lines which form a coherent service, or a sales related brand name.

    • The Network may have a different URL from the authority.

  • Branding per Line

    • Used when a Line has a commonly used or publicly marketed name which a customer may relate to in addition to the Lines' publicCode.

    • An example of this can be e.g. "Bergensbanen" for railway service journeys between Oslo and Bergen.

    • The Line may have a different URL from the authority.

Info

For multiple Networks in one dataset, additionalNetwork must be used.

Note that each additionalNetwork may have its own Authority, and must be used if necessary to have multiple Authorities within the same dataset.

Modelling of added information

The Branding elements may be added to the commons file of the dataset (for reduced redundancy) and is referred to from Network or Line with the use of a BrandingRef.

Gliffy
imageAttachmentIdatt728596642
macroIdf018d4b8-bc3b-4641-a0db-1e32be2bf385
baseUrlhttps://enturas.atlassian.net/wiki

...

namecodespace-authority-branding-operator
migration1
diagramAttachmentId

...

att728596646
containerId

...

728727682
timestamp

...

1566906621697

Please note that the concept of GroupOfLines is not a part of the hierarchy and does necessarily have to include the same lines as the Network.

The entire XML sample file is files are located on in the project's GitHub repository under GitHub repository:

Elements

ValueSet

Each Branding must be defined under Each instance of Branding is defined under ResourceFrame (as aTypeOfValue), with the minimum Name to be overruledspecified with Name value

Code Block
languagexml
<typesOfValue>
	<Branding version="1" id="SOFUNI:Branding:1">
		<Name>Firda Billag<<Name>Lavprisekspressen</Name>
		<Url>https://www.firda-billag.no/<lavprisekspressen.no</Url>
	</Branding>
	<Branding version="1" id="SOFVYB:Branding:21">
		<Name>Nettbuss Sogndal<<Name>Bus4You</Name>
		<Url>https://www.nettbussvy.no/<se</Url>
	</Branding>
</typesOfValue>

BrandingRef

The referance reference element BrandingRef must be entered specified for the object where the "brand name" a name, (and if applicable, other fields) is to be overruledreplaced.

Branding

...

on a Line

(forenklet eksempelsimplified example)

Code Block
languagexml
<Line version="1" id="SOFUNI:Line:1">
	<BrandingRef version="1" ref="SOFUNI:Branding:1"/>
	<Name>Sogndal-Kaupanger kai<<Name>Oslo-Kristiansand-Stavanger</Name>
	<TransportMode>bus</TransportMode>
	<TransportSubmode>
		<BusSubmode>localBus</BusSubmode>
	</TransportSubmode>
</Line>

Branding

...

on a Network

(simpliefied simplified example)

Code Block
languagexml
<ServiceJourney<Network version="1" id="SOFVYB:ServiceJourneyNetwork:1"> 
	<BrandingRef version="1" ref="SOFVYB:Branding:21"/>
	<Name>Sogndal-Kaupanger kai</Name>
	<TransportMode>bus</TransportMode>
	<TransportSubmode>
		<BusSubmode>localBus</BusSubmode>
	</TransportSubmode>
</ServiceJourney><Name>Vy Buss AB</Name>
</Network>