Closed RudiThoeni closed 6 months ago
Hey @RudiThoeni I just merged PR #494 to add support for the Mapping
object
The component is configured at the moment for the following datasets: Accommodation, Article, ODHActivityPoi, e.g. see here: https://databrowser.opendatahub.testingmachine.eu/dataset/detail/tourism/v1/ODHActivityPoi/smgpoifad01289740e1d2f58dc1aa29288bb33#mapping. Please take a look at the implementation and let me know what you think.
Please also check to which other datasets we should add the Mapping component.
Hi @gappc perfect work, exactly what i wanted ;) for datasets where the component has to be added i will check and add them. thx and cheers
The
Mapping
Object is a generic Object which is used in the Tourism Api to store Ids or other Info from the originary Data where there is no field to add this info in the ODH data structure.It is of this structure
Dictionary<string,Dictionary<string,string>>
Example 1:Id on HGV is saved and an additional lts a0r_id, rid
Example 2: The Dolomiti Superski internal Ids are saved into this object
The component should be very minimal and simply allow to insert a key (plain text). Into each Key can be inserted Key:Values . All of this plain text without controls, without references, without autocomplete or something.