Closed dpatil-fw closed 3 years ago
Regarding the rating, where this rating method is used? because we have already another method in this data model https://github.com/smart-data-models/dataModel.TourismDestinations/blob/master/TouristTrip/schema.json
Regarding the second we have also another in the same model something which is mostly compatible https://github.com/smart-data-models/dataModel.TourismDestinations/blob/master/TouristTrip/schema.json
Review and Rating is used in most places mapped in google.
https://developers.google.com/maps/documentation/places/web-service/details
At the above link, review and rating attributes are present. This will hold good for most PointOfInterest types like Hospital, Bank, Hotel, Restaurant etc, where user reviews are allowed and payment accepted.
The two samples you have shared is what we are looking for. But aren't the two inside TourismDestinations model - which is not a parent model. We would need to use the attributes under different models within the PointOfInterest data model. The current Store model also contains payment info.
For now, I have placed them in my local copy of PointOfInterest data model, from which other organizations are sub-classed. It serves our purpose. But assuming these attributes may be required in different data models in the future, was wondering if they could be placed in the more standard and global common-schema.json, so that it could be included from there directly.
Yes rating properties deserve to be in a shared schema to be directly accessible to other data models, as soon as there is any of them, I guess we will do it as it is been done in many other subjects like these ones:
Requesting for inclusion of some additional common attributes in common-schema.json, may be beneficial for uniform usage
Ratings related - aggregateRating, review as described below:
Payment related - currenciesAccepted, paymentAccepted