- From: Aaron Bradley <aaranged@gmail.com>
- Date: Tue, 10 Feb 2015 16:30:52 -0800
- To: Jarno van Driel <jarnovandriel@gmail.com>
- Cc: Public Vocabs <public-vocabs@w3.org>, eric@semanticweb.com
- Message-ID: <CAMbipBsd9DinDdV_fDwfZRkdHyXs5fdvsH_s=k+wQ5XvWG0SGA@mail.gmail.com>
Correct Eric: contactPoint is not a valid property for EventVenue. However address is a valid property for EventVenue, and its expected type, PostalAddress, is a more specific type of ContactPoint - and thereby giving you a route to ContactPoint properties. Much snipping, and not showing the two contact points in your original, but you get the idea: <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "BusinessEvent", "name": "CDOvision: Data Strategy and Innovation", "organizer": { "@type": "Organization", "name": "DATAVERSITY Education LLC", "url": "http://www.dataversity.net" }, "location": { "@type": "EventVenue", "name": "Grand Hyatt Washington", "address": { "@type": "PostalAddress", "streetAddress": "1000 H Street NW", "addressLocality": "Washington", "addressRegion": "DC", "postalCode": "20001", "telephone": "+1-888-421-1442", "contactOption": "TollFree", "contactType": "reservations" }, "url":"https://aws.passkey.com/event/11778623/owner/544/home", "image": "http://www.cdovision.com/uploads/venue/image/1/hyatt.png", "hasMap": { "@type": "Map", "url": " https://www.google.com/maps?ll=38.899591,-77.026465&z=16&t=m&hl=en-US&gl=US&mapclient=embed&q=1000+H+St+NW+Washington,+DC+20001 " } } } </script> On Feb 10, 2015 4:28 PM, "Jarno van Driel" <jarnovandriel@gmail.com> wrote: > contactPoint currently indeed isn't a valid property for EventVenue, > although if you use an multi-type entity this will be resolved. > > Simply change: > "@type": "EventVenue", > > To: > "@type": [ "EventVenue" , "Organization" ], > > And be aware there are 2 typo's, "@type": "contactPoint" should > be "@type": "ContactPoint" (starting with a capital 'C') > > > > 2015-02-11 0:33 GMT+01:00 Eric Franzon <eric@semanticweb.com>: > >> Hi All, >> >> >> >> I’m trying to model the information on this page: >> >> >> >> http://www.cdovision.com/venue >> >> >> >> And am getting an error in testing that “contactPoint” is not a correct >> property for the object type “EventVenue.” >> >> >> >> Is that correct? Can there really not be a contact point specified for a >> venue? >> >> >> >> My JSON-LD markup is below. >> >> >> >> Thanks, >> >> --Eric >> >> >> >> >> >> >> >> <script type="application/ld+json"> >> >> { >> >> "@context": "http://schema.org", >> >> "@type": "BusinessEvent", >> >> "name": "CDOvision: Data Strategy and Innovation", >> >> "organizer": { >> >> "@type": "Organization", >> >> "name": "DATAVERSITY Education LLC", >> >> "url": "http://www.dataversity.net" >> >> }, >> >> "location": { >> >> "@type": "EventVenue", >> >> "name": "Grand Hyatt Washington", >> >> "address": { >> >> "@type": "PostalAddress", >> >> "streetAddress": "1000 H Street NW", >> >> "addressLocality": "Washington", >> >> "addressRegion": "DC", >> >> "postalCode": "20001" >> >> }, >> >> "url":"https://aws.passkey.com/event/11778623/owner/544/home", >> >> "image": "http://www.cdovision.com/uploads/venue/image/1/hyatt.png", >> >> "hasMap": { >> >> "@type": "Map", >> >> "url": " >> https://www.google.com/maps?ll=38.899591,-77.026465&z=16&t=m&hl=en-US&gl=US&mapclient=embed&q=1000+H+St+NW+Washington,+DC+20001 >> " >> >> }, >> >> "contactPoint" : [ >> >> { "@type": "contactPoint", >> >> "telephone": "+1-888-421-1442", >> >> "contactOption": "TollFree", >> >> "contactType": "reservations" >> >> },{ >> >> "@type": "contactPoint", >> >> "telephone": "+1-402-592-6464", >> >> "contactType": "reservations" >> >> }] >> >> }, >> >> "url": "http://www.cdovision.com/", >> >> "startDate": "2015-03-30T08:30", >> >> "endDate": "2015-03-31T05:30", >> >> "description": "The Power of Data Strategy -- Succeeding with your >> Data Strategy demands a balance between innovation, opportunity, complexity >> and agility. It requires due attention to internal governance and risk >> management, as well as externalities of rapid technological change and >> business opportunity. CDO Vision is the place to get informed perspective >> on leading your organization‘s Data Strategy in this complex world.", >> >> "image": " >> http://www.cdovision.com/assets/logo-b57474ef8e430832a411d4aeb855bc68.svg >> ", >> >> "offers": [ { >> >> "@type" : "Offer", >> >> "name" : "CDO Vision 2015 - Conference Hotel Group Rate", >> >> "price" : "$199.00", >> >> "priceCurrency": "USD", >> >> "validThrough": "2015-02-27T23:59", >> >> "url": "https://aws.passkey.com/event/11778623/owner/544/home" >> >> } ] >> >> } >> >> </script> >> >> >> >> -- >> >> *Eric Axel Franzon* >> Consultant, Smart Data >> DATAVERSITY.net >> >> [image: http://semtechbizsf2013.semanticweb.com/linkedin.png] >> <http://linkedin.com/in/ericfranzon> http://linkedin.com/in/ericfranzon >> [image: http://semtechbizsf2013.semanticweb.com/twitter.png] >> <http://twitter.com/SemanticWeb> http://twitter.com/EricAxel >> [image: http://semanticweb.com/files/2013/09/G+optimized.jpg] >> <https://plus.google.com/108913227686834556678> >> https://plus.google.com/+EricFranzon >> >> >> > >
Received on Wednesday, 11 February 2015 00:31:21 UTC