977 questions
1
vote
1
answer
78
views
Using JSON-LD with multi offers that each have multi addons
When using google's Rich Results Test cant get past these errors:
I am getting Parsing error: Missing '}' or object member name error with the code here.
if I add " "offers" : {"
...
0
votes
1
answer
53
views
JSON-LD value objects with native JSON types in @value
I am trying to represent a typed value (numeric in this case, but it is the same for boolean) in JSON-LD in such a way that would allow my JavaScript code to work with it easily. If I declare the ...
0
votes
1
answer
54
views
rdflib removes duplicate values for a jsonld property which is an array of values
I have a jsonld representation of triples :
{"@id": "some-id",
"@type": "Row",
"attendance": 74439,
"...
0
votes
0
answers
39
views
Can the same valid code show Review Snippet on Google for homepage but not for other pages?
I am not able to understand why the same valid code shows Review Snippet on Google for homepage but not for all other pages and there's no resources out there explaining why this happens.
If you ...
1
vote
0
answers
151
views
Where to Add JSON-LD Schema Markup Code in Shopify Theme?
{
"@context": "https://schema.org",
"@type": "Store",
"name": "Mosami",
"url": "https://mosami.in",
"...
-1
votes
1
answer
263
views
RatingCount and ReviewCount "should be the same" advice wrong?
I am working on a web page whose visibility for Google is very important to the client. I have included a JSON-LD section on the page that contains a number of reviews and a number of ratings in an ...
1
vote
0
answers
63
views
Invalid integer in property "price" (in "offers")
I've created structured data for Car (car rental website) and Google Search Console is throwing this error:
Invalid integer in property "price" (in "offers")
for this piece of ...
0
votes
1
answer
62
views
Error creating an Actuator device in an IoT Agent (FIWARE | NGSI-LD)
As mentioned in the title, I am working with FIWARE, specifically with NGSI-LD. To do this, I have deployed a series of containers using Docker Compose: ld-context (this is the container to provide ...
1
vote
2
answers
120
views
When to Include URLs in Structured Data Markup?
I'm having trouble figuring out when to add https://schema.org/ in the json-ld.
Issue
For structured data properties, such as @type or itemCondition, which is the correct format:
"@type": &...
2
votes
0
answers
724
views
How to Handle Product Schema When No Price is Available
One problem I’m facing, which many others are also struggling with and there isn’t a clear source to resolve it, is regarding products that don’t have a listed price (the product is available but the ...
0
votes
0
answers
59
views
How to find the top level objects
Give I have JSON-LD with an array of objects or a "@graph" of objects.
How can I find the list of objects at the top level?
The array of objects may be connected (referencing each other) or ...
1
vote
0
answers
67
views
How to include base64-encoded PDF content in JSON-LD?
I'm working on a project where I need to include base64-encoded PDF content as part of a JSON-LD document. I have a basic structure for my JSON-LD, but I'm unsure how to properly format the "...
1
vote
1
answer
87
views
How do correct my JSON-LD syntax to give me the desired expansion?
Context
I am trying to collect a set of requirements and record them in JSON-LD format. The JSON-LD document will serve as a configuration file to drive automated data analysis in the short term. In ...
0
votes
1
answer
32
views
Usage of @ in JSON LD data
While seeing examples of JSON-LD Documents, I see some keys that start with @. Is there any rule that dicatates which of the keys should start with @ ?
In this example, why might one choose to use @...
0
votes
0
answers
66
views
JSON-LD automatic StartDate and EndDate
my site have following JSON-LD code:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Event",
"name&...
0
votes
0
answers
144
views
How to convert the JSONLD schema to Class objects in JavaScript application?
I would like to convert a JSONLD document into a Class and properties in JavaScript. Something similar to Java where we have a class with variables and I want to achieve the similar thing for my ...
0
votes
0
answers
66
views
Does the language used in schema need to match the HTML lang attribute?
I have a multi-language site. Each language has its own language specific url with the HTML lang attribute set to match the language the content is written in.
Do I need to use schema that matches the ...
1
vote
1
answer
63
views
Why is the url property invalid in schema?
I am trying to create an organization schema for the company given below
However, I am getting an error
I have tested the below code on Google Rich Results Testing Tool
<script type="...
0
votes
1
answer
656
views
Safari parsing JSON-LD error on 'telephone' ('Object.prototype.hasOwnProperty.call(e,"telephone")')
Since we enabled Sentry for our application front-end, which we build with TALL stack, we get a lot of errors from Safari browsers. Which I cannot replicate.
First we got the error like this Safari ...
0
votes
1
answer
109
views
Python - rdflib - json-ld - why does it not parse the nested triples
I have the following code, parsing the JSON-ld file below. However, it only outputs the top-level triples and not the other, such as the name of the WebPage
from rdflib import Dataset
from rdflib....
0
votes
2
answers
53
views
Can only use @graph keyword for schemas of same type?
I have a webpage that has three things:
1.A medical condition
2.A doctor
3.Review Section
4.Three Videos
I want to write a schema for the page
I have written the schema below but left information ...
1
vote
1
answer
72
views
Why does google rich snippets show: "Item does not support reviews"? Is the the implementation of "@graph" keyword correct?
Is the following schema correct?
Should I make any changes?
If I do have to make any changes how should I make them?
<script type="application/ld+json">
{
"@context": &...
-1
votes
1
answer
212
views
Multiple JSON-LD nodes for the same page
I'm trying to do a proper JSON-LD markup for my page. I'm working on NextJS (injecting JSON-LD via dangerouslySetInnerHTML), so I inject raw stringified JSON into the render.
Let's say my page wants ...
1
vote
0
answers
58
views
How to add Person to ContactType?
I have an array of multiple contactTypes with the same telephone number, like this:
"contactPoint": {
"@type": "ContactPoint",
"areaServed": "DE&...
0
votes
1
answer
94
views
Schema.org markup json-ld for product and types of product
Does the below code consists of two structured data or one? Can I write the code using schema type "Product Group" and "hasVariant" because "SS wire rope", "PVC ...