Skip to main content

Schema Design

Design parameter schemas for your bundles using JSON Schema (draft-07). This section covers validation patterns, Massdriver-specific extensions, and form display options.

In this section​

  • Validation Patterns - Common JSON Schema patterns for enums, conditionals, ranges, and more
  • Massdriver Annotations - $md.* extensions for immutability, dynamic enums, and sensitive fields
  • UI Schema - Field order, array item titles, and other form display options

Quick reference​

All schemas are written in YAML format (used in massdriver.yaml files) and follow JSON Schema draft-07.