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 --> use PublishedOn
  • ODHTags --> use TagIds Tags
  • CustomId --> use Mapping
  • Type --> use TagIds Tags
  • SubType --> use TagIds Tags
  • PoiType --> use TagIds Tags
  • SmgActive --> use PublishedOn
  • SmgTags --> use TagIds Tags
  • PoiProperty --> moved to AdditionalProperties.SuedtirolWeinCompanyDataProperties
  • PoiServices --> moved to AdditionalProperties.SuedtirolWeinCompanyDataProperties
  • AdditionalPoiInfos --> 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
  • PoiProperty and PoiServices are 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 null if 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 --> use PublishedOn
  • CustomId --> use Mapping
  • SmgActive --> use PublishedOn