schema.org markup for repository landing pages
schema.org is a set of schemas for structured data on the Internet, on web pages, in email messages, and for search engines to coordinate on metadata for indexing the web.
DataCite metadata can be expressed in schema.org format and can be used on repository landing pages. DataCite recommends adding schema.org to repository landing pages to expose them to Google Dataset Search. For more information on exposing your datasets to Google Dataset Search, see Google's help page on the Dataset content type.
How do I create the schema.org markup for my repository landing pages?
There are two ways to do this: 1. manually implementing this in the repository pages, or 2. automating the process using the DataCite Content negotiation service.
- DataCite has published a crosswalk which maps DataCite metadata schema 4.4 to schema.org to help with manually implementing schema.org on repository landing pages.
DataCite Metadata Schema 4.4 to Schema.org Mapping
Here is a full crosswalk from the DataCite Metadata Schema to Schema.org.
- The DataCite Content Negotiation service is also available to enable automated embedding schema.org metadata on repository landing pages.
DataCite Content Negotiation for schema.org metadata
DataCite Content Negotiation can be used to retrieve schema.org metadata to embed in landing pages.
<script>tag with the file to the script to your landing page template. Whenever a landing page is requested, the script will append the appropriately marked up metadata in schema.org markup.
An example of a repository page using schema.org markup can be found here: https://doi.pangaea.de/10.1594/PANGAEA.932235
If you’re not sure whether your repository landing pages contain the appropriate structured data, you can test them using Google’s Structured Data Testing Tool.
Updated 2 months ago