XSD
sitemaps.org · 0.9
Sitemap index 0.9
Sitemap index
An index that points search engines at several sitemap files.
About
Large sites split their sitemap into several files and list them in a sitemap index, which is submitted instead.
Example document
sitemap-index.xml · 323 B · valid against this schema
In CI and from code
The same schema by its name, sitemap-index-0.9, through the API.
npx @xmlvalid/cli validate "**/*.xml" --schema sitemap-index-0.9
- uses: xmlvalid/validate-action@v1
with:
files: "**/*.xml"
schema: sitemap-index-0.9
api-key: ${{ secrets.XMLVALID_API_KEY }}
curl https://xmlvalid.com/api/v1/validations \
-H "Authorization: Bearer $XMLVALID_API_KEY" \
-F document={{ $schema->example ?? 'document.xml' }} -F schema=sitemap-index-0.9
Free accounts get 100 API validations a month. On Pro, a URL monitor can check a published document against this schema every hour and email you when it breaks. More CI setups