Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 17633

JSON-LD is a syntax for embedding structured data in HTML5, making use of vocabularies. If the question is about the popular vocabulary Schema.org, use the tag [schema.org].

43 votes

What is the use of @id in json-ld syntax?

The @id keyword allows you to give a node a URI. This URI identifies the node. See Node Identifiers in the JSON-LD spec. (The equivalent in Microdata is the itemid attribute, and the equivalent in R …
unor's user avatar
  • 21.9k
18 votes
Accepted

Linking external JSON-LD schema (from Schema.org)

The script element can be used for two things: dynamic/classic scripts data And for data, the spec defines: When used to include data blocks, the data must be embedded inline […] So you may …
unor's user avatar
  • 21.9k
12 votes
Accepted

Multiple addresses in JSON-LD Schema.org

Similar to adding multiple string/URL values: by using an array. <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "Organization", "address": [ { "@typ …
unor's user avatar
  • 21.9k
10 votes
Accepted

How to use more than 1 schema.org schema on a web page

In JSON-LD (instead of Microdata/RDFa) you have to repeat the property and its value for each node. Instead of using a separate script element for each node, you could also use a single script elemen …
unor's user avatar
  • 21.9k
9 votes
Accepted

Any way to validate Schema.org JSON-LD before publishing?

Tool from Yandex The "Structured data validator" supports JSON-LD. Alexander Shubin (working for Yandex) wrote: Pls, take into account that in order to check JSON-LD you need to put it in tag …
unor's user avatar
  • 21.9k
9 votes

Can I mix Microdata and JSON-LD on the same page for different entity

It should be fine to use different syntaxes on the same page. It has one drawback, though: If you want to connect entities specified in different syntaxes, you can’t nest them. You have to use URIs i …
unor's user avatar
  • 21.9k
8 votes
Accepted

Where is the ideal place in code to use Schema.org markup as JSON-LD?

JSON-LD doesn’t care. Which makes sense, because the data is the same, no matter from where in the document it gets extracted. From the perspective of HTML, you should only include it in the head if …
unor's user avatar
  • 21.9k
6 votes
Accepted

How do I mark up multi product pages with Schema.org and JSON-LD?

I assume you mean two Offer items for one Product (like your example suggests). Instead of repeating the offers property, you have to use one offers property with an array value (in [ and ]): "offer …
unor's user avatar
  • 21.9k
6 votes

Getting errors "Missing ',' or '}'", "Unexpected token" and "got 'undefined'" for my JSON-LD

You use ” instead of " two times: Instead of "url": "company website jewellers url/”, it has to be "url": "company website jewellers url/", Instead of "sameAs": [ "youtube channel about …
unor's user avatar
  • 21.9k
6 votes
Accepted

How to write JSON-LD for list of people?

You have several options: as top-level items (only use this if the other two options are not possible) as values for a property (best option, but requires that Schema.org offers a suitable type/prop …
unor's user avatar
  • 21.9k
5 votes
Accepted

Product Snippets with JSON-LD + Schema.org - Are there any live examples in Google index?

Update 2016: The documentation got updated and it no longer contains the note. So now JSON-LD seems to be supported for the Products Rich Snippet. Google’s documentation for the Products Rich Snipp …
unor's user avatar
  • 21.9k
5 votes

Google SDTT gives error "Missing '}' or object member name." for my JSON-LD

If you want to provide multiple addresses, you have to specify one address property with an array value, not an array of address properties. If you click at the error in the SDTT, the tool correctly …
unor's user avatar
  • 21.9k
5 votes
Accepted

What is the benefit of ImageObject schema org markup for images?

First of all, for the image property, Schema.org expects either an URL value or an ImageObject value. This is typically the case for other properties taking an image value, too. So for the image prop …
unor's user avatar
  • 21.9k
5 votes

Using both JSON+LD and Microdata to markup the exact same information on a page

If you provide structured data about the same thing in different syntaxes, you should convey that it’s actually the same thing, not different things. You can do this by giving all representations the …
unor's user avatar
  • 21.9k
4 votes
Accepted

How to use JSON-LD in my page that already have content?

Nothing wrong with Microdata or RDFa First of all, ignore Google’s recommendation if you are fine with using Microdata or RDFa. I think there are only two cases where you should use JSON-LD instead o …
unor's user avatar
  • 21.9k

15 30 50 per page