migrating-json-schemas

Community

Migrate JSON Schemas across drafts for z-schema.

Authorzaggino
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Migrates JSON Schemas across drafts (e.g., draft-04 to draft-2020-12) to ensure compatibility with z-schema and modern tooling.

Core Features & Use Cases

  • Convert keywords and structures between drafts (id -> $id, definitions -> $defs, dependencies -> dependentRequired/dependentSchemas, and $recursiveRef/$recursiveAnchor -> $dynamicRef/$dynamicAnchor).
  • Update references and nested schemas to reflect draft changes for cross-version validation and compatibility checks.
  • Use during schema modernization, cross-version validation, and validator preparation for multi-draft schemas.

Quick Start

Upgrade a schema from an older draft to the target draft and re-validate it with ZSchema.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: migrating-json-schemas
Download link: https://github.com/zaggino/z-schema/archive/main.zip#migrating-json-schemas

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.