railtoolkit / schema

This repo collects the descriptions of the structure and the validation constraints of tools in the railtoolkit in JSON schemas. It is, therefore, an alternative to RailML.
ISC License
1 stars 0 forks source link

Running Path Schema - difference between id and uuid #5

Closed apriljunge closed 3 months ago

apriljunge commented 1 year ago

Why are there two id properties (id and uuid)?

kaat0 commented 1 year ago

The uuid field makes identifying paths or trains across projects possible. The id field can be used for human-readable identification.

For example, vehicles might have different designations depending on the company. See Siemens EuroSprinter.

Renaming the id field to something more unambiguous might make sense.

kaat0 commented 7 months ago

As mentioned in TrainRuns.jl/issues/48, the name can be renamed into description.