For the complete documentation index, see llms.txt. This page is also available as Markdown.

Revision Scheme

Overview

The revision scheme configuration system allows you to define how component revisions are managed throughout their lifecycle. It enables you to:

  • Define revision formats for different lifecycle stages

  • Configure validation rules for revision transitions

  • Specify allowed characters and patterns

  • Set up automatic increment rules

  • Establish consistent revision naming across your library

This configuration serves as the foundation for maintaining traceable and well-structured revision control in your product development process.

Schema

The revision scheme is defined in a YAML file that specifies how revisions should be formatted and validated at each lifecycle stage.

Basic Structure

version: "1.0"
schema_type: "revision_scheme_config"

defaults:
  segments:
    integer:
      min_value: 1
      max_value: 999
    letter:
      min_value: "A"
      max_value: "ZZ"
  delimiter: "."
  empty_value: "-"

Define Status Order

Establish the progression of lifecycle stages:

Configure Revision Schemes

Define revision formats for each status:

Segment Types

Letter Segment

Integer Segment

Either Type Segment

Validation Rules

Define rules for revision transitions and validation:

Character Blacklist

Specify characters to exclude from revision schemes:

Common Patterns

Simple Letter-Based Revisions

Letter with Numeric Suffix

Mixed Format for Obsolescence

Best Practices

  1. Revision Format

    • Keep formats simple and intuitive

    • Use consistent delimiters

    • Consider future scaling needs

  2. Lifecycle Stages

    • Define clear progression paths

    • Limit revision format changes between stages

    • Document transition rules

  3. Validation

    • Blacklist confusing characters

    • Set appropriate value ranges

    • Define clear transition rules

  4. Documentation

    • Include examples for each scheme

    • Document special cases

    • Maintain transition matrices

Examples

Basic Development Scheme

Production Scheme

Note: Examples should reflect your actual use cases and common scenarios.

Last updated

Was this helpful?