·migrating-json-schemas
</>

migrating-json-schemas

Migrates JSON Schemas between draft versions for use with z-schema. Use when the user wants to upgrade schemas from draft-04 to draft-2020-12, convert between draft formats, update deprecated keywords, replace id with $id, convert definitions to $defs, migrate items to prefixItems, replace dependencies with dependentRequired or dependentSchemas, adopt unevaluatedProperties or unevaluatedItems, or adapt schemas to newer JSON Schema features.

37Installs·0Trend·@zaggino

Installation

$npx skills add https://github.com/zaggino/z-schema --skill migrating-json-schemas

How to Install migrating-json-schemas

Quickly install migrating-json-schemas AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/zaggino/z-schema --skill migrating-json-schemas
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: zaggino/z-schema.

SKILL.md

View raw

z-schema supports draft-04, draft-06, draft-07, draft-2019-09, and draft-2020-12. This skill covers migrating schemas between drafts and verifying them with z-schema.

| Old keyword (draft-04) | New keyword (draft-2020-12) | Introduced in |

| id | $id | draft-06 | | definitions | $defs | draft-2019-09 | | Array-form items (tuple) | prefixItems | draft-2020-12 | | additionalItems | items (when prefixItems present) | draft-2020-12 | | exclusiveMinimum: true (boolean) | exclusiveMinimum: | draft-06 | | exclusiveMaximum: true (boolean) | exclusiveMaximum: | draft-06 |

Migrates JSON Schemas between draft versions for use with z-schema. Use when the user wants to upgrade schemas from draft-04 to draft-2020-12, convert between draft formats, update deprecated keywords, replace id with $id, convert definitions to $defs, migrate items to prefixItems, replace dependencies with dependentRequired or dependentSchemas, adopt unevaluatedProperties or unevaluatedItems, or adapt schemas to newer JSON Schema features. Source: zaggino/z-schema.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/zaggino/z-schema --skill migrating-json-schemas
Category
</>Dev Tools
Verified
First Seen
2026-02-28
Updated
2026-03-10

Browse more skills from zaggino/z-schema

Quick answers

What is migrating-json-schemas?

Migrates JSON Schemas between draft versions for use with z-schema. Use when the user wants to upgrade schemas from draft-04 to draft-2020-12, convert between draft formats, update deprecated keywords, replace id with $id, convert definitions to $defs, migrate items to prefixItems, replace dependencies with dependentRequired or dependentSchemas, adopt unevaluatedProperties or unevaluatedItems, or adapt schemas to newer JSON Schema features. Source: zaggino/z-schema.

How do I install migrating-json-schemas?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/zaggino/z-schema --skill migrating-json-schemas Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/zaggino/z-schema