How to boost SEO with Schema Script ?
How to boost SEO with Schema Script ?
This schema represents a JSON structure for configuring SEO boost settings. It includes properties such as "pageTitle" (the title of the web page), "metaDescription" (the meta description of the web page), "keywords" (an array of keywords related to the web page), "imageAltTags" (an array of alternative text tags for images on the web page), "sitemap" (a boolean indicating if the web page should be included in the sitemap), "canonicalUrl" (the canonical URL for the web page), "robotsIndex" (a boolean specifying if the web page should be indexed by search engines), and "robotsFollow" (a boolean specifying if search engine crawlers should follow links on the web page).
You can use this schema to validate JSON data that adheres to this structure when configuring SEO boost settings. Feel free to customize or extend the schema based on your specific requirements.
Here's an example of a JSON schema for SEO boost code:
""<script type='application/ld+json'>
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "SEO Boost Configuration",
"description": "Schema for configuring SEO boost settings",
"type": "object",
"properties": {
"pageTitle": {
"type": "string",
"description": "The title of the web page"
},
"metaDescription": {
"type": "string",
"description": "The meta description of the web page"
},
"keywords": {
"type": "array",
"items": {
"type": "string"
},
"description": "An array of keywords related to the web page"
},
"imageAltTags": {
"type": "array",
"items": {
"type": "string"
},
"description": "An array of alternative text tags for images on the web page"
},
"sitemap": {
"type": "boolean",
"description": "Specifies if the web page should be included in the sitemap"
},
"canonicalUrl": {
"type": "string",
"format": "uri",
"description": "The canonical URL for the web page"
},
"robotsIndex": {
"type": "boolean",
"description": "Specifies if the web page should be indexed by search engines"
},
"robotsFollow": {
"type": "boolean",
"description": "Specifies if search engine crawlers should follow links on the web page"
}
},
"required": ["pageTitle", "metaDescription"]
}
</script>""
Comments
Post a Comment
Thanks for your Comments.