Questions tagged [json-ld]

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].

Filter by
Sorted by
Tagged with
22
votes
2answers
25k views

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

I am really confused what is @id used for in json-ld syntax. Sample from apple.com. What does @id actually represent. Any help would be great? <script type="application/ld+json"> { "@...
9
votes
2answers
8k views

Multiple addresses in JSON-LD Schema.org

I have a site I am creating for a non-profit organization. Their organization has a United States Mailing Address and a Canada Mailing Address. I want to add both addresses with Schema.org (using JSON-...
3
votes
2answers
2k views

How to write JSON-LD for list of people?

I have a page that contains a list of people with a link of each that will open the main page of that person. Each link should have its own structured data. I'm using JSON-LD, but the example given ...
16
votes
2answers
9k views

Should Schema.org Organization data about my company be on every page?

We have added JSON-LD structured data to our website, so Google knows information about our company (company name, url, logo, address, etc.). We worked from the template on Google's documentation. ...
9
votes
1answer
5k views

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

Where is the best place to put Schema.org markup that uses JSON-LD? Some recommend inside <head> but scripts work inline too. It would be easier in an MVC to put them in the same scope as the ...
8
votes
2answers
2k views

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

** EDIT Feb 2016 - Finally JSON-LD seems to be working now in SERPS, with extremely fast changes-to-index time, assuming you have everything with Google merchant center feeds syncd and linked. Make ...
2
votes
1answer
2k views

Does Google parse SVG images as value of the Schema.org 'image' property in JSON-LD?

Structured data markup is a standard way to annotate your content so Google can understand it. However, I am not sure, if Google will accept and parse svg+xml images as a value for the Schema.org ...
7
votes
4answers
8k views

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

How do you add more than one schema to a web page? I am using the Organization and WebSite schemas on my home page. I am writing the markup in JSON-LD format. The Organization schema for the ...
2
votes
1answer
2k views

Using productontology.org to add Multiple Types?

I have recently been reading about productontology.org to define additional types with schema.org to be more specific. I am building a website for a local pet store that offers various pet products, ...
1
vote
1answer
969 views

JSON-LD markup for review snippets shows duplicates

I'm following Google's official examples to make JSON-LD markup for reviews and test in Google's structured data testing tool. When making list of reviews for the same organization (all reviews are ...
6
votes
1answer
694 views

Why don't search engines support JSON-LD + Schema.org as seperated endpoints via rel=“alternate” or script src?

So the whole idea of JSON revolves around object->arrays presented in a simple text format. The LD variant is no different. When combined with Schema.org it turns into a flexible display API that many ...
6
votes
1answer
4k views

schema.org/Book with multiple authors using JSON-LD [duplicate]

How do I display multiple book authors using JSON-LD? This question is similar to my original question, but decided to create a different one seeing that 2 different formats are used. Here is my ...
1
vote
2answers
2k views

JSON-LD for a product brand page as a showcase of a web store

After my first question about Store main blocks, I think this is way better to explain with an example. Let's say we are doing the Footlocker webpage. And we have a homepage JSON-LD like this (which ...
9
votes
1answer
3k views

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

My website is using JSON-LD and Microdata. For example, in BreadcrumbList, I have used Microdata format, and for others (like Organization, TouristAttraction) JSON-LD has been used. Can I mix ...
7
votes
2answers
6k views

Which one does Google prefer, Microdata or JSON-LD?

Here Google says they prefer JSON-LD: JSON-LD is the recommended format. Google is in the process of adding JSON-LD support for all markup-powered features. The table below lists the exceptions ...
5
votes
1answer
386 views

Google isn't surfacing Events rich snippets in SERP when JSON-LD Structured Data is valid

Google confirms our site has thousands of valid MusicEvent structured data objects presented using JSON-LD, as indicated in the Structured Data section of Webmaster Tools. However, rich snippets for ...
5
votes
1answer
2k views

Schema.org 'CollectionPage' for list of blog posts by specific author

I'm trying to mark up a page and I'm trying to use CollectionPage with a number of blog links on the page. Would this be fine? { "@context":"http://schema.org/", "@type":"CollectionPage", "name"...
4
votes
2answers
977 views

“Organization” schema with another schema on the same page

Should I use the Organization schema on each page if I have another schema data, for example Event? Can I use Event and Organization on the same page? Organization code <script type="application/...
4
votes
1answer
790 views

Distinguishing Between Organization and Product Reviews (with Schema.org in JSON-LD)

Yesterday we refactored our schema.org/Organization snippet that is found in the header of every page into a schema.org/HomeGoodsStore snippet with included testimonials for our company within it. ...
2
votes
2answers
291 views

Structured Data Testing Tool throwing error “Missing '}' or object member name.”

I am continuously getting the following error: Missing '}' or object member name. Does anyone see what it is referring to? I am not missing the ending }. { "@context": "http://schema....
2
votes
2answers
343 views

Google SDTT does not fetch structured data by URL

I initially wrote some code that created the structured data for breadcrumb and product markup on the server's side and rendered them in the <body> of the page. While the mark up was correct ...
2
votes
1answer
185 views

What markup should be used so that Google generates a knowledge graph for our organization?

<script type='application/ld+json'> { "@context": "http://www.schema.org", "@type": "Organization", "name": "", "url": "example.com", "logo": "example.com/logo.png", "image": "...
1
vote
1answer
574 views

Google Tag Manager Custom HTML Page View URL Equals Trigger not Working

I've just started using Tag Manager combined with Schema JSON-LD for the first time. I am attempting to use Custom HTML but have hit a brick wall when attempting to assign Custom HTML to a URL based ...
1
vote
1answer
307 views

JSON-LD x2 Local Businesses from same Location?

We are a Private Hire Taxi company but have another company running Countryside Tours from the same address. We have two separate websites. What would the correct Schema.org JSON-LD structure? Use ...
0
votes
1answer
1k views

Google Rich Card JSON-LD not detected - Corporate Information [duplicate]

I'm using structured data in order to get Corporate Information to appear when people search for the company's name on Google. I'm following the correct structure (data-type: corporate-contacts - ...