{
  "schemaVersion": "1.0",
  "description": "Schema mapping configuration for frontmatter validation",
  "mappings": [
    {
      "pattern": "README.md|CONTRIBUTING.md|CODE_OF_CONDUCT.md|SECURITY.md|SUPPORT.md",
      "scope": "root",
      "schema": "root-community-frontmatter.schema.json",
      "description": "Root community files"
    },
    {
      "pattern": "docs/planning/adrs/[0-9][0-9][0-9][0-9]-*.md",
      "scope": "adr",
      "schema": "adr-frontmatter.schema.json",
      "description": "Architecture Decision Records under docs/planning/adrs/NNNN-{kebab-case}.md"
    },
    {
      "pattern": "scripts/linting/rules/adr-consistency-rules.json",
      "scope": "adr-consistency-rules",
      "schema": "adr-consistency-rules.schema.json",
      "description": "ADR consistency rule registry consumed by Validate-AdrConsistency.ps1"
    },
    {
      "pattern": "docs/**/*.md",
      "scope": "docs",
      "schema": "docs-frontmatter.schema.json",
      "description": "Documentation files in docs directory"
    },
    {
      "pattern": ".github/**/*.instructions.md",
      "scope": "github-instructions",
      "schema": "instruction-frontmatter.schema.json",
      "description": "Instruction files in .github directory"
    },
    {
      "pattern": ".github/**/*.chatmode.md",
      "scope": "github-chatmodes",
      "schema": "chatmode-frontmatter.schema.json",
      "description": "ChatMode files in .github directory"
    },
    {
      "pattern": ".github/**/*.prompt.md",
      "scope": "github-prompts",
      "schema": "prompt-frontmatter.schema.json",
      "description": "Prompt files in .github directory"
    },
    {
      "pattern": ".github/**/*.agent.md",
      "scope": "github-agents",
      "schema": "agent-frontmatter.schema.json",
      "description": "Agent files in .github directory"
    },
    {
      "pattern": ".github/skills/**/SKILL.md",
      "scope": "github-skills",
      "schema": "skill-frontmatter.schema.json",
      "description": "Skill definition files in .github/skills directory"
    }
  ],
  "defaultSchema": "base-frontmatter.schema.json"
}
