Skip to content

Latest commit

 

History

History
75 lines (69 loc) · 1.96 KB

Travel Object TO.md

File metadata and controls

75 lines (69 loc) · 1.96 KB

Travel Object (TO)

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.

Functionality

Versioning

Keeping track of all changes executed in a travel plan to allow a transparent overview about data evolution.

Tagging

Allowing to include tags in the data allows to depict data evolution in a way that is understandable by humans.

Concept

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"
Loading

Example

{
    "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
            }
        }
    ]
}