{"library":"json-schema-migrate-x","type":"library","category":null,"description":"An actively maintained fork of json-schema-migrate for migrating JSON Schema between drafts: draft-04 to draft-07, draft-2019-09, or draft-2020-12. Version 2.1.0 ships TypeScript types, follows conventional commits, and uses Ajv under the hood. It replaces boolean exclusiveMinimum/Maximum with number form, converts single-value enum to const, replaces constant with const, empty schema with true, and schema {\"not\":{}} with false. draft2019 additionally splits dependencies into dependentRequired and dependentSchemas and handles $anchor. draft2020 converts array items to prefixItems.","language":"javascript","status":"active","version":"2.1.0","tags":["javascript","draft-04","draft-06","draft-07","draft-2019","draft-2019-09","draft-2020","draft-2020-12","json-schema","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install json-schema-migrate-x","imports":["import * as migrate from 'json-schema-migrate-x'","migrate.draft7(schema)","migrate.getAjv()"]},{"cmd":"yarn add json-schema-migrate-x","imports":[]},{"cmd":"pnpm add json-schema-migrate-x","imports":[]}],"homepage":"https://github.com/un-ts/json-schema-migrate-x#readme","github":"https://github.com/un-ts/json-schema-migrate-x","docs":null,"changelog":null,"pypi":null,"npm":"json-schema-migrate-x","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}