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
-1
votes
0answers
16 views

Automatically generating JSON-LD [closed]

I have recently tried using JSON-LD for my organization website FAQ section. When I use JSON-LD, I need to generate the JSON-LD object manually, either using JQuery or some online tool for this ...
0
votes
0answers
12 views

Structured Data for list of Images with only @type and @context

I am looking to add Image structured schema data to many pages, each page displays a grid of 15-20 images. Is it possible to define the structured data as follows (with only the @context and @type)? ...
1
vote
0answers
9 views

Shop product structured data, does it need a certain product image aspect ratio or size?

I am building an online shop for a client and I was taking a look at google's info in regards to the "product" structured data. I noticed in their article they specify to point to a product picture ( ...
0
votes
1answer
48 views

JSON-LD for schema.org markup - what to include and where

I'm trying to take advantage of using JSON-LD for Schema.org markup over Microdata because it seems way easier to implement and to maintain. Also, I've heard that consumers like Google and Bing now ...
0
votes
0answers
6 views

How are sublinks (sitelinks) discovered by search engines? [duplicate]

Many search engines like google, bing shows sitelinks. How are they discovered by the web crawlers is it any SEO format(ld-json, microdata) or something else. What are some useful links to learn ...
1
vote
1answer
34 views

Structured data: what are benefits and drawbacks in using Google Tag Manager vs dropping JSON-LD directly on the page?

I am setting up structured data for a website and am wondering about the benefits and drawbacks of using the Google Tag Manager vs putting script tags in the head. I'm building the site with HUGO so ...
1
vote
0answers
30 views

How to validate data graph expressed in json-ld version 1.1 with SHACL?

I've currently tried using the python library pySHACL to validate them. It works if I do not have version 1.1 specific things in it's context. For example, to validate this data graph: { "@...
2
votes
1answer
138 views

Structured Data | JSON | Help me validate my structured data for Google

I am not able to get my structured data to return an error free response from Google's Structured Data Testing Tool. This is the code I am putting in: <script type="application/ld+json"> { "...
1
vote
0answers
16 views

Google sometimes show the “aggregate rating” rich snippet but sometimes shows the “how to” snippet instead

I wrote json-dl code "How to" structured data for some pages so they show show a list of steps in the search results. However for some of the pages my "Aggregate Rating" structured data is used ...
0
votes
0answers
19 views

JSON-LD: Is it possible to refer articleBody to an ID, without repeating the text?

For the "@type": "BlogPosting" you can add articleBody. However, I have the problem that my article body is coming from a stateless CMS that returns it as a richbody json object with all tags that are ...
1
vote
1answer
28 views

Linking Structured Data Snippets

All content is generated via CMS widgets. As a result the article structured data is generated via a separate widget to the authors. Is there some way I could link the two snippets together? Example ...
2
votes
0answers
18 views

Make search engines show related businesses(by name and otherwise), in the search results

So, I manage the website of a restaurant, "ABC". They have recently opened another outlet in a different area. They called it, "ABC Express". Both restaurants have their own Google My Business pages. ...
2
votes
1answer
29 views

(JSON-LD) Adding recommended fields that are not visible on page

I'm using the type "GovernmentOrganization" to describe some content on my homepage. I have subOrganizations of type "GovernmentOffice" listed and the following fields filled out for each of them: ...
1
vote
1answer
272 views

schema JSON produces error “Unparsable structured data” in Google Search Console

From this article, I'm using: <script type="application/ld+json"> { "@context" : "http://schema.org", "@type" : "Organization", "name" : "Motorfix Wangara", "url" : "https://www....
3
votes
1answer
179 views

Shall I localise and translate Schema.org structured data into each available language?

Let's say we have a website that is offered in English and German. Assume the Services offered - { "@context": "http://schema.org/", "@type": "Service", "serviceType": "#{t('TRANSLATION.MARKETING')}...
4
votes
1answer
166 views

How to specify “closed” for a day in OpeningHoursSpecification?

{ "@type": "OpeningHoursSpecification", "dayOfWeek": [ "Sunday" ], "Hours": "Closed" } I get the following error: Closed (The property Hours is not recognized by Google ...
3
votes
2answers
316 views

Can Google crawl dynamic structured data added in a window.onload() event?

I inject some JSON-LD into a page dynamically via Javascript, when I test the page using Google's Structured Data Testing Tool, the expected output appears and I can see the Product Element is ...
4
votes
1answer
282 views

Are html tags allowed in structured data product description?

I'm providing structured data on product pages of an ecommerce site using json-ld. For description, I've been including html markup exactly as it is on the page. For example: { "@context": "https:...
1
vote
0answers
58 views

How can I implement multiple lists in Schema.org using JSON-LD?

I am implementing Schema.org structured data into my magazine-style website and have a couple of concerns regarding the use of multiple lists. I have two sections on my home page: 'Most Recent' and '...
3
votes
2answers
295 views

Using the Schema.org types 'Organization', 'LocalBusiness' and 'LegalService' simultaneously for a law firm

I created a JSON-LD schema for a law firm website. I've checked this code in Google Structured Data Testing Tool and there is no errors. But no syntax errors does not mean that the schema is good. ...
2
votes
0answers
30 views

Can I use JSON-LD for Products while using MICRODATA for Reviews?

The Reviews are included as dynamic data in an iframe so we do not have access to the main page to add the JSON-LD. If that doesn't work, I'd appreciate suggestions for an alternate approach.
3
votes
1answer
103 views

How to structure an array of entries in schema.org/JSON-LD?

I'm implementing schemas for financial information (using JSON-LD), in this case mortgage loans. The example on the bottom of the documentation site https://schema.org/MortgageLoan shows how to ...
2
votes
1answer
54 views

json-ld for testimonials

We currently have some pages on our website that lists local businesses and on those pages we have testimonials. I'm trying to make the json+ld for these pages and I read that for testimonials, you ...
1
vote
2answers
108 views

Who is the author of AggregatedRating in Schema.org definition?

Who is the author of AggregatedRating if the ratings are added by me, but they actually come from Google and Apple and maybe some other places? The documentation does not give any explanation. So if ...
3
votes
0answers
55 views

How to prove third party review and ratings to be correct and real?

We are developing an App which of course has a website. I added some of our ratings and reviews from the users given in Google Play and Apple Store and corresponding JSON-LD's. I could not find the ...
0
votes
1answer
39 views

When to use the specified type of json-ld [closed]

I wanna to implement json-ld into my website, but I have some question about it, before I do that. What @type should I use for a page with a list of sub-categories, also that page represent category ...
1
vote
1answer
75 views

Getting this in Google SDTT Tool: “The URL could not be rendered. Some markup may be missing.”

Structured Data Testing Tool giving error in testing via fetch url but working fine when pasting the code. I have some JS code which fetches some content and dynamically inject in the HTML. So I am ...
2
votes
0answers
117 views

Why doesn't Google Structured Data Testing Tool load external JSON-LD files referenced in @context?

While playing with Google Structured Data Testing Tool, I noticed that it can handle inline @context in JSON-LD alright: { "@context": { "Product": "https://example.com/Product", "...
1
vote
1answer
183 views

How can http://schema.org be used in JSON-LD's @context, even though it's not a JSON-LD file?

As far as I can see in the JSON-LD spec, section 3.1 - The Context, @context can either be: an inline JSON object: { "@context": { "name": "http://schema.org/name" } } or a string ...
1
vote
1answer
45 views

How could I tell Google Search that there are another 3 similar products on a Product web page with JSON-LD?

Our team are using JSON-LD to describe page content. Main SEO target is Google Search Engine. I have a primary Product on the web page for selling. At same time, I would like to display 3 similar ...
0
votes
1answer
22 views

regex interpretation for a json additional properties

I aim to create a condition for additional properties in JSONschema that handle any schema (all the types such as object|array|Boolean|string|number|null) and if the type is a string then it could be ...
0
votes
1answer
40 views

How can I create breadcrumbs with Google support?

I have never dealt with SEO before, and I found out recently that breadcrumbs have a connection with SEO. I would like to use the JSON-LD method, but I do not understand something - my question is: ...
1
vote
1answer
34 views

Form-locked PDFs in JSON-LD

I'm setting up downloads functionality with form-locked PDFs - available after the user fills-out a form. I want the PDFs to be indexable by search engines though. Im trying to create a JSON-LD markup,...
0
votes
0answers
93 views

Multiple (same type) schema objects on the page - any way to set one property for all of them without repeating it for each object?

I'm setting up the Structured Data for a new site that publishes buyer's guides for products. These guides will be in the form of articles with roughly 10 items each, and I'm implementing Review ...
1
vote
1answer
256 views

Can we add multiple schema.org JSON-LD code blocks to the home page of a website?

Can we add multiple JSON Code on a website like organization, services, local business?
3
votes
1answer
47 views

When referencing an entity from another page, should only @id and @type be specified, or should all necessary attributes be duplicated?

I have multiple web pages in my website; "about" page (e.g.: http://example.com/about/) and "blog" pages (e.g.: http//:example.com/blog/1/). In the "about" page, I have defined authors of the website....
2
votes
1answer
132 views

Should Website and Organization be linked?

I'm wondering what the effects/benefits/issues are with linking Website and Organization structured data (specifically in JSON-LD). On the homepage of my site I have something like this: <script ...
0
votes
1answer
82 views

Structured data implementation using GTM (removal of old codes)

Consider we have created structured data using JSON-LD. After coming to know that we can do it using Google Tag Manager (GTM). We are planning to do it using GTM. What measures & precautions we ...
2
votes
2answers
366 views

Putting 'Product' and 'breadcrumb' in the same JSON-LD tag

I hag a previous JSON-LD tag on my products page, which worked well (no errors, and 3 warnings in Google's Structured Data Testing Tool). <script type="application/ld+json"> { ...
2
votes
1answer
261 views

How to reference Person in JSON-LD on different domain via @id

I have a personal home page, mainly for providing some stuff I created and published. I have an about page giving some information about me. There I have created JSON-LD like this: { "@context": "...
2
votes
1answer
2k views

JSON-LD schema for category pages

I'm doing JSON-LD schema for an ecommerce site. While I have the product detail pages and the homepage down, I'm running into some confusion on other types of pages (I'm quite new to schema). I need ...
1
vote
1answer
593 views

Can I have multiple Schema markups on the same webpage?

I make articles on specific ingredients and provide their nutrition facts. On my article page, I have this current schema for the Article type which works perfectly fine from what I know. But I'd ...
2
votes
1answer
85 views

2 LocalBusiness schema markups on same location page

We have a company with multiple locations around the U.S. When we built our website we used a Google My Business reviews plugin to dynamically pull in reviews from our Google My Business page. Within ...
0
votes
0answers
17 views

Is there a way to indicate in linked data that one page supersedes another?

I have a page that supersedes another page: two blog post presented early versions of an idea, but now that idea is further developed in a more archival document that has its own page. Is there a way ...
0
votes
1answer
52 views

SDTT shows only the first 'Hotel' in @graph

I have created some Hotel schema, but want to include 3 as a list. The individual hotel schema works but using @graph and trying to include a list doesn't. I cannot see what's wrong. The testing ...
-1
votes
1answer
487 views

FAQPage with groups of questions

How do you structure the JSON-LD for a FAQPage where you have groups of questions on a page? Example: Questions about Billing Question 1 Answer Question 2 Answer Questions about ...
1
vote
2answers
2k views

“Missing '}' or object member name” error in Accommodation schema

Could anyone advise why this schema below gets the following error: Missing '}' or object member name. <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "...
2
votes
2answers
306 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 ...
1
vote
1answer
67 views

Tagging multiple Trip schema on one page

I can get a single Trip marked up correctly using Schema.org: { "@context": "http://schema.org", "@type": "Trip", "name": "Your ideal trip to England", "description": "The dozen best ...
2
votes
1answer
161 views

JSON-LD script is showing on Google Structured Data Testing tool and page source but not in Mobile Friendly Test

We have an Angular Universal application which has dynamically loading JSON-LD script tags. These script tags are showing in the page source. We've tested the same using the Structured Data Testing ...