Getting started with schema.org
Remarks#
About Schema.org
Schema.org is a collaborative, community activity with a mission to create, maintain, and promote schemas for structured data on the Internet, on web pages, in email messages, and beyond.
Schema.org – https://schema.org
Microdata
Microdata is a specification to embed machine-readable data in HTML documents. Microdata consists of name-value pairs (known as items) defined according to a vocabulary. A collection of commonly used markup vocabularies are provided by schema.org
Source – https://developers.google.com/schemas/formats/microdata
JSON-LD
JSON-LD is an easy-to-use JSON-based linked data format that defines the concept of context to specify the vocabulary for types and properties.
Source – https://developers.google.com/schemas/formats/json-ld
Testing your schema markup
Google Structured Data Testing Tool
The Structured Data Testing Tool (SDTT) provides a variety of ways to develop, test, and modify your structured markup. You can load markup into the tool either directly or by supplying a URL.
Yandex Structured Data Validator
The validator lets you check all the most common microformats: microdata, schema.org, microformats, OpenGraph and RDF.
Versions#
Version | Release date |
---|---|
3.1 | 2016-08-09 |
3.0 | 2016-05-04 |
2.2 | 2015-11-05 |
Basic implementation
Person
<section itemscope itemtype="https://schema.org/Person">
Hello, my name is
<span itemprop="name">John Doe</span>,
I am a
<span itemprop="jobTitle">Graduate research assistant</span>
at the
<span itemprop="affiliation">University of Dreams</span>
My friends call me
<span itemprop="additionalName">Johnny</span>
You can visit my homepage at
<a href="https://www.example.com" itemprop="url">www.example.com</a>
</section>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Person",
"name": "John Doe",
"jobTitle": "Graduate research assistant",
"affiliation": "University of Dreams",
"additionalName": "Johnny",
"url": "https://www.example.com"
}
</script>