File Naming & Validation
5. File Naming
Section titled “5. File Naming”Structured MADR files SHOULD follow the naming convention:
{NUMBER}-{slug}.mdOr:
adr_{NUMBER}.mdWhere:
{NUMBER}is a zero-padded identifier (e.g.,0001,0042){slug}is a URL-friendly version of the title
Examples:
0001-use-postgresql-for-primary-storage.mdadr_0001.md
6. Validation
Section titled “6. Validation”A Structured MADR document is valid if:
- The YAML frontmatter is syntactically valid YAML
- All required frontmatter fields are present with valid values
- All required body sections are present
- The audit section contains at least one entry
- The document conforms to the JSON Schema in
schemas/structured-madr.schema.json