Giter VIP home page Giter VIP logo

Comments (3)

albertoabellagarcia avatar albertoabellagarcia commented on July 17, 2024

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

from data-models.

dpatil-fw avatar dpatil-fw commented on July 17, 2024

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.

from data-models.

albertoabellagarcia avatar albertoabellagarcia commented on July 17, 2024

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:

from data-models.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.