Page 1 of 1

richsnippets ,add schemas

Posted: Tue Aug 18, 2020 8:24 pm
by multiplone1
I wanted to add 2 schemas to the richsnippets.json file, I text the code with the Gooogle tool and it is correct, then I add it to the above mentioned file, but the program interprets it badly, in fact the three occurrences are copied the same and therefore google interprets it as repetition.
In the data entry form,the schemas are displayed correctly, however, I entered 3 different URLs, but the program copies the last entered on all three occurrences

IF I insert only one occurrence in the .json file then everything works

1° schema not working properly
"@type": "BreadcrumbList",
"itemListElement": [{
"@type": "ListItem",
"position": 1,
"name": "",
"item": ""
},{
"@type": "ListItem",
"position": 2,
"name": "",
"item": ""
},{
"@type": "ListItem",
"position": 3,
"name": "",
"item": ""
}]
}



2° not working correctly to add to the local business schema

"sameAs": [
"",
"",
""
]

Re: richsnippets ,add schemas

Posted: Tue Aug 18, 2020 8:33 pm
by Pablo
I'm sorry, I cannot help you edit the JSON file. For me, it may also take a lot of time to figure out how to code this correctly.

Re: richsnippets ,add schemas

Posted: Wed Aug 19, 2020 7:45 pm
by multiplone1
ok, I understand, but the error is created by your program, in fact if I insert the schemas between the head tags, it works correctly.
But at this point I am wondering what is the use of having a function for structured data?

Re: richsnippets ,add schemas

Posted: Wed Aug 19, 2020 8:04 pm
by Pablo
The purpose of this tools is for non-advanced users to quickly add structured data to the page.
Unfortunately, it is not possible to include every possible combination.
But if you have suggestions for other schemas then you can post them in the 'suggestions' section of this forum. If more users find it useful then I will consider adding it to a future version.