Events Datamodel changes - noi-techpark/opendatahub-docs GitHub Wiki
Removed Fields
Some fields where removed, which are not used anymore
Pdfnot used and needed anymoreRancnot used anymore, the Ranc info is Stored in the PublisherPayMetnot used anymoreTypenot used anymoreGrpEventnot used anymoreLTSTagsnot used anymore will be included in Tags (type eventcategory)Hashtagnot used anymore will be included in Tags (type eventtag)EventDateGpsEastnot used anymoreGpsNorthnot used anymoreInscriptionTillnot used anymoreEventDateAdditionalTimenot used anymore
EventPricesuse EventVariantsEventBenefitnot used anymoreEventCrossSellingnot used anymoreEventDescAdditionalnot used anymoreEventOperationScheduleOverviewnot used anymoreNextBeginDateunneded can be calculated out of EventDates / EventDatesBegin
Deprecated Fields
Deprecated fields are there for Compatibility reasons will be removed after a certain period
EventDateEventCalculatedDayis replaced by EventCalculatedDays
EventPriceObsolete, use EventVariantsODHTagswill be deprecated soon, switch toTagsOdhActivenot used anymore, please usePublishedOnEventBookingthe propertiesBookableTo, BookableFrom, AccommodationAssignmentare not provided anymore, the Booking Urls can be found in EventUrls (type bookingUrl)ClassificationRIDwill be included in Tags (type eventclassification)Topics/TopicRidswill be included in Tags (type eventcategory)Gpstype,Latitude,Longitude,Altitude,AltitudeUnitofMeasureon Root level are deprecated useGpsInfoTicketObsolete, use EventProperty.TicketRequiredSignOnObsolete, use EventProperty.RegistrationRequiredOrgRIDObsolete, use EventProperty.EventOrganizerIdEventAdditionalInfosMplaceobsolete use MeetingpointRegobsolete use Registration
New Fields
EventUrlsArray Includes BookingUrls (type bookingUrl), Includes UrlAlias(type urlAlias), Includes Urls (type urls)Type(string)Url(Dictionary<string,string>)Active(nullable bool)
EventAdditionalInfosDictionary with language key Includes new Text Information like ServiceDescription, CancellationModality, WhatToBring etc...WhatToBring(string)MeetingPoint(string)Registration(string)Location(string)ServiceDescription(string)CancellationModality(string)
EventDateArray Represents the EventDate LTS Datamodel of the new InterfaceEventVariantIDs(nullable nullable string array)EventCalculatedDaysRepresentation of EventCalculatedDay (deprecated) as ListEventCalculatedDaySoldOut(nullable bool)AvailabilityLow(nullable bool)AvailabilityCalculatedValue(nullable int)EventDateCalculatedDayVariantArrayVariantRID(string)AvailabilityLow(nullable bool)AvailabilityCalculatedValue(nullable int)
EventDateTicketInfo(nullable nullable string array)Active(nullable bool)OnlineSaleUntil(nullable int)OnlineContingent(nullable int)
IsCancelled(nullable bool)EventDateOpeningInfoMondayOpen(nullable bool)TuesdayOpen(nullable bool)WednesdayOpen(nullable bool)ThursdayOpen(nullable bool)FridayOpen(nullable bool)SaturdayOpen(nullable bool)SundayOpen(nullable bool)Entrance1(nullable timespan)Begin1(nullable timespan)End1(nullable timespan)Entrance2(nullable timespan)Begin2(nullable timespan)End2(nullable timespan)
EventDateTicketInfoActive(nullable bool)OnlineSaleUntil(nullable int)OnlineContingent(nullable int)
EventPropertyContains EventClassificationId, RegistrationRequired, EventOrganizerId, TicketRequired, IncludedInSuedtirolGuestPass PropertiesEventClassificationId(string)RegistrationRequired(nullable bool)EventOrganizerId(string)TicketRequired(nullable bool)IncludedInSuedtirolGuestPass(nullable bool)IsBookable(nullable bool)
EventVariantsArray New Datamodel from LTS Api which contains the pricing modalitiesOrder(nullable int)Price(nullable price)VariantId(string)VariantCategoryId(string)Name(Dictionary<string,string>)
Mapping of Different LTS Description fields
How the LTS Description fields maps to the Open Data Hub Detail Fields
-
longDescriptionmaps toDetail.lang.BaseText -
shortDescriptionmaps toDetail.lang.IntroText -
howToParkmaps toDetail.lang.ParkingInfo -
howToArrivemaps toDetail.lang.GetThereText -
routeDescriptionmaps toDetail.lang.AdditionalText -
publicTransportmaps toDetail.lang.PublicTransportationInfo -
authorTipmaps toDetail.lang.AuthorTip -
safetyInstructionsmaps toDetail.lang.SafetyInfo -
equipmentmaps toDetail.lang.EquipmentInfo -
serviceDescriptionmaps toEventAdditionalInfos.lang.ServiceDescription -
whatToBringmaps toEventAdditionalInfos.lang.WhatToBring -
cancellationModalitymaps toEventAdditionalInfos.lang.CancellationModality
Changes
Special Logic
Date Range Synced
The api tries to sync all EventDates from 6 Months before the Sync Date up to 1 year after the Sync Date
Publisher Resorting
To have the Publisher IDM 'C9475CF585664B2887DE543481182A2D' on first position in EventPublisher a special sort is implemented