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
2
votes
1answer
20 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
134 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
32 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
55 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
86 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
34 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
35 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 '...
2
votes
2answers
54 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
17 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
35 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
42 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
36 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
44 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
36 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
36 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
75 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
73 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
27 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
15 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
27 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
27 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
35 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
95 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
42 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
66 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
0answers
53 views

Do we need to include schema JSON-LD in our every pages? [duplicate]

I am trying to implement <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "Corporation", "name": "Outside", "alternateName": "Outside", "description": ...
0
votes
1answer
73 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
168 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"> { ...
0
votes
0answers
43 views

Schema for a Comprehensive TV Show Page and Photos Page

You have all been especially helpful with my understanding of schema and checking my work, so I hope you don't mind me making another post about this. I'm trying to develop schema for a ...
1
vote
1answer
154 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
874 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
138 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
60 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
16 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
40 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
426 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
704 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": "...
1
vote
1answer
196 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
37 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
123 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 ...
2
votes
0answers
17 views

Which JSON-LD version SDTT uses

Google Structured Data Testing Tool (SDTT) invalidates the JSON-LD where as jsonlint and jsonplayground for version 1.1 (https://json-ld.org/playground-dev/) validates below. { "@context": { "@...
0
votes
2answers
86 views

Should I remove the description/keywords meta tags if I want to use structured data markups (JSON-LD)?

I run a static HTML website for my small business. It is designed in Artisteer 4 and basic HTML comes from it. Should I remove meta name=description and meta name=keywords if I want to use structured ...
1
vote
1answer
28 views

Can many JobPosting items be placed in the same file?

Is this good way to code JSON-LD for Schema.org’s JobPosting? I place a number of JobPosting items in the same file. Is this working properly? Is this correct way? <script type="application/ld+...
1
vote
2answers
159 views

JSON-LD problem with non-Latin characters: Product appears as last item of BreadcrumbList

I spent two days to find out what the problem is with the following JSON-LD, but to no avail. If you check this code in testing tool, you will see Product weirdly appears as the last item of ...
3
votes
1answer
76 views

Do AggregateRatings counts in Recipes need to be in Review markup?

If you look at the recipe rich result documentation for aggregateRating, it says to Follow the Review snippet guidelines and list of required and recommended AggregateRating properties. Common ...
2
votes
2answers
215 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
0answers
125 views

isAccessibleForFree and paywalled content delivered to Googlebots

I've got a site with some paywalled articles. We want to ensure that Googlebots can index the paywalled content, but we don't want to be accused of cloaking. I've got two types of articles: Premium ...
1
vote
2answers
655 views

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

This Quora Answer: https://www.quora.com/Can-I-mix-microdata-and-JSON-LD/answer/Aaron-Bradley The above answer from 2015 mentions there being a potential problem when marking up the same entity with ...
1
vote
0answers
78 views

Can two Product schema.org elements be combined with an @id attribute?

Supposing I have a product detail page on my shopping website where 2 seperate schema.org Product elements have been defined with JSON-LD: <script type="application/ld+json"> { "@context":...
0
votes
1answer
173 views

JSON LD with ID only parse as “embeded item”

Im using JSON-LD as part of one of my website... And i found there too many data, that point to "myself" or "the company i work for"... so i decided to use partial item definition and @id attribute to ...