Skip to content

Add JSON Schema for migration.yml validation#84

Open
fredj wants to merge 1 commit into
camptocamp:masterfrom
fredj:migration_schema
Open

Add JSON Schema for migration.yml validation#84
fredj wants to merge 1 commit into
camptocamp:masterfrom
fredj:migration_schema

Conversation

@fredj

@fredj fredj commented Apr 13, 2026

Copy link
Copy Markdown
Member

Adds marabunta/migration.schema.json to validate the structure of migration.yml files, with support for IDE inline validation via the YAML Language Server.

Limitation: mode names are dynamic (defined as keys under modes:), so the schema cannot enforce that mode names match those declared in the setup version. This requires a separate runtime check.

Adds marabunta/migration.schema.json to validate the structure of
migration.yml files, with support for IDE inline validation via the
YAML Language Server.

Limitation: mode names are dynamic (defined as keys under `modes:`),
so the schema cannot enforce that mode names match those declared in
the setup version. This requires a separate runtime check.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant