0

Is it possible to introduce Schema.org markup (using JSON-LD) in a directory website?

My website shows restaurants from a region, but the restaurants are not mine.

I'm thinking to introduce address, opening time, ….

  • 1
    Yes. Check this out: schema.org/Restaurant – closetnoc Jun 28 '15 at 17:17
  • but, if it's not the official website, could google take me as spam? – saimonx Jun 28 '15 at 17:20
  • 1
    No. Directories for restaurants, hotels, beaches, bars, and what not exist all over the web. The question becomes, how do you separate yourself from the rest? Are you adding value? Google, for example, wants you to be better for users separating yourself from your competition by serving people better. It only has to be one simple thing you do better, however, if you can find more than one, the better for you. – closetnoc Jun 28 '15 at 17:24
  • 1
    Do you mean with the vocabulary Schema.org? Because JSON-LD is just a format/syntax that can be used with any kind of vocabulary. – unor Jun 28 '15 at 18:07
  • yes, I mean Schema.org – saimonx Jun 28 '15 at 18:10
3

Of course.

For marking up entities (like restaurants, people, things, ideas, documents, etc.) with the vocabulary Schema.org, it’s irrelevant if these entities belong to you in any kind of way.

I could, for example, state data about you on my site:

<div typeof="schema:Person">
  <a property="schema:sameAs" href="http://webmasters.stackexchange.com/users/53655/saimonx">
    <span property="schema:name">saimonx</span>
  </a> 
  has won the 
  <span property="schema:award">foobar award</span>.
</div>

So it’s possible, and useful, to use the Restaurant type for each restaurant in your directory.

With the property sameAs you could link to the restaurant’s official website (or its Wikipedia article etc.).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.