This data standard is based among a base concept - the 'Travel Object (TO)'. This data structure contains metadata for base functionality offered by this data exchange standard.
Keeping track of all changes executed in a travel plan to allow a transparent overview about data evolution.
Allowing to include tags in the data allows to depict data evolution in a way that is understandable by humans.
classDiagram
Wrapper -- Version
VersionTag -- Version
Version -- TravelObject
TravelObject -- Attribute
TravelObject -- DataTag
Tag <-- VersionTag
Tag <-- DataTag
class Wrapper{
+Guid Guid
+Guid CurrentVersion
+Version[] Versions
}
class Version{
+Guid Guid
+DateTime Modified
+String ModifiedBy
+Tag[] Tags
+TravelObject Data
}
class Tag{
+Guid Guid
+Title Title
}
class TravelObject{
+Attribute[] Attributes
+Tag[] Tags
}
class Attribute{
+String Key
+Object Value
}
note for Version "Versioning Implementation"
note for Tag "Tagging Implementation"
note for TravelObject "Can be any type of 'Travel X Object' (TXO)"
note for Attribute "Needs to be compatible with choosen 'Travel X Object' (TXO), select from catalogue"
{
"Guid": "512ef6c1-7163-4e90-b581-87563857b9be",
"CurrentVersion":"6addeb94-d8e6-463b-90b5-7ba653e1bf14",
"Versions": [
{
"Guid": "6addeb94-d8e6-463b-90b5-7ba653e1bf14",
"Modified": "2007-12-24T18:21Z",
"ModifiedBy": "max.mustermann@gmx.de",
"Tags": [
{
"Guid": "512ef6c1-7163-4e90-b581-87563857b9be",
"Title": "Version 1" //optional
}
],
"TravelObject": {
// Travel X Object (TXO) Implementation
}
}
]
}