{"library":"json-schema-migrate","type":"library","category":null,"description":"Migrates JSON Schema between drafts: draft-04 to draft-07, draft-2019-09, or draft-2020-12. Current stable version is 2.0.0. Maintained as part of the Ajv validator ecosystem. Key differentiators: supports multiple target drafts, handles draft-04-specific patterns like boolean exclusiveMinimum, single-value enum to const, and empty/not schemas. Release cadence is low; updates are infrequent. Alternatives include manual schema transformation or using Ajv's own migration utilities, but this package provides a dedicated, focused tool.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","JSON-Schema","migrate","draft-06"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install json-schema-migrate","imports":["const migrate = require('json-schema-migrate')","migrate.draft7(schema)","migrate.draft2019(schema)"]},{"cmd":"yarn add json-schema-migrate","imports":[]},{"cmd":"pnpm add json-schema-migrate","imports":[]}],"homepage":"https://github.com/epoberezkin/json-schema-migrate#readme","github":"https://github.com/epoberezkin/json-schema-migrate","docs":null,"changelog":null,"pypi":null,"npm":"json-schema-migrate","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}