Events Datamodel changes - noi-techpark/opendatahub-docs GitHub Wiki
Removed Fields
Some fields where removed, which are not used anymore
Pdf
not used and needed anymoreRanc
not used anymore, the Ranc info is Stored in the PublisherPayMet
not used anymoreType
not used anymoreGrpEvent
not used anymoreLTSTags
not used anymore will be included in Tags (type eventcategory)Hashtag
not used anymore will be included in Tags (type eventtag)EventDate
GpsEast
not used anymoreGpsNorth
not used anymoreInscriptionTill
not used anymoreEventDateAdditionalTime
not used anymore
EventPrices
use EventVariantsEventBenefit
not used anymoreEventCrossSelling
not used anymoreEventDescAdditional
not used anymoreEventOperationScheduleOverview
not used anymoreNextBeginDate
unneded can be calculated out of EventDates / EventDatesBegin
Deprecated Fields
Deprecated fields are there for Compatibility reasons will be removed after a certain period
EventDate
EventCalculatedDay
is replaced by EventCalculatedDays
EventPrice
Obsolete, use EventVariantsODHTags
will be deprecated soon, switch toTags
OdhActive
not used anymore, please usePublishedOn
EventBooking
the propertiesBookableTo, BookableFrom, AccommodationAssignment
are not provided anymore, the Booking Urls can be found in EventUrls (type bookingUrl)ClassificationRID
will be included in Tags (type eventclassification)Topics
/TopicRids
will be included in Tags (type eventcategory)Gpstype
,Latitude
,Longitude
,Altitude
,AltitudeUnitofMeasure
on Root level are deprecated useGpsInfo
Ticket
Obsolete, use EventProperty.TicketRequiredSignOn
Obsolete, use EventProperty.RegistrationRequiredOrgRID
Obsolete, use EventProperty.EventOrganizerIdEventAdditionalInfos
Mplace
obsolete use MeetingpointReg
obsolete use Registration
New Fields
EventUrls
Array Includes BookingUrls (type bookingUrl), Includes UrlAlias(type urlAlias), Includes Urls (type urls)Type
(string)Url
(Dictionary<string,string>)Active
(nullable bool)
EventAdditionalInfos
Dictionary with language key Includes new Text Information like ServiceDescription, CancellationModality, WhatToBring etc...WhatToBring
(string)MeetingPoint
(string)Registration
(string)Location
(string)ServiceDescription
(string)CancellationModality
(string)
EventDate
Array Represents the EventDate LTS Datamodel of the new InterfaceEventVariantIDs
(nullable nullable string array)EventCalculatedDays
Representation of EventCalculatedDay (deprecated) as ListEventCalculatedDay
SoldOut
(nullable bool)AvailabilityLow
(nullable bool)AvailabilityCalculatedValue
(nullable int)EventDateCalculatedDayVariant
ArrayVariantRID
(string)AvailabilityLow
(nullable bool)AvailabilityCalculatedValue
(nullable int)
EventDateTicketInfo
(nullable nullable string array)Active
(nullable bool)OnlineSaleUntil
(nullable int)OnlineContingent
(nullable int)
IsCancelled
(nullable bool)EventDateOpeningInfo
MondayOpen
(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)
EventDateTicketInfo
Active
(nullable bool)OnlineSaleUntil
(nullable int)OnlineContingent
(nullable int)
EventProperty
Contains EventClassificationId, RegistrationRequired, EventOrganizerId, TicketRequired, IncludedInSuedtirolGuestPass PropertiesEventClassificationId
(string)RegistrationRequired
(nullable bool)EventOrganizerId
(string)TicketRequired
(nullable bool)IncludedInSuedtirolGuestPass
(nullable bool)IsBookable
(nullable bool)
EventVariants
Array 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
-
longDescription
maps toDetail.lang.BaseText
-
shortDescription
maps toDetail.lang.IntroText
-
howToPark
maps toDetail.lang.ParkingInfo
-
howToArrive
maps toDetail.lang.GetThereText
-
routeDescription
maps toDetail.lang.AdditionalText
-
publicTransport
maps toDetail.lang.PublicTransportationInfo
-
authorTip
maps toDetail.lang.AuthorTip
-
safetyInstructions
maps toDetail.lang.SafetyInfo
-
equipment
maps toDetail.lang.EquipmentInfo
-
serviceDescription
maps toEventAdditionalInfos.lang.ServiceDescription
-
whatToBring
maps toEventAdditionalInfos.lang.WhatToBring
-
cancellationModality
maps 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