I am considering implementing Webpage Schema on all the solutions pages of our website. Our competitors are using a lengthy schema code with Yoast Schema Graph. I believe the key elements in the webpage schema are the URL, Title, and Description. I have drafted the following code for the schema:<script type="application/ld+json"> { "@context": "https://schema.org", "@type": "WebPage", "url": "my webpage url", "name": "Best Student Information System (SIS) Software - Classe365", "description": "Discover Classe365's Student Information System (SIS): Store and Manage student data, attendance, grades, degree audits, & assessments effortlessly. Free demo!", "publisher": { "@type": "WebSite", "name": "Classe365" } } </script>
However, I am encountering an error when checking in the Schema Validator. Do you have a code structure or tool that could assist in creating Webpage Schema?
The code you provided has a missing comma after the “description” property. This is causing the Schema Validator to throw an error.
Here is the corrected code:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebPage",
"url": "my webpage url",
"name": "Best Student Information System (SIS) Software - Classe365",
"description": "Discover Classe365's Student Information System (SIS): Store and Manage student data, attendance, grades, degree audits, & assessments effortlessly. Free demo!",
"publisher": {
"@type": "WebSite",
"name": "Classe365"
}, // Add comma after publisher object
}
</script>
Remember to replace “my webpage url” with the actual URL of your webpage.
You can also use online tools like the Google Structured Data Testing Tool to test and debug your schema code.