Schema.org is a website that acts as a library for different micro markups that can be applied to website pages. Markups can be used to inform search engine bots about important information that is useful/actionable for users such as shipping details, product pricing, refund policy, SKU #, manufacturer information, service areas, and so much more. Using this data, search engines generate extended snippets in their search results.
The schema.org dictionary has been recognized by search giants such as Google, Bing, and Yahoo. This is how a page with the prescribed micro markup looks in its output:
Besides Schema there are other kinds of micro partitions - each with different purposes.
Open Graph - Micro markup is a practical tool for customizing the display of social media posts. It ensures the correct presentation of your article, including the title, description, and image, when shared on platforms like Facebook, Twitter, and Telegram.
Microformats - This is a website created in 2007. It is suitable for marking up products, reviews, contact information, and other types of content. Although originally meant to be used more actively, it has drawbacks and must be developed, making it inferior to Schema.org.
Dublin Core - Libraries and museums use this markup dictionary, which allows for the description of books and museum exhibits.
A dictionary is a set of classes and properties that describe a page's content type, and convey critical information. Its vocabulary can be compared to a language - for example, English, Schema.org, Open Graph, and Dublin Core are all dictionaries.
Now, let's talk about syntax. In web development, syntax is the method used to specify dictionary entities and properties in the HTML code of website pages. If a dictionary is like English, then syntax is akin to Latin, the language used to define the structure of English words.
The syntax options that are used for Schema.org markup include:
Snippets on search pages show sites that have implemented micro markup. Here are two snippets from the same site, the first one with micro markup, and the second without it.
With the help of micro markups, prices are displayed in product page snippets:
One more example - this first snippet implements breadcrumb micro markup, while the second snippet has no such markup:
This tool helps improve the ranking results of sites across all types of content. It is used when publishing formats such as:
While there are thousands of types of markups, Schema Markup is still the best option for generating rich snippets. If you have a themed website, you're likely to find built in schema options – in fact, it's been proven that companies using Schema Markup for their websites have higher rankings in search results across the board.
According to recent studies, a website with markups will be placed four positions higher than one without it. This not only leads to an improved result, but there also appears to be a direct correlation when it comes to reassurance about the effectiveness of Schema Markups.
Statistics show that a third of Google search results use rich snippets in conjunction with Schema micro markups. However, search metrics state that only 0.3% of sites combine these markups - and that hundreds more sites underestimate the potential of this optimization tool.
A micro markup dictionary consists of entities (e.g., Products) and properties that describe entity parameters (e.g., SKU, price, availability, etc.).
The whole list of entities and documentation is available on the official schema.org website.
The screenshot shows some of the entities (on the left) and properties of the entity (on the right side of the screenshot)
Some of the most popular examples include:
Product
An entity used to mark up any product or service, such as a pair of sneakers, a concert ticket, or a car rental. An entity of this type has many properties that allow you to convey more information about the product/service: name, rating, brand, colour, category, width, height, weight, SKU, etc.
Event
An entity designed specifically to describe events that occur at a particular time and place: concerts, lectures, festivals, and more. Schema.org provides a variety of Event entity types, each tailored to a specific event - for instance, a business event (BusinessEvent), a festival (Festival), and a sports event (SportsEvent), among others.
Recipe
This entity is easy to use for marking up recipes. Its properties allow you to easily markup cooking time, calories, a list of ingredients, and step-by-step instructions, making your recipes more accessible and engaging.
Review
Entity properties - ratings and the "body" of the review.
There are three kinds of syntax that are suitable for Schema.org:
While the first two have several drawbacks and are losing popularity, JSON-LD is becoming the most frequently used syntax.
Google recommends using JSON-LD, which is simple and compact, instead of RDFas, microdata, and other syntaxes.
Now, let's talk about what syntax looks like, and what rules apply.
JSON-LD, in its basic form, looks like this:
<script type=“application/ld+json">
{
//this is where the elements are placed
}
</script>
This construction is a framework, which is always there by default (like <html>, <head> and <body> tags in the structure of any HTML page). Inside the framework is the micro markup code, which contains necessary data: entity, properties and their values.
Here is what this markup looks like:
<script type=“application/ld+json">
{
“@context": “ https://schema.org/", //the markup dictionary - Schema.org is specified here
“@type": “Product", //the entity - product is declared.
“name": “iPhone", // property - the name of the product.
“image": “ ", // product image URL
“description": “iPhone 10", // description
“brand": “Apple", // brand-manufacturer
“aggregateRating": { // product rating
“@type": “AggregateRating",
“ratingValue": “5", //average rating
“ratingCount": “56" //number of user ratings
}
}
</script>
It's important to note that micro markup does not guarantee the search will display an extended snippet with all the data specified in the markup. Nevertheless, search robots will still consider past data, and will be able to understand the content of the page better.
Manual markup in JSON-LD (and in any other syntax) is a routine, time-consuming task, and carries with it the risk of making a mistake. Luckily, you can simplify the task by using JSON-LD generators:
Syntax must be correct and error-free when creating micro markups. Even if you generate JSON-LD using special plugins or services, don't rush to upload the code to your site - check it for validity first.
To check your code, use validators from Google's search engine and Schema.org, and keep in mind that validation should be performed on two validators before uploading code to your site:
If the code is valid (the validator found no errors), you can safely add the markup to your site. To do this, insert the code between the and tags on the landing page.
Microdata uses the HTML markup language (JSON-LD uses JavaScript). Working with this syntax is more complicated, as the markup code must be written in the content body.
Microdata is based on three attributes:
Here's what it looks like:
<h1 itemprop=«name»>Joker</h1>
http://schema.org/Person»>Directed by:
<span itemprop=«name»>Todd Phillips</span>
(DOB <span itemprop=«birthDate»>December 20, 1970</span>)
</div>
<span itemprop=«genre»>Science fiction</span>
<a href=«../movies/interstellar-2-trailer.html» itemprop=«trailer»>Trailer</a>
</div>
Writing such code manually can be draining and time consuming, eating away at your time and energy with repetitive tasks.
The good news is that when it comes to microdata generation service needs, there exist exceptional services:
We recommend not taking on this task yourself. If your programming knowledge is at an initial level, it is better to leave this task to a specialist - otherwise, you may cause problems for your code.
Schema.org is an extensive vocabulary that can describe data and provide search engine robots with detailed information about products, services, and other entities: