Skip to main content
⚡ OpenDevDocs
standardscontributingReferenceBeginner

Content Metadata Schema & Standards

The official specification for OpenDevDocs documentation frontmatter and structure.

Verified: 2026-09-30
#schema#frontmatter#contributing#standards

Overview

OpenDevDocs uses a strict, automated metadata system powered by Zod and Fumadocs. Every document in the repository requires consistent YAML frontmatter to support automated search indexing, SEO metadata generation, breadcrumbs, and reader level indicators.


Frontmatter Schema Reference

---
title: Docker Installation on Ubuntu
description: Install and configure Docker on Ubuntu.
category: devops
topic: docker
type: guide
level: beginner
tags:
  - docker
  - ubuntu
  - containers
platforms:
  - linux
tested:
  docker: "current"
  ubuntu: "24.04"
lastVerified: "2026-09-30"
draft: false
---

Supported Fields

FieldTypeRequiredDescription
titlestringYesClear, descriptive document title.
descriptionstringRecommended1–2 sentence summary used for SEO and previews.
categorystringOptionalHigh-level category (e.g., frontend, backend, devops, database, linux).
topicstringOptionalSpecific technology or library (e.g., docker, react, typescript, postgresql).
typeenumOptionalContent format (see allowed values below).
levelenumOptionalTarget audience experience level (see allowed values below).
tagsstring[]OptionalRelevant keyword tags for search and discovery.
platformsstring[]OptionalApplicable OS/environments (linux, macos, windows, web, all).
testedrecordOptionalKey-value pairs of tested runtime/package versions.
lastVerifiedstringOptionalDate in YYYY-MM-DD format when the code/steps were last tested.
draftbooleanOptionalWhen true, hides the document from search and navigation.

Allowed Enums

Content Types (type)

  • guide — Step-by-step practical walk-throughs
  • concept — In-depth architectural or conceptual explanations
  • reference — Comprehensive API, CLI, or configuration references
  • tutorial — End-to-end beginner learning tutorials
  • troubleshooting — Root-cause error diagnoses and solutions
  • recipe — Focused, production-ready code patterns

Experience Levels (level)

  • beginner — Assumes zero prior domain knowledge
  • intermediate — Requires basic familiarity with syntax and tooling
  • advanced — Deep internals, optimization, and complex architectures
  • production — Hardened, secure enterprise setups and deployment configurations

Content Hierarchy Rules

To keep URLs clean and maintainable, organize files logically:

content/docs/
├── javascript/
│   ├── variables.md           -> /docs/javascript/variables
│   └── meta.json
├── react/
│   ├── hooks/
│   │   ├── use-effect.md      -> /docs/react/hooks/use-effect
│   │   └── meta.json
│   └── meta.json
└── docker/
    ├── containers.md          -> /docs/docker/containers
    └── meta.json

Validating Your Frontmatter

Before opening a pull request, run the automated validator:

pnpm validate-content

On this page