{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "project_map.schema.json",
  "title": "project_map",
  "description": "Render diagrams of every project: one all-projects map plus a per-project detail diagram, written as PNGs and an HTML page into the project's output/ directory. Reads the real registry, tracker and files, so the diagrams cannot drift from the truth.",
  "type": "object",
  "properties": {
    "render": {
      "type": "string",
      "description": "What to render. 'all' does everything.",
      "enum": ["all", "overview", "detail", "html"],
      "default": "all"
    },
    "slugs": {
      "type": "array",
      "description": "Restrict detail diagrams to these project slugs (default: every project).",
      "items": { "type": "string" }
    },
    "out_dir": {
      "type": "string",
      "description": "Where to write the PNGs and index.html (default: this project's output/)."
    }
  },
  "additionalProperties": false
}
