Dataset Structured Data: Complete Implementation Guide
Dataset structured data enables data publishers to make their datasets discoverable through Google Dataset Search, a specialised search engine designed for finding datasets across the web. By adding Dataset schema markup to your pages, you help researchers, analysts, journalists, and developers find your data when they search for relevant topics. This is particularly valuable for government agencies, research institutions, data repositories, and organisations that publish open data. This guide covers everything you need to correctly implement Dataset markup and get your data indexed.
Why Use Dataset Schema?
- Make your datasets discoverable through Google Dataset Search, reaching researchers and analysts who might not find your site through standard search
- Provide clear metadata about your datasets including descriptions, licensing, and coverage, building trust with potential data consumers
- Increase citations and usage of your published data by making it easier to find and evaluate
- Support open data initiatives by ensuring your datasets are properly indexed and accessible to the broader research community
- Improve your organisation's visibility as a data publisher and authority in your domain
Required Properties
These properties are required by Google for Dataset structured data to be eligible for rich results.
| Property | Description |
|---|---|
| name | A descriptive, specific title for the dataset. Avoid generic names. For example, use 'UK Air Quality Monitoring Data 2020-2025' rather than just 'Air Quality Data'. |
| description | A thorough summary of the dataset including what data it contains, the methodology used to collect it, the time period covered, and geographic scope. Aim for 50-500 words. |
Recommended Properties
Adding these properties improves your chances of appearing in rich results and provides more context to search engines.
| Property | Description |
|---|---|
| license | The licence under which the dataset is distributed. Use a URL pointing to the licence text, such as 'https://creativecommons.org/licenses/by/4.0/' for CC BY 4.0. |
| creator | The person or organisation that created the dataset. Use a Person or Organization type with name and url properties. |
| distribution | How the dataset can be accessed, using a DataDownload object. Include contentUrl (the download link), encodingFormat (e.g. 'text/csv'), and contentSize. |
| temporalCoverage | The time period the dataset covers, in ISO 8601 interval format. For example, '2020-01-01/2025-12-31' for data spanning 2020 to 2025. |
| spatialCoverage | The geographic area the dataset covers. Use a Place object with a name or geo coordinates to describe the coverage area. |
JSON-LD Example
Here is a complete Dataset structured data example you can use as a starting point. Or use our Dataset generator to create one automatically.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Dataset",
"name": "London Borough Crime Statistics 2019-2025",
"description": "Monthly crime statistics for all 32 London boroughs and the City of London, compiled from Metropolitan Police Service records. The dataset includes crime counts broken down by category (theft, burglary, violence, fraud, etc.), borough, and month. Data is provided in CSV format with approximately 250,000 rows covering the period from January 2019 to December 2025.",
"url": "https://data.example.org/datasets/london-crime-2019-2025",
"license": "https://creativecommons.org/licenses/by/4.0/",
"creator": {
"@type": "Organization",
"name": "London Data Observatory",
"url": "https://data.example.org"
},
"distribution": [
{
"@type": "DataDownload",
"encodingFormat": "text/csv",
"contentUrl": "https://data.example.org/downloads/london-crime-2019-2025.csv",
"contentSize": "48MB"
},
{
"@type": "DataDownload",
"encodingFormat": "application/json",
"contentUrl": "https://data.example.org/downloads/london-crime-2019-2025.json",
"contentSize": "62MB"
}
],
"temporalCoverage": "2019-01-01/2025-12-31",
"spatialCoverage": {
"@type": "Place",
"name": "Greater London, United Kingdom",
"geo": {
"@type": "GeoCoordinates",
"latitude": 51.5074,
"longitude": -0.1278
}
},
"keywords": [
"crime statistics",
"London",
"metropolitan police",
"borough data",
"public safety"
],
"datePublished": "2025-03-15",
"dateModified": "2026-01-10",
"variableMeasured": [
"Crime count by category",
"Crime count by borough",
"Monthly crime totals"
],
"measurementTechnique": "Compiled from official Metropolitan Police Service recorded crime data, aggregated by borough and calendar month."
}
</script>How to Implement Dataset Schema
- 1Ensure each dataset has its own dedicated landing page with a clear description, download links, and metadata. Google indexes the page, not the data file itself.
- 2Add a JSON-LD script block to the dataset landing page with @type set to 'Dataset' and include the required name and description properties.
- 3Specify the licence using the license property with a URL to the full licence text. This is critical for researchers evaluating whether they can use your data.
- 4Add distribution entries for each available download format using DataDownload objects with encodingFormat and contentUrl properties.
- 5Include temporal and spatial coverage properties to help users find datasets relevant to their time period and geographic area of interest.
- 6Submit your dataset pages to Google Search Console and check indexing status. You can also provide a sitemap specifically for dataset pages to aid discovery.
Common Mistakes to Avoid
- Writing vague dataset descriptions that do not explain what the data contains, how it was collected, or what time period it covers. Be specific and detailed.
- Omitting the license property. Without a clear licence, researchers cannot determine whether they are legally permitted to use your data, significantly reducing its value.
- Adding Dataset markup to pages that do not directly describe or provide access to a dataset, such as blog posts that merely mention data.
- Not providing download links through the distribution property. The primary purpose of Dataset Search is to help people find and access data, so direct download links are essential.
- Using inconsistent or incorrect date formats for temporalCoverage. Always use ISO 8601 format (YYYY-MM-DD/YYYY-MM-DD) for date intervals.
Testing & Validation
Before deploying your Dataset structured data, validate it using these tools:
- 1Google Rich Results Test — Paste your page URL or code snippet to check if your structured data is eligible for rich results.
- 2Schema Markup Validator — Validates your JSON-LD syntax against the schema.org specification.
- 3Google Search Console — After deployment, monitor the Enhancements report for any errors or warnings.
Frequently Asked Questions
How does Google Dataset Search differ from regular Google Search?
Google Dataset Search is a specialised search engine at datasetsearch.research.google.com that exclusively indexes datasets. It uses Dataset structured data to find and display datasets, allowing researchers to filter by topic, format, licence, and other metadata. Regular Google Search may also display dataset results, but Dataset Search provides a focused experience for data discovery.
What file formats should I provide for my datasets?
Provide datasets in widely-used, open formats such as CSV, JSON, XML, or Parquet. Offering multiple formats through separate DataDownload entries increases the accessibility of your data. Avoid proprietary formats that require specific software to open.
Can I use Dataset markup for APIs that serve data?
Yes. If your dataset is accessible via an API rather than a downloadable file, you can use a DataDownload entry with the encodingFormat set to the API's response format and contentUrl pointing to the API endpoint or documentation page.
How often should I update my Dataset structured data?
Update the structured data whenever the dataset itself is updated. Change the dateModified property to reflect the latest update, adjust temporalCoverage if the date range has expanded, and update distribution links if file locations have changed.
Is Dataset structured data only for open data?
No. You can use Dataset markup for any dataset, whether open or restricted. For restricted datasets, you can describe access conditions in the description and omit direct download links. However, datasets with clear licensing and direct downloads tend to perform better in Dataset Search.
Ready to Generate Your Dataset Schema?
Use our free generator to create valid Dataset structured data in seconds.
Open Dataset Generator