Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 2.59 KB

Running-Path.md

File metadata and controls

44 lines (32 loc) · 2.59 KB

Running Path Schema


Specification

Preamble

Attributes Necessity Description
schema required Identifier of the JSON schema.
schema_version required Version of the JSON schema.
paths required An array of at least one path.

Attributes in "paths"

All attributes for paths are collected under the array paths: - in alphabetical order:

Attributes Necessity Description
characteristic_sections required An array of characteristic sections.
id required Identifier of the path (can be a UUID).
description optional Description of the path.
points_of_interest optional An array of points of interest.

Attributes in "characteristic sections"

All attributes for a characteristic section are collected under the array characteristic_sections: - sorted in ascending or descending order:

Attributes Necessity Description
position required mileage in meter
speed optional1 speed limit in kilometers per hour
resistance optional1 resistance in permil

Attributes in "points of interest"

All attributes for a point of interest (poi) are collected under the array points_of_interest: - sorted in ascending or descending order:

Attributes Necessity Description
position required mileage in meter
label required name for the point
measure required measurement applies to the front , middle or rear of a train

Footnotes

  1. At least one optional attribute must be present. 2