microsoft/hve-core
Publicmirrored fromhttps://github.com/microsoft/hve-coreAvailable
scripts/linting/schemas/schema-mapping.json
49lines · modecode
| 1 | { |
| 2 | "schemaVersion": "1.0", |
| 3 | "description": "Schema mapping configuration for frontmatter validation", |
| 4 | "mappings": [ |
| 5 | { |
| 6 | "pattern": "README.md|CONTRIBUTING.md|CODE_OF_CONDUCT.md|SECURITY.md|SUPPORT.md", |
| 7 | "scope": "root", |
| 8 | "schema": "root-community-frontmatter.schema.json", |
| 9 | "description": "Root community files" |
| 10 | }, |
| 11 | { |
| 12 | "pattern": "docs/**/*.md", |
| 13 | "scope": "docs", |
| 14 | "schema": "docs-frontmatter.schema.json", |
| 15 | "description": "Documentation files in docs directory" |
| 16 | }, |
| 17 | { |
| 18 | "pattern": ".github/**/*.instructions.md", |
| 19 | "scope": "github-instructions", |
| 20 | "schema": "instruction-frontmatter.schema.json", |
| 21 | "description": "Instruction files in .github directory" |
| 22 | }, |
| 23 | { |
| 24 | "pattern": ".github/**/*.chatmode.md", |
| 25 | "scope": "github-chatmodes", |
| 26 | "schema": "chatmode-frontmatter.schema.json", |
| 27 | "description": "ChatMode files in .github directory" |
| 28 | }, |
| 29 | { |
| 30 | "pattern": ".github/**/*.prompt.md", |
| 31 | "scope": "github-prompts", |
| 32 | "schema": "prompt-frontmatter.schema.json", |
| 33 | "description": "Prompt files in .github directory" |
| 34 | }, |
| 35 | { |
| 36 | "pattern": ".github/**/*.agent.md", |
| 37 | "scope": "github-agents", |
| 38 | "schema": "agent-frontmatter.schema.json", |
| 39 | "description": "Agent files in .github directory" |
| 40 | }, |
| 41 | { |
| 42 | "pattern": ".github/skills/**/SKILL.md", |
| 43 | "scope": "github-skills", |
| 44 | "schema": "skill-frontmatter.schema.json", |
| 45 | "description": "Skill definition files in .github/skills directory" |
| 46 | } |
| 47 | ], |
| 48 | "defaultSchema": "base-frontmatter.schema.json" |
| 49 | } |
| 50 | |