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
14 views

Structured data for category pages

We run a wordpress website. Our category pages are a but different from the standard category pages. They are articles in which clusters of underlying articles are presented with some surrounding ...
0
votes
2answers
26 views

How many areas is reasonable for areaServed schema?

I'm adding some schema to my site and was wondering about the areaServed property. Is this used for SEO in any way? If it is, is it good or bad to cram as much into it as possible? i.e. if I simply ...
1
vote
1answer
19 views

Correct json-ld representation for software benchmarks

I'm building a web page comparing multiple web application frameworks: let's say framework A, B, C have RPS (request per second) 3.42, 1.24, 2.18. What would be the accurate JSON-LD representation of ...
0
votes
1answer
14 views

Valid use of QuantitativeValue to specify Product dimensions including unit of measure (JSON-LD)?

I can't find any examples in terms of how a https://schema.org/Product should be marked up in terms of adding dimensions like height, width, depth, and weight. Did some further clicking and discovered ...
0
votes
0answers
6 views

What is @Id in JSON-LD schema? [duplicate]

I am working on JSON-LD schema for SEO purpose and stuck at @id. What type of value can I use? Or is there anything specific value that should I use? Or How it is works? Or How much it is useful? It ...
1
vote
1answer
21 views

How to indicate that this is the *highest* rate using json-ld and schema.org?

I have a web page that lists the banks with the highest saving account rates in the country. I have created some json-ld that lists one of these banks. However, nowhere do I say in the json-ld that ...
1
vote
1answer
20 views

JSON-LD error: “Missing '}' or object member name” even when parenthesis appear to be balanced

I was wondering if you could help me find out what is wrong with this JSON schema. I have reviewed it a thousand times and I am still getting the same error on line 10 (administrationRoute). Even when ...
1
vote
1answer
21 views

BreadcrumblList JSON-LD Schema Should I include First Home Page in All Category's Page?

I am looking for a perfect website BreadcrumblList JSON-LD for e-commerce I am read this google article and I got confused https://developers.google.com/search/docs/data-types/breadcrumb The reason ...
1
vote
1answer
36 views

How to change my website's map data image (maybe from knowledge graph) in the search results?

I'm trying to change the image shown in a website's SERP, when using Google. I installed the JSON-LD Knowledge Graph application script already. <script type="application/ld+json"> { ...
1
vote
0answers
10 views

The itemListOrder property of an itemList element of a json+ld markup for a Top Products list should be ascending or descending?

From: https://schema.org/ItemList If that list will be displayed to the users as: 1. HP Pavilion 2. Dell XPS 15 3. Lenovo ThinkPad Should the itemListOrder property be Ascending or Descending? I ...
1
vote
0answers
52 views

Structured data: ArticleBody with or without html tags

We are currently rescripting our theme. The current version uses microdata for structured data, but Google doesn't seem to handle microdata completely well, therefore we are switching to JSON-LD. When ...
0
votes
1answer
37 views

Schema.org - How to present Statistical data in markup

I have a website where I visualize statistical data with geoJSON. The description of a statistic e.g. is Graduation ratio of primary education and the data looks smth. like: features: [ { geometry:...
2
votes
1answer
31 views

Document queryselector-based variables in structured data via GTM keep returning 'undefined' in Rich Results Test

I use GTM queryselector variables to populate the JSON-LD structured data on my pages dynamically - or at least I'm trying to. The variables are pulled correctly in GTM preview mode, they render fine ...
2
votes
1answer
57 views

How can I use Schema.org structured data for dynamically loaded images?

I have a webpage with a lot of images that I load dynamically onto the page dynamically using Javascript/JSON data. The images' rendered output is: <li itemscope itemtype="http://schema.org/...
2
votes
1answer
69 views

Google rich snippet always shows “Sold out” for available (ld+json) offer schema

We have listing menu items for the restaurant and something wrong, it always shows "Sold Out" in Google's search results. The items given to Gooogle as ld+json schema with the availability ...
1
vote
1answer
60 views

Why does Google's Rich Results test find structured data that I don't see in the browser?

Using https://search.google.com/test/rich-results I ran a test on this web page: https://www.cwcycles.co.za/product/sram-pc-gx-eagle-chain It returns a found product, and on inspecting where that ...
1
vote
1answer
128 views

Schema JSON codes and their effect on the page speed rank

I searched in many articles but nobody has talked about this stuff. For example, google suggested JSON-LD for structured data but I wanna know if I add dozens line of JSON codes, does not it affect on ...
2
votes
1answer
74 views

How will Google Search handle multiple Rich Snippet entries

Background I've started to use Article markup (https://schema.org/Article) on a WordPress website. The aim is to add as much as possible properties. By using a (popular) plugin, basic Article data is ...
0
votes
1answer
57 views

Structured data testing tool complains about image url (INVALID_URL)

I set the url for the image and I can see image by typing url in the browser, but structured testing tool complains about it. It should be mentioned that I am on development server with http protocol ...
1
vote
2answers
103 views

Sitelink search box does not appear on Google after adding JSON-LD SearchAction to my site yesterday

I added the JSON-LD code to my site but search bar did not appear. What is the reason for this? am i doing something wrong? <script type="application/ld+json"> { "@context": "...
1
vote
1answer
69 views

When syndicating an article to a third party site which is then the canonical, how should I update the json-ld Article schema URLs?

If I have a duplicate content because my article is syndicated to a third party site. which URLs should I use in json-ld Article schema? To be precise, let's say I want to publish an article from my ...
0
votes
0answers
122 views

How to add structured data to each gutenberg block like images,video,paragraph,table

Infact i need to specify my structured data for content blocks like Images ,Videos,Paragraph in a page and i should be able to see those inside script type="application/ld+json" class="yoast-schema-...
1
vote
1answer
70 views

Best practices for Structured Data to make both Google and Facebook happy

I am the effective webmaster of a small corporation. I want to add a Corporation Structured Data object to our corporate site. I hope to accomplish three things by adding this Structured Data: Google'...
2
votes
1answer
409 views

Founders of organisation using schema.org

How to define multiple founders of organisation in JSON+LD? To create array named founders or founder? In array of course items of type Person with data about it. I'm just not sure about array name ...
2
votes
2answers
106 views

Most effective structured data for a Person knowledge graph panel?

I am trying to make sure the structured data on my personal portfolio site is set up best to encourage a Google Knowledge Graph Person panel for my name. While I know structured data alone isn't ...
1
vote
0answers
22 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 ( ...
1
vote
1answer
74 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 ...
1
vote
1answer
47 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
85 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: { "@...
3
votes
1answer
541 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 ...
1
vote
1answer
33 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
39 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
429 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
820 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')}...
5
votes
2answers
676 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
493 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 ...
5
votes
1answer
1k 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
168 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
1k 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
37 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
306 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
92 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
197 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
65 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
48 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
170 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
153 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
492 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 ...