# Sitemap with Google extensions

Source: https://xmlvalid.com/schemas/sitemap-extensions

> A sitemap.xml that also lists images, videos or news articles with Google's sitemap extensions.

Google reads extra tags in a sitemap: image:image for pictures on a page, video:video for videos and news:news for Google News articles. Each has its own schema, published by Google.
This entry loads the sitemap schema together with the three extension schemas through a small wrapper schema by xmlvalid.com, so a sitemap can mix them.

- Type: XSD
- Version: 0.9 + image 1.1, video 1.1, news 0.9
- Namespace: `http://www.sitemaps.org/schemas/sitemap/0.9`
- Root element: `urlset`
- Publisher: sitemaps.org, Google (sitemaps.org CC BY-SA 2.5; extension schemas published by Google), source: https://developers.google.com/search/docs/crawling-indexing/sitemaps/combine-sitemap-extensions
- Validate against it: https://xmlvalid.com/validate?schema=sitemap-extensions

## Notes

- Google has since deprecated some extension tags (for example image:caption and video:category); the schemas still allow them, and Google ignores them.
- URL counts, file size limits and whether the URLs work are not checked.
- The example is by xmlvalid.com.
