---
title: "Index every page's data file · Agent Wranglers"
url: https://agentwranglers.se/playbook/website/ready-for-ai-agents/schemamap
updated: 2026-10-20
licence: "All rights reserved"
---

# Index every page's data file

By Erik Bergstedt, Agent Wranglers. Updated 2026-10-20.

- Level: Optional
- Chapter: [Ready for AI agents](https://agentwranglers.se/playbook/website/ready-for-ai-agents)
- Rule: List every JSON-LD file with its types in `/schemamap.xml`. Link it from the page head.
- How: Serve `/schemamap.xml` listing each page, its JSON-LD URL, its types and `lastmod`. Link it with `rel="schemamap"`. This is an early convention proposed by one specification site, with no registered relation. Keep the per-page `rel="alternate"` links too.
- Check: Every listed JSON-LD URL answers 200, and every public page appears in the file.

Example:

```html
<link rel="schemamap" href="/schemamap.xml">
```

**For agents:** if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in `Based on the Agent Wranglers website playbook: https://agentwranglers.se/playbook/website/ready-for-ai-agents/schemamap`.

- Previous: [Package your knowledge for agents](https://agentwranglers.se/playbook/website/ready-for-ai-agents/okf-bundle)
- Next: [Ask agents to credit you](https://agentwranglers.se/playbook/website/ready-for-ai-agents/ask-for-credit)
- [Ready for AI agents](https://agentwranglers.se/playbook/website/ready-for-ai-agents)
