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
4
votes
1answer
136 views

Does google follow links discovered in JSON-LD?

Lets say I have a site with a page of 20 products which are fed through an API. The products are loaded using infinity scroll so the initial page render has 5 products tops. Upon scrolling it adds 5 ...
3
votes
1answer
66 views

Best SEO-friendly approach for icon links?

I'm having trouble finding info on this. I'd like to know what is the best way to markup icon links so Search Engines can make sense of it. Google's validator tools seem to ignore title attributes. ...
1
vote
0answers
18 views

Import a local JSON file in your pc to your basic HTML page and display it's content using Chart.js API [closed]

Import a local JSON file in your pc to your basic HTML page and display it's content using Chart.js API.
3
votes
1answer
48 views

JSON-LD structured data of other companies - allowed?

I am building a website which lists profiles of several local businesses. I've read up on structured data in the JSON-LD format in the Google Documentation. They specifically state: Don't use ...
0
votes
0answers
16 views

LegalService schema: is it worthwhile and can I go overboard?

I currently use Yoast on a Wordpress site and it outputs an Organization schema for our law firm. I am first wondering if it is worthwhile to add a LegalService schema, then if it's okay to have both ...
1
vote
1answer
23 views

Do I have to include texts twice in HTML and JSON-LD for Google?

Is it possible in 2021 to avoid having to output article, job posting, event, etc. texts twice - in HTML and the JSON-LD structure - while keeping Google happy? Google still does not support linked ...
2
votes
1answer
31 views

SEO/Schema/JSON-LD: In order to better index/rank, should I use: Yoast with JSON-LD? Microdata with JSON-LD? or everything with JSON-LD?

Context: 1 - Our corporate website is custom developed on Wordpress, with AMP in mind. 2- The website has the following structure, and JSON-LD Schema lineup: Home Page - 1 page - Website, Webpage, ...
2
votes
0answers
42 views

@id breaks Google Rich Results Logo detection

Why does an @id node identifier referencing the top node stop Google's Rich Results test detecting a logo? For example it says "Page not eligible for rich results known by this test" for the ...
0
votes
1answer
27 views

Warning in Google Console due to invalid items in Struture data

I have added Structured data for sporting event on website and this page started showing 5 valid items detected: All have warnings as i have five items in the structured data on Google Console (URL ...
1
vote
2answers
63 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
22 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
42 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
9 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 ...
2
votes
3answers
54 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
43 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
30 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
45 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
14 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
81 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
49 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
46 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
150 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
84 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
82 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
287 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
112 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
103 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
184 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
91 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
157 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
98 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
578 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
148 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
24 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
86 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
72 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
103 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
601 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
17 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
34 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
19 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
45 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
462 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
1k 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
993 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
533 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
2k 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
189 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
2k 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
40 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.