Suedtirol Wine Pois and WineAwards Datamodel changes - noi-techpark/opendatahub-docs GitHub Wiki
Suedtirol Wine Pois
Endpoint ODHActivityPoi
How to filter the Data
- publishedon --> The PublishedOn Filter can be used to retreive all data that are for interest of a data consumer. The Publisher is only added if the data is Active.
Deprecated fields
This field are deprecated and should not be used since they will be removed in the near future
OdhActive--> usePublishedOnODHTags--> useTagIdsTagsCustomId--> useMappingType--> useTagIdsTagsSubType--> useTagIdsTagsPoiType--> useTagIdsTagsSmgActive--> usePublishedOnSmgTags--> useTagIdsTagsPoiProperty--> moved toAdditionalProperties.SuedtirolWeinCompanyDataPropertiesPoiServices--> moved toAdditionalProperties.SuedtirolWeinCompanyDataPropertiesAdditionalPoiInfos--> no more needed
AdditionalProperties.SuedtirolWeinCompanyDataProperties
All wine-related POI data previously exposed via:
PoiProperty(array of key/value pairs, language-dependent)PoiServices(array of strings)
has been migrated and normalized into: AdditionalProperties.SuedtirolWeinCompanyDataProperties
Example
Before (deprecated)
"PoiProperty": {
"en": [
{ "Name": "h1", "Value": "Just Don’t Fake It" },
{ "Name": "hasbiowine", "Value": "True" },
{ "Name": "wines", "Value": "Pinot Noir,Veltliner" }
]
},
"PoiServices": [
"Blauburgunder",
"Veltliner"
]
After (new structure)
"AdditionalProperties": {
"SuedtirolWeinCompanyDataProperties": {
"H1": {
"en": "Just Don’t Fake It",
"de": "Nur nicht verfälschen"
},
"HasBiowine": true,
"Wines": [
"Blauburgunder",
"Veltliner"
]
}
}
Field Mapping
Old (PoiProperty.Name) |
New Field | Type |
|---|---|---|
h1 |
H1 |
Multilanguage Dictionary |
h2 |
H2 |
Multilanguage Dictionary |
quote |
Quote |
Multilanguage Dictionary |
quoteauthor |
QuoteAuthor |
Multilanguage Dictionary |
wines |
Wines |
Array of strings |
hasvisits |
HasVisits |
boolean |
hasovernights |
HasOvernights |
boolean |
hasbiowine |
HasBiowine |
boolean |
isanteprima |
IsAnteprima |
boolean |
isvinumhotel |
IsVinumHotel |
boolean |
iswinesummit |
IsWineSummit |
boolean |
iswinestories |
IsWineStories |
boolean |
iswinery |
IsWinery |
boolean |
hasonlineshop |
HasOnlineshop |
boolean |
onlineshopurl |
OnlineShopurl |
Multilanguage Dictionary |
hasdeliveryservice |
HasDeliveryservice |
boolean |
deliveryserviceurl |
DeliveryServiceUrl |
Multilanguage Dictionary |
hasdirectsales |
HasDirectSales |
boolean |
hasaccomodation |
HasAccommodation |
boolean |
isskyalpspartner |
IsSkyalpsPartner |
boolean |
Important Notes
- Native multilanguage support via dictionaries
PoiPropertyandPoiServicesare deprecated and will be removed.- String booleans like
"True"/"False"are now actual booleans. - Comma-separated values (e.g. wines) are now proper arrays.
- Some fields may be
nullif not provided (e.g. social links, opening times).
Suedtirol Wine WineAwards
Endpoint WineAward
How to filter the Data
- publishedon --> The PublishedOn Filter can be used to retreive all data that are for interest of a data consumer. The Publisher is only added if the data is Active.
Deprecated fields
This field are deprecated and should not be used since they will be removed in the near future
OdhActive--> usePublishedOnCustomId--> useMappingSmgActive--> usePublishedOn