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].
152
questions
-1
votes
0answers
19 views
Preferable Semantic Markup for Scholarly Content
I'm wonder how can I describe scholarly content in terms of schema.org vocabulary in order to get rich results in google search? This question arises since that page is not ScholarlyArticle itself, ...
0
votes
0answers
9 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
20 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
24 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
165 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
59 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
63 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
144 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
59 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
38 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
78 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
20 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
43 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
48 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
57 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
48 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
37 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
43 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
84 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
94 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
32 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
17 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
32 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
29 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
42 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
135 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
43 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
77 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
56 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
77 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
213 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
52 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 ...
2
votes
1answer
179 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
1k 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
231 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
65 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
42 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
435 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
920 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
1answer
224 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
48 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
133 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
99 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
33 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
180 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
87 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
232 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....