Event attribute and description configuration
The configuration file /opt/ptv-optima-vv.n.xxxxptv-optima-as/standalone/configuration/datex2descriptions.xml contains multilingual descriptions for DATEX II attributes.
The file has several main elements:

The descriptionTemplates element contains the translations of words and phrases used for building event descriptions.
For each element, the lang attribute specifies the language of the particular translation according to the CountryEnum DATEX II element.
Element | Description |
---|---|
descriptionTemplates.on | Translation of the English word “on” in the language specified by descriptionTemplates.on[lang]. |
descriptionTemplates.between | Translation of the English word “between” in the language specified by descriptionTemplates.between[lang]. |
descriptionTemplates.and | Translation of the English word “and” in the language specified by descriptionTemplates.and[lang]. |
descriptionTemplates.from | Translation of the English word “from” in the language specified by descriptionTemplates.from[lang]. |
descriptionTemplates.until | Translation of the English word “until” in the language specified by descriptionTemplates.until[lang]. |
descriptionTemplates.inBothDirections | Translation of the English phrase “in both directions” in the language specified by descriptionTemplates.inBothDirections[lang]. |
descriptionTemplates.after | Translation of the English word “after” in the language specified by descriptionTemplates.after[lang]. |
descriptionTemplates.before | Translation of the English word “before” in the language specified by descriptionTemplates.before[lang]. |

The categories element contains the categories used in the Traffic Supervisor user interface for organizing the events.
Each category lists:
- Its human-readable description in multiple languages
- A list of DATEX II classes that belong to the category (the classes must implement SituationRecord)
Element | Description |
---|---|
category.id | (Used internally.) |
category.name | Human-readable description of the category in the language specified by category.name[lang]. |
category.classes | List of class elements that specify which DATEX II classes belong to the category. Important: A DATEX II class that does not belong to any category will not be displayed in Traffic Supervisor. |
category.classes.class | Class element (see description of category.classes above). |

The classes element contains human-readable descriptions of all DATEX II classes and attributes in multiple languages.
Element | Description |
---|---|
classes | Container element: Contains a list of DATEX II classes. |
classes.class | Container element for a single DATEX II class. |
classes.class.id | Standard name of the class according to the DATEX II specification. |
classes.class.name | Human-readable name of the class in the language specified by the lang attribute. |
classes.class.parent | (Used internally.) |
classes.class.attributes | List of DATEX II attributes pertaining to this class. |
classes.class.attributes.attribute | Description of a single DATEX II attribute. |
classes.class.attributes.attribute.id | Standard name of the attribute according to the DATEX II specification. |
classes.class.attributes.attribute.name | Human-readable name of the attribute in the language specified by the lang attribute. |
classes.class.attributes.attribute.type | (Used internally.) |
classes.class.attributes.attribute.enum | TRUE if the attribute is of an enumerated type. FALSE otherwise. |
classes.class.attributes.attribute.values | Only relevant if enum = TRUE. List of possible values of the enumeration along with their translation into multiple languages. |
classes.class.attributes.attribute.values.id | Standard name of the enumeration value according to the DATEX II specification. |
classes.class.attributes.attribute.values.name | Human-readable description of the enumeration value in the language specified by the lang attribute. |