From acs at bitergia.com Tue Sep 1 13:33:54 2015 From: acs at bitergia.com (Alvaro del Castillo) Date: Tue, 01 Sep 2015 13:33:54 +0200 Subject: [Fiware-developer-experience] A data model propolsa for devguide app In-Reply-To: <1436964871.1904.48.camel@bitergia.com> References: <1436258381.2359.137.camel@bitergia.com> <1436267977.2359.162.camel@bitergia.com> <1436964871.1904.48.camel@bitergia.com> Message-ID: <1441107234.2316.27.camel@bitergia.com> El mi?, 15-07-2015 a las 14:54 +0200, Alvaro del Castillo escribi?: > Hi all! > > El mar, 07-07-2015 a las 13:19 +0200, Alvaro del Castillo escribi?: > > Hola! > > > > El mar, 07-07-2015 a las 10:44 +0000, JOSE MANUEL CANTERA FONSECA > > escribi?: > > > Hola Alvaro, > > > > > > Creo que mejor alinearnos con http://schema.org > > > > > > Algunos ejemplos los puedes encontrar en > > > > > > https://developers.google.com/structured-data/rich-snippets/reviews > > > > > > > Ok, great! Better to reuse data models, yes! > > > > So we use schema.org to define our entities and then we will map to > > orion data model it! Correct? > > > > Microdata has advanced a lot last years. Pretty cool! > > > > After reviewing schema.org, from a backend point of view, we can just > use the schema.org vocabulary in order to make life easier to the front. > > A proposal for using schema.org with the original proposal: > > Restaurant: https://schema.org/Restaurant > Review: https://schema.org/Review > Reservation: https://schema.org/Reservation A modification to the proposal. We plan to use: https://schema.org/FoodEstablishmentReservation because it includes the number of people. Cheers! > Customer: https://schema.org/Person > Manager: https://schema.org/Person > > In our entity model we will use the vocabulary defined in schema.org. > > Cheers > > > Bye > > > > > > > > Gracias, saludos > > > > > > El 7/7/15 10:39, "fiware-developer-experience-bounces at lists.fiware.org on > > > behalf of Alvaro del Castillo" > > > > > acs at bitergia.com> escribi?: > > > > > > >Hi all! > > > > > > > >Here goes a proposal using the original requirements and the comments in > > > >this list. Maybe we can work with Google Docs to refine it. It is a > > > >first proposal totally open to modifications and comments! > > > > > > > >DATA MODEL PROPOSAL FOR DEVGUIDE APP: > > > > > > > >h2. Restaurant > > > > > > > >* id > > > >* name > > > >* description > > > >* address > > > >* email > > > >* phone > > > >* room > > > >* url > > > >* Temperature and humidity cuisine and room > > > >* customer satisfaction (avg_rating) > > > > > > > >h2. Reviews > > > > > > > >* id > > > >* by customer > > > >* to restaurant > > > >* review text > > > >* food rating (0-10) > > > >* place rating (0-10) > > > >* service rating (0-10) > > > > > > > >h2. Reservations > > > > > > > >* id > > > >* daytime > > > >* number of people > > > >* cancelled > > > > > > > >h2. Customer > > > > > > > >* id > > > >* name > > > >* email > > > > > > > >h2. Manager > > > > > > > >* id > > > >* name > > > >* email > > > >* rol > > > > > > > >Cheers > > > > > > > >-- > > > >Alvaro del Castillo San F?lix > > > >acs at bitergia.com - Chief Technical Officer (CTO) > > > >http://www.bitergia.com > > > >"Software metrics for your peace of mind" > > > > > > > > > > > >_______________________________________________ > > > >Fiware-developer-experience mailing list > > > >Fiware-developer-experience at lists.fiware.org > > > >https://lists.fiware.org/listinfo/fiware-developer-experience > > > > > > > > > ________________________________ > > > > > > Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede contener informaci?n privilegiada o confidencial y es para uso exclusivo de la persona o entidad de destino. Si no es usted. el destinatario indicado, queda notificado de que la lectura, utilizaci?n, divulgaci?n y/o copia sin autorizaci?n puede estar prohibida en virtud de la legislaci?n vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma v?a y proceda a su destrucci?n. > > > > > > The information contained in this transmission is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, do not read it. Please immediately reply to the sender that you have received this communication in error and then delete it. > > > > > > Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinat?rio, pode conter informa??o privilegiada ou confidencial e ? para uso exclusivo da pessoa ou entidade de destino. Se n?o ? vossa senhoria o destinat?rio indicado, fica notificado de que a leitura, utiliza??o, divulga??o e/ou c?pia sem autoriza??o pode estar proibida em virtude da legisla??o vigente. Se recebeu esta mensagem por erro, rogamos-lhe que nos o comunique imediatamente por esta mesma via e proceda a sua destrui??o > > > > > > -- Alvaro del Castillo San F?lix acs at bitergia.com - Chief Technical Officer (CTO) http://www.bitergia.com "Software metrics for your peace of mind"