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

How to implement Used Car Schema - Structured Data on the website [on hold]

I am implementing "used car" schema on one of my website. Please refer below code for your reference. I have used elements as per my requirements: <script type="application/ld+json"> { "@...
0
votes
1answer
27 views

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

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 ...
0
votes
1answer
17 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
51 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
36 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
19 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
13 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
21 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
24 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
22 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
41 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
41 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
54 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
41 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
69 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
101 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
34 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
92 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
428 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
67 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 ...
1
vote
1answer
43 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
30 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
350 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
322 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
141 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
35 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
106 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
15 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
64 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
26 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
118 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
69 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
150 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
97 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
545 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
55 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
141 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 ...
1
vote
1answer
141 views

Google Structured Data Testing Tool giving error: “Missing '}' or object member name.”

I write some code of JSON-LD, but Google’s SDTT is showing an error. Following is the code. { "@context": "https://schema.org/", "@type": "Review", "reviewBody": "\"Singapore's top ...
1
vote
0answers
198 views

Google Search Console reports empty brand and model of product

Google Search Console: Structured Data > Product (markup: schema.org) Parsed in Google: Brand and model JSON: "brand":{ "@type":"Thing", "name":"Volkswagen" }, "model":{ "@...
0
votes
2answers
589 views

Schema.org and multiple products on a page

I have a photography business that offers multiple services. Our site is hosted with Zenfolio. They allow me to create custom web pages that contain HTML and CSS as expected. One of our services ...
0
votes
0answers
44 views

JSON-LD makes website result with no thumbnail in Mobile Search [duplicate]

I saw that it was picking one of the images from my portfolio, so I planned to add explicitly one image for Google Mobile Search result to pick up using JSON-LD tags. A funny thing is that, it says ...
0
votes
1answer
139 views

JSON-LD GTM Tag for BlogPosting

I'd like to do schema markup for my wordpress blog in Google Tag Manager. I've integrated the variables for Image url and Date Published into my JSON-LD GTM Tag, but I get an error in the Google ...
0
votes
2answers
601 views

How to combine multiple “Person” structured data in one HTML page?

Is it possible to add more than one Person structured data in one page? I have a website that shows search results for individuals' profiles, hence I want to know if it's possible to add structured ...
3
votes
2answers
3k views

Do I need JSON-LD on all pages or just the home page?

Below is an example of the JSON-LD I've added to my home page (company name removed). My question, is it generally recommended that this be added to all pages of a site, or just the home page? <...
0
votes
2answers
35 views

Will a separate JSON-LD snippet help in enhancing latest NewsArticle on homepage?

Although I mark-up all my NewsArticle items using JSON-LD, but I want to know that if for the homepage till the time the latest articles remain on the homepage (usually 24hrs), will it be good (Google ...
4
votes
2answers
522 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/...
1
vote
2answers
659 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 ...
1
vote
0answers
43 views

Does JSON-LD structured data work with Google Plus shared website link snippets too?

I just recently switched my Web ID card (i.e. my primary web profile) website, over from Microdata to JSON-LD to get better, more fine-grained control over the structured data appearance, on Google ...
5
votes
1answer
221 views

Google Job Posting for an unspecified employer

The official content guidelines from Google for a Job Posting mention that the hiringOrganization is required and that "You must include the required properties for your structured data to display in ...