Sample schema or snippet codes or google rich results for better SEO with sample codes
#1 Star rating schema json-ld
<html>
<head>
<title>Sample code</title>
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "Review",
"itemReviewed": {
"@type": "Restaurant",
"image": "http://www.example.com/seafood-restaurant.jpg",
"name": "Legal Seafood",
"servesCuisine": "Seafood",
"priceRange": "$$$",
"telephone": "1267",
"address" :{
"@type": "PostalAddress",
"streetAddress": "83 Relocation St",
"addressLocality": "Malita",
"addressRegion": "PH",
"postalCode": "108",
"addressCountry": "PH"
}
},
"reviewRating": {
"@type": "Rating",
"ratingValue": "4"
},
"name": "A good seafood place.",
"author": {
"@type": "Person",
"name": "Bob Smith"
},
"name": "A good seafood place.",
"author": {
"@type": "Person",
"name": "Bob Smith"
},
"reviewBody": "The seafood is great.",
"publisher": {
"@type": "Organization",
"name": "PH Times"
}
}
</script>
</head>
<body>
</body>
</html>
#2 Breadcrumblist schema example code json-ld
<script type="application/ld+json">
{
"@context":"https://schema.org",
"@type":"BreadcrumbList",
"itemListElement":[
{
"@type": "ListItem",
"position": 1,
"name": "Home",
"item": "https://leaks.work/"
},
{
"@type": "ListItem",
"position": 2,
"name": "Submit links",
"item": "https://leaks.work/post.php"
},
{
"@type": "ListItem",
"position": 3,
"name": "Popular",
"item": "https://leaks.work/p/popular.php"
},
{
"@type": "ListItem",
"position": 4,
"name": "Visit logs",
"item": "https://leaks.work/p/visit-logs.php"
},
{
"@type": "ListItem",
"position": 5,
"name": "Mail tools",
"item": "https://leaks.work/p/anonymous-email-tools.php"
}
]}
</script>
#3 Frequently Asked Questions (FAQ) schema example code json-ld snippet
<script type="application/ld+json">
{
"@context":"https://schema.org","@type":"FAQPage","mainEntity":[
{"@type":"Question","name":"Is Star Rating tools online free?",
"acceptedAnswer":[{"@type":"Answer","text":"These Online star rating tools is totally free, no monthly fee, no registration, but if you want to support this tools you can send your donation any amount accepted, click the about to learn more."}]},
{"@type":"Question","name":"How to set-up star rating on blogger?","acceptedAnswer":[{"@type":"Answer","text":"First visit our tutorial on how to generate star rating codes, next goto your blogger account click add new post or edit post, second change into code editor and paste your generate codes and save."}]},
{"@type":"Question","name":"Except star rating, do you have another tools?","acceptedAnswer":[{"@type":"Answer","text":"For now, we only have star rating snippet tool, maybe soon we add more tools, but there are many tutorial on the internet available."}]},
{"@type":"Question","name":"Is these rating snippet visible on search engine?","acceptedAnswer":[{"@type":"Answer","text":"If you complete fill-up all form and not removing the important information that generate using our tools, its 100% yes, but sometimes it take many weeks in order to update your search results. here the sample result Magic traffic bot android"}]},
{"@type":"Question","name":"Can i use these code to my plain html or php code?","acceptedAnswer":[{"@type":"Answer","text":"Yes, Because the code generate base on javascript codes, good for all platform like plain html files, php etc.."}]}]}
</script>
#4 Sitelink - search box sample code schema - snippet (json-ld)
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"url": "https://leaks.work/",
"potentialAction":
{
"@type": "SearchAction",
"target": "https://leaks.work/search/?s={search_term_string}",
"query-input": "required name=search_term_string"
}
}
</script>