{"_id":"ajv-merge-patch","_rev":"19-0363550add9951f14f7b9a56c36aaec9","name":"ajv-merge-patch","description":"$merge and $patch keywords for Ajv JSON-Schema validator to extend schemas","dist-tags":{"latest":"5.0.1","beta":"3.0.0-beta.0"},"versions":{"0.1.0":{"name":"ajv-merge-patch","version":"0.1.0","description":"$merge and $patch keywords for Ajv JSON-Schema validator to extend schemas","main":"index.js","scripts":{"test":"npm run test-spec","test-spec":"mocha spec/*.spec.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/epoberezkin/ajv-merge-patch.git"},"keywords":["JSON","schema","validator","validation","jsonschema","json-schema","json-schema-validator","json-schema-validation","$merge","$patch","keyword"],"author":{"name":"Evgeny Poberezkin"},"license":"MIT","bugs":{"url":"https://github.com/epoberezkin/ajv-merge-patch/issues"},"homepage":"https://github.com/epoberezkin/ajv-merge-patch#readme","dependencies":{"fast-json-patch":"^1.0.0","json-merge-patch":"^0.2.3"},"devDependencies":{"ajv":"^4.4.0","mocha":"^3.0.2"},"gitHead":"a07b34baae0dea51ef861ec64e82cfdda5842e7c","_id":"ajv-merge-patch@0.1.0","_shasum":"c8ee9578c17eb8ab7401ea7f2c50a583e041c1f1","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"esp","email":"e.poberezkin@me.com"},"maintainers":[{"name":"esp","email":"e.poberezkin@me.com"}],"dist":{"shasum":"c8ee9578c17eb8ab7401ea7f2c50a583e041c1f1","tarball":"https://registry.npmjs.org/ajv-merge-patch/-/ajv-merge-patch-0.1.0.tgz","integrity":"sha512-h9LvBiT67pXuD19le4GknrCsAKFZ5iccrk7guQZ/QdCtR+eDG8s031iabf52xzcutRoRG2AngZR5Aa87si4MKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCF7vopM0GARABb6EIzaXX7vlHI6ZGSGmFQyTFahKVKPAIgGBw4duFQ5ODyy9CvZB+ukyI66WXYflL5we7XWdrCkkg="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ajv-merge-patch-0.1.0.tgz_1471135960824_0.30148421810008585"},"directories":{}},"0.2.0":{"name":"ajv-merge-patch","version":"0.2.0","description":"$merge and $patch keywords for Ajv JSON-Schema validator to extend schemas","main":"index.js","scripts":{"eslint":"if-node-version '>=4' eslint index.js keywords spec","test":"npm run eslint && npm run test-cov","test-spec":"mocha spec/*.spec.js -R spec","test-cov":"istanbul cover -x '**/spec/**' node_modules/mocha/bin/_mocha -- spec/*.spec.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/epoberezkin/ajv-merge-patch.git"},"keywords":["JSON","schema","validator","validation","jsonschema","json-schema","json-schema-validator","json-schema-validation","$merge","$patch","keyword"],"author":{"name":"Evgeny Poberezkin"},"license":"MIT","bugs":{"url":"https://github.com/epoberezkin/ajv-merge-patch/issues"},"homepage":"https://github.com/epoberezkin/ajv-merge-patch#readme","dependencies":{"fast-json-patch":"^1.0.0","json-merge-patch":"^0.2.3"},"devDependencies":{"ajv":"^4.4.0","coveralls":"^2.11.12","eslint":"^3.3.0","if-node-version":"^1.0.0","istanbul":"^0.4.4","mocha":"^3.0.2","pre-commit":"^1.1.3"},"peerDependencies":{"ajv":">=4.2.0"},"gitHead":"3d5e3c7ebf327d90308daff95154292bb89df558","_id":"ajv-merge-patch@0.2.0","_shasum":"38d8f5f628acf35d0ff68db5de3870b6d4b6a552","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"esp","email":"e.poberezkin@me.com"},"maintainers":[{"name":"esp","email":"e.poberezkin@me.com"}],"dist":{"shasum":"38d8f5f628acf35d0ff68db5de3870b6d4b6a552","tarball":"https://registry.npmjs.org/ajv-merge-patch/-/ajv-merge-patch-0.2.0.tgz","integrity":"sha512-FUCnDql/znaaykoBNqd0khYq1K7XZ5JeDfEbWpKuWpMK4JKjGfTArSwdVzu6ok+shRe0LM+HkQVrvWRfJIbuEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCd1eR/xrXa43BDFtlK4pVmVpRqiXS/4JCcUxk9QwntKgIgTfHA4+GTMFO9bvtZaDf4RnUwM4f79jDpE7So/HqoG/c="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ajv-merge-patch-0.2.0.tgz_1471216185661_0.9925113548524678"},"directories":{}},"0.2.1":{"name":"ajv-merge-patch","version":"0.2.1","description":"$merge and $patch keywords for Ajv JSON-Schema validator to extend schemas","main":"index.js","scripts":{"eslint":"if-node-version '>=4' eslint index.js keywords spec","test":"npm run eslint && npm run test-cov","test-spec":"mocha spec/*.spec.js -R spec","test-cov":"istanbul cover -x '**/spec/**' node_modules/mocha/bin/_mocha -- spec/*.spec.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/epoberezkin/ajv-merge-patch.git"},"keywords":["JSON","schema","validator","validation","jsonschema","json-schema","json-schema-validator","json-schema-validation","$merge","$patch","keyword"],"author":{"name":"Evgeny Poberezkin"},"license":"MIT","bugs":{"url":"https://github.com/epoberezkin/ajv-merge-patch/issues"},"homepage":"https://github.com/epoberezkin/ajv-merge-patch#readme","dependencies":{"fast-json-patch":"^1.0.0","json-merge-patch":"^0.2.3"},"devDependencies":{"ajv":"^4.4.0","coveralls":"^2.11.12","eslint":"^3.3.0","if-node-version":"^1.0.0","istanbul":"^0.4.4","mocha":"^3.0.2","pre-commit":"^1.1.3"},"peerDependencies":{"ajv":">=4.2.0"},"gitHead":"8b0e4d9ae488707d8b1f4a97d4de4e65a9bef5f4","_id":"ajv-merge-patch@0.2.1","_shasum":"3fc160cda20cc25d825af749094f45ece8cc7bf5","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"esp","email":"e.poberezkin@me.com"},"maintainers":[{"name":"esp","email":"e.poberezkin@me.com"}],"dist":{"shasum":"3fc160cda20cc25d825af749094f45ece8cc7bf5","tarball":"https://registry.npmjs.org/ajv-merge-patch/-/ajv-merge-patch-0.2.1.tgz","integrity":"sha512-CSBLeMkkEucZZZZeQHxzd+se6AK5az1ua+c1QosOyIFAREXBgmHeniWidLrJBSamFGDeprv+sKdPdslOV67btA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEC1m2GwiY6lHWPEkwBG01Ro496pQp2K1woNYWA9gWxpAiB6OD3nIFYUlouR8K+Exd5fG/h4hI6eKaXDPO3pmlpDww=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ajv-merge-patch-0.2.1.tgz_1471216452482_0.89365478977561"},"directories":{}},"1.0.0":{"name":"ajv-merge-patch","version":"1.0.0","description":"$merge and $patch keywords for Ajv JSON-Schema validator to extend schemas","main":"index.js","scripts":{"eslint":"if-node-version '>=4' eslint index.js keywords spec","test":"npm run eslint && npm run test-cov","test-spec":"mocha spec/*.spec.js -R spec","test-cov":"istanbul cover -x '**/spec/**' node_modules/mocha/bin/_mocha -- spec/*.spec.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/epoberezkin/ajv-merge-patch.git"},"keywords":["JSON","schema","validator","validation","jsonschema","json-schema","json-schema-validator","json-schema-validation","$merge","$patch","keyword"],"author":{"name":"Evgeny Poberezkin"},"license":"MIT","bugs":{"url":"https://github.com/epoberezkin/ajv-merge-patch/issues"},"homepage":"https://github.com/epoberezkin/ajv-merge-patch#readme","dependencies":{"fast-json-patch":"^1.0.0","json-merge-patch":"^0.2.3"},"devDependencies":{"ajv":"^4.4.0","coveralls":"^2.11.12","eslint":"^3.3.0","if-node-version":"^1.0.0","istanbul":"^0.4.4","mocha":"^3.0.2","pre-commit":"^1.1.3"},"peerDependencies":{"ajv":">=4.5.0"},"gitHead":"860bff6b8a4a8c72c0d98099b490d8f61cda083a","_id":"ajv-merge-patch@1.0.0","_shasum":"2a33c21f3c4c978fd964b7c180990151220e4cef","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"esp","email":"e.poberezkin@me.com"},"maintainers":[{"name":"esp","email":"e.poberezkin@me.com"}],"dist":{"shasum":"2a33c21f3c4c978fd964b7c180990151220e4cef","tarball":"https://registry.npmjs.org/ajv-merge-patch/-/ajv-merge-patch-1.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ajv-merge-patch-1.0.0.tgz_1471298802560_0.13285415503196418"},"directories":{}},"2.0.0":{"name":"ajv-merge-patch","version":"2.0.0","description":"$merge and $patch keywords for Ajv JSON-Schema validator to extend schemas","main":"index.js","scripts":{"eslint":"if-node-version '>=4' eslint index.js keywords spec","test":"npm run eslint && npm run test-cov","test-spec":"mocha spec/*.spec.js -R spec","test-cov":"istanbul cover -x '**/spec/**' node_modules/mocha/bin/_mocha -- spec/*.spec.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/epoberezkin/ajv-merge-patch.git"},"keywords":["JSON","schema","validator","validation","jsonschema","json-schema","json-schema-validator","json-schema-validation","$merge","$patch","keyword"],"author":{"name":"Evgeny Poberezkin"},"license":"MIT","bugs":{"url":"https://github.com/epoberezkin/ajv-merge-patch/issues"},"homepage":"https://github.com/epoberezkin/ajv-merge-patch#readme","dependencies":{"fast-json-patch":"^1.0.0","json-merge-patch":"^0.2.3"},"devDependencies":{"ajv":"^4.6.0","coveralls":"^2.11.12","eslint":"^3.3.0","if-node-version":"^1.0.0","istanbul":"^0.4.4","mocha":"^3.0.2","pre-commit":"^1.1.3"},"peerDependencies":{"ajv":">=4.6.0"},"gitHead":"f3e42c58e09e282c8f1a6a0a1b4f58a11bf916b9","_id":"ajv-merge-patch@2.0.0","_shasum":"c5c067653e5f419f5cf9c01788e3d614d20c88ea","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"esp","email":"e.poberezkin@me.com"},"maintainers":[{"name":"esp","email":"e.poberezkin@me.com"}],"dist":{"shasum":"c5c067653e5f419f5cf9c01788e3d614d20c88ea","tarball":"https://registry.npmjs.org/ajv-merge-patch/-/ajv-merge-patch-2.0.0.tgz","integrity":"sha512-tzGgYVJEI99N98PpVVOT3kHduoUVKf7nOSLM2OBe2aca6uMdD90uPRbz/8FVVbQ4WNcotviXGMDhTzpTKMyV+A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3hr+aNCBy+jtmRiGbbfQsiJiIg2xUVJFOcpB6E7ps+gIhAJiPby6zxwZhVwYvJCNXtrZ34AsKHf9GHSak7LSd2LVg"}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ajv-merge-patch-2.0.0.tgz_1472586734352_0.640026640612632"},"directories":{}},"2.0.1":{"name":"ajv-merge-patch","version":"2.0.1","description":"$merge and $patch keywords for Ajv JSON-Schema validator to extend schemas","main":"index.js","scripts":{"eslint":"if-node-version '>=4' eslint index.js keywords spec","test":"npm run eslint && npm run test-cov","test-spec":"mocha spec/*.spec.js -R spec","test-cov":"istanbul cover -x '**/spec/**' node_modules/mocha/bin/_mocha -- spec/*.spec.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/epoberezkin/ajv-merge-patch.git"},"keywords":["JSON","schema","validator","validation","jsonschema","json-schema","json-schema-validator","json-schema-validation","$merge","$patch","keyword"],"author":{"name":"Evgeny Poberezkin"},"license":"MIT","bugs":{"url":"https://github.com/epoberezkin/ajv-merge-patch/issues"},"homepage":"https://github.com/epoberezkin/ajv-merge-patch#readme","dependencies":{"fast-json-patch":"^1.0.0","json-merge-patch":"^0.2.3"},"devDependencies":{"ajv":"^4.6.0","coveralls":"^2.11.12","eslint":"^3.3.0","if-node-version":"^1.0.0","istanbul":"^0.4.4","mocha":"^3.0.2","pre-commit":"^1.1.3"},"peerDependencies":{"ajv":">=4.6.0"},"gitHead":"138c0f305cbfc34822d00cb439cee7438bf4c7f5","_id":"ajv-merge-patch@2.0.1","_shasum":"2a6f78fc1e2796305be41c0ad924e6ccfd3ac254","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"esp","email":"e.poberezkin@me.com"},"maintainers":[{"name":"esp","email":"e.poberezkin@me.com"}],"dist":{"shasum":"2a6f78fc1e2796305be41c0ad924e6ccfd3ac254","tarball":"https://registry.npmjs.org/ajv-merge-patch/-/ajv-merge-patch-2.0.1.tgz","integrity":"sha512-HdFKTMspJEAMWw54BqqlXLJNmvwMFJiUQ2iYOBy7LBnrNrBPeDwezjGFshG7r3w023Ssili2butAMA6LOgDETQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCB9YaHu7notaqY4h3e/qfuyxmtnn5dPsTlELJ538av/AIgSRKm4b1DjwBUfwfGRvASPoXU5ACwK000lvi3bP0vWm8="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ajv-merge-patch-2.0.1.tgz_1472586926565_0.01651034946553409"},"directories":{}},"2.0.2":{"name":"ajv-merge-patch","version":"2.0.2","description":"$merge and $patch keywords for Ajv JSON-Schema validator to extend schemas","main":"index.js","scripts":{"eslint":"if-node-version '>=4' eslint index.js keywords spec","test":"npm run eslint && npm run test-cov","test-spec":"mocha spec/*.spec.js -R spec","test-cov":"istanbul cover -x '**/spec/**' node_modules/mocha/bin/_mocha -- spec/*.spec.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/epoberezkin/ajv-merge-patch.git"},"keywords":["JSON","schema","validator","validation","jsonschema","json-schema","json-schema-validator","json-schema-validation","$merge","$patch","keyword"],"author":{"name":"Evgeny Poberezkin"},"license":"MIT","bugs":{"url":"https://github.com/epoberezkin/ajv-merge-patch/issues"},"homepage":"https://github.com/epoberezkin/ajv-merge-patch#readme","dependencies":{"fast-json-patch":"^1.0.0","json-merge-patch":"^0.2.3"},"devDependencies":{"ajv":"^4.6.0","coveralls":"^2.11.12","eslint":"^3.3.0","if-node-version":"^1.0.0","istanbul":"^0.4.4","mocha":"^3.0.2","pre-commit":"^1.1.3"},"peerDependencies":{"ajv":">=4.6.0"},"gitHead":"6bc385373f9a7faa8cf483d12b3a5dfda9d46a7c","_id":"ajv-merge-patch@2.0.2","_shasum":"cd266342f57089880dc2cece5c5d54aadd85dc97","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"esp","email":"e.poberezkin@me.com"},"maintainers":[{"name":"esp","email":"e.poberezkin@me.com"}],"dist":{"shasum":"cd266342f57089880dc2cece5c5d54aadd85dc97","tarball":"https://registry.npmjs.org/ajv-merge-patch/-/ajv-merge-patch-2.0.2.tgz","integrity":"sha512-57OCZLM0VW+lUkzGsW0vZE7tbRcSGq28cuINr8CE2Lc/QTajToSqsBO2OxhVV/pH8SfVPz9ZXnpZxAOL3ol7kQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrz7RV6kZUM4Pq+63ePmp/jot6jom+kqSlfzaIZpPFPQIgPYPkSD7bP6fDhESd1W5ZcQSRHERlf7EzLK9Mz7dICYc="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ajv-merge-patch-2.0.2.tgz_1472587006768_0.41714245546609163"},"directories":{}},"2.1.0":{"name":"ajv-merge-patch","version":"2.1.0","description":"$merge and $patch keywords for Ajv JSON-Schema validator to extend schemas","main":"index.js","scripts":{"eslint":"if-node-version '>=4' eslint index.js keywords spec","test":"npm run eslint && npm run test-cov","test-spec":"mocha spec/*.spec.js -R spec","test-cov":"istanbul cover -x '**/spec/**' node_modules/mocha/bin/_mocha -- spec/*.spec.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/epoberezkin/ajv-merge-patch.git"},"keywords":["JSON","schema","validator","validation","jsonschema","json-schema","json-schema-validator","json-schema-validation","$merge","$patch","keyword"],"author":{"name":"Evgeny Poberezkin"},"license":"MIT","bugs":{"url":"https://github.com/epoberezkin/ajv-merge-patch/issues"},"homepage":"https://github.com/epoberezkin/ajv-merge-patch#readme","dependencies":{"fast-json-patch":"^1.0.0","json-merge-patch":"^0.2.3"},"devDependencies":{"ajv":"^4.6.0","coveralls":"^2.11.12","eslint":"^3.3.0","if-node-version":"^1.0.0","istanbul":"^0.4.4","mocha":"^3.0.2","pre-commit":"^1.1.3"},"peerDependencies":{"ajv":">=4.6.0"},"gitHead":"046638359c5ef6b91d5383fb9d57aa2d89d1bfdf","_id":"ajv-merge-patch@2.1.0","_shasum":"8b4e0e1f70e868c6cd2739d4d68444a91ce5e9d7","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"esp","email":"e.poberezkin@me.com"},"maintainers":[{"name":"esp","email":"e.poberezkin@me.com"}],"dist":{"shasum":"8b4e0e1f70e868c6cd2739d4d68444a91ce5e9d7","tarball":"https://registry.npmjs.org/ajv-merge-patch/-/ajv-merge-patch-2.1.0.tgz","integrity":"sha512-joFIzhdT6TJLRkC58z4/umMgPxXogINu9NMWQzfGZjjr1hdRIUUvmQzbShxooc4D7xtggf8cgS0EOMKbTChOmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEqww9tKENplHB+fuAepDp4zbJkOmTh3fE6iSgVAeXLeAiEAkn+iMD4Q3FcB1TXLWZsiHh7JUzAyazYkuWaVBpdZVk8="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ajv-merge-patch-2.1.0.tgz_1480024700858_0.5472857437562197"},"directories":{}},"3.0.0-beta.0":{"name":"ajv-merge-patch","version":"3.0.0-beta.0","description":"$merge and $patch keywords for Ajv JSON-Schema validator to extend schemas","main":"index.js","scripts":{"eslint":"if-node-version '>=4' eslint index.js keywords spec","test":"npm run eslint && npm run test-cov","test-spec":"mocha spec/*.spec.js -R spec","test-cov":"istanbul cover -x '**/spec/**' node_modules/mocha/bin/_mocha -- spec/*.spec.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/epoberezkin/ajv-merge-patch.git"},"keywords":["JSON","schema","validator","validation","jsonschema","json-schema","json-schema-validator","json-schema-validation","$merge","$patch","keyword"],"author":{"name":"Evgeny Poberezkin"},"license":"MIT","bugs":{"url":"https://github.com/epoberezkin/ajv-merge-patch/issues"},"homepage":"https://github.com/epoberezkin/ajv-merge-patch#readme","dependencies":{"fast-json-patch":"^1.0.0","json-merge-patch":"^0.2.3"},"devDependencies":{"ajv":"^5.0.1-beta.0","coveralls":"^2.11.12","eslint":"^3.3.0","if-node-version":"^1.0.0","istanbul":"^0.4.4","mocha":"^3.0.2","pre-commit":"^1.1.3"},"peerDependencies":{"ajv":">=5.0.1-beta.0"},"gitHead":"64567f9df1086b7cb5aa66dbd30ad4dc01f731e1","_id":"ajv-merge-patch@3.0.0-beta.0","_shasum":"340b628b3cfc25398c8a8773ba6c41da0380463c","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.6.1","_npmUser":{"name":"esp","email":"e.poberezkin@me.com"},"maintainers":[{"name":"esp","email":"e.poberezkin@me.com"}],"dist":{"shasum":"340b628b3cfc25398c8a8773ba6c41da0380463c","tarball":"https://registry.npmjs.org/ajv-merge-patch/-/ajv-merge-patch-3.0.0-beta.0.tgz","integrity":"sha512-bgKSfp6d7D08rMlv0l1mnAktufFdFv2gZ1jrO9pTwN7ASYANRiMI9Ey7ydCeXsnQkburyeu7xK41UKpJ6Atd1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHnytZGVc7ubDfCNOWMy7y1RZFSz3MFZyo4PxvyZgS7NAiEAzlrThn+f7MxSt22CyZqifV5jaBjrj05OvzMO2H8a6cE="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ajv-merge-patch-3.0.0-beta.0.tgz_1483146256711_0.5234957823995501"},"directories":{}},"3.0.0":{"name":"ajv-merge-patch","version":"3.0.0","description":"$merge and $patch keywords for Ajv JSON-Schema validator to extend schemas","main":"index.js","scripts":{"eslint":"if-node-version '>=4' eslint index.js keywords spec","test":"npm run eslint && npm run test-cov","test-spec":"mocha spec/*.spec.js -R spec","test-cov":"istanbul cover -x '**/spec/**' node_modules/mocha/bin/_mocha -- spec/*.spec.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/epoberezkin/ajv-merge-patch.git"},"keywords":["JSON","schema","validator","validation","jsonschema","json-schema","json-schema-validator","json-schema-validation","$merge","$patch","keyword"],"author":{"name":"Evgeny Poberezkin"},"license":"MIT","bugs":{"url":"https://github.com/epoberezkin/ajv-merge-patch/issues"},"homepage":"https://github.com/epoberezkin/ajv-merge-patch#readme","dependencies":{"fast-json-patch":"^1.0.0","json-merge-patch":"^0.2.3"},"devDependencies":{"ajv":"^5.0.0","coveralls":"^2.11.12","eslint":"^3.3.0","if-node-version":"^1.0.0","istanbul":"^0.4.4","mocha":"^3.0.2","pre-commit":"^1.1.3"},"peerDependencies":{"ajv":">=5.0.0"},"gitHead":"d847ec318fad1ff7bad2a183e3329923fad8a70e","_id":"ajv-merge-patch@3.0.0","_shasum":"76f071e391f419fe9fe3fea7e920a1ad824b2b61","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.6.1","_npmUser":{"name":"esp","email":"e.poberezkin@me.com"},"maintainers":[{"name":"esp","email":"e.poberezkin@me.com"}],"dist":{"shasum":"76f071e391f419fe9fe3fea7e920a1ad824b2b61","tarball":"https://registry.npmjs.org/ajv-merge-patch/-/ajv-merge-patch-3.0.0.tgz","integrity":"sha512-WWs6EkAvOf0T52NYi6F/Zdpl1iJXC7Mk7b6bf/Cii7u4o3y0iHdGfIRl6kl9CqcFjM8WekpZimlhgCAAY3g0sg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqFt/NcruhGuO9n5KShWvRl8SwzwkU0JurpdYP8FHk4wIhAPcqlyPwcrOzzr5JNWfZMLRv60A6dLfWXPu8uKmCxE8k"}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/ajv-merge-patch-3.0.0.tgz_1492448593326_0.6504973154515028"},"directories":{}},"4.0.0":{"name":"ajv-merge-patch","version":"4.0.0","description":"$merge and $patch keywords for Ajv JSON-Schema validator to extend schemas","main":"index.js","scripts":{"eslint":"if-node-version '>=4' eslint index.js keywords spec","test":"npm run eslint && npm run test-cov","test-spec":"mocha spec/*.spec.js -R spec","test-cov":"istanbul cover -x '**/spec/**' node_modules/mocha/bin/_mocha -- spec/*.spec.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/epoberezkin/ajv-merge-patch.git"},"keywords":["JSON","schema","validator","validation","jsonschema","json-schema","json-schema-validator","json-schema-validation","$merge","$patch","keyword"],"author":{"name":"Evgeny Poberezkin"},"license":"MIT","bugs":{"url":"https://github.com/epoberezkin/ajv-merge-patch/issues"},"homepage":"https://github.com/epoberezkin/ajv-merge-patch#readme","dependencies":{"fast-json-patch":"^1.0.0","json-merge-patch":"^0.2.3"},"devDependencies":{"ajv":"^6.5.1","coveralls":"^2.11.12","eslint":"^3.3.0","if-node-version":"^1.0.0","istanbul":"^0.4.4","mocha":"^3.0.2","pre-commit":"^1.1.3"},"peerDependencies":{"ajv":">=6.0.0"},"gitHead":"40945564a977368807a6e808ea187e8a7bee0b1a","_id":"ajv-merge-patch@4.0.0","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"esp","email":"e.poberezkin@me.com"},"dist":{"integrity":"sha512-7qzkIRFpHHxw1yRumffVI6y14fzNFdKgcRcmNdvc8RjN3sat1ZhvZiz6mmlo/omEL+AuQi+4TuiD3ITJRLzhyQ==","shasum":"a5ae02fc3de195c883489d890001eb169e954f05","tarball":"https://registry.npmjs.org/ajv-merge-patch/-/ajv-merge-patch-4.0.0.tgz","fileCount":15,"unpackedSize":19116,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbMIlqCRA9TVsSAnZWagAAUqIP/AnaJGm0jz085dubzuQW\njm3sTqZt/SCzOZJE5DdakVFiL4TlmVvTFEfBtth+pKxMhSSnn5RwgrTjbjm/\njGtOG0IBv1FPn16NPGgndfsLmklU4MZbjWZehHS5skqXeS6gy6P0p/A5zLYW\nwqKKGITFP5CFFft6SYHzaOLf3MImX3HubDqBwc8UxD9nm6gIjkQWJ+xzUxCx\ndnk8pBWVqF/HAwmkcavWx93+IiTM0XmXzuLcWq+PPmfrKmvi9/nfDb9FFola\nzfVxdx8br7cUdayOVIBQOJiQXuI/5JER8zRL2isyQT7+5rpkjaM27jlUP6Hj\nk8XgU0bddtDmod+mdRpTsGeLvPXwF1PBysl/Y6/a9GyipFyPzbYnc4mdHCXk\n1PClaHO1v14sG+d+ZGwBqO3beEzUYNKk7A4XUSB14016dM9qcqxXuq7lGFOs\nir7hR6zmVL0lraMuhCVSpQ1KiQcTrfQ+KnKFEGkacdrU5qsFDBb6lDy1RrCk\nH8SgP5MHglt1r8F3x3ktYpSfnwMma1vQDrrpvN0r+eG8EjMHMZHJ8W1Px/Jk\nr7nmdDnmEaW/QowSsFQptCdmFVD8FIgJ48v5qewjBm4PnjJQeHO30IomXpFO\nJWbOl9ySFSsk2mM8QoDNRtwemSnhhU1TROqHCe1T9Zb3ug7jtw4mmk5xvX5m\nBeAG\r\n=uFxl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuyvloHyQXG1xBmUzUn68N3+tX+vNnKYIccyp043ohgAIhAMmHH2eW00MlWFwgdWP1beKbuuzA9sLN2G3uNedesqqX"}]},"maintainers":[{"name":"esp","email":"e.poberezkin@me.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ajv-merge-patch_4.0.0_1529907562818_0.337446693674589"},"_hasShrinkwrap":false},"4.1.0":{"name":"ajv-merge-patch","version":"4.1.0","description":"$merge and $patch keywords for Ajv JSON-Schema validator to extend schemas","main":"index.js","scripts":{"eslint":"if-node-version '>=4' eslint index.js keywords spec","test":"npm run eslint && npm run test-cov","test-spec":"mocha spec/*.spec.js -R spec","test-cov":"istanbul cover -x '**/spec/**' node_modules/mocha/bin/_mocha -- spec/*.spec.js -R spec"},"repository":{"type":"git","url":"git+https://github.com/epoberezkin/ajv-merge-patch.git"},"keywords":["JSON","schema","validator","validation","jsonschema","json-schema","json-schema-validator","json-schema-validation","$merge","$patch","keyword"],"author":{"name":"Evgeny Poberezkin"},"license":"MIT","bugs":{"url":"https://github.com/epoberezkin/ajv-merge-patch/issues"},"homepage":"https://github.com/epoberezkin/ajv-merge-patch#readme","dependencies":{"fast-json-patch":"^2.0.6","json-merge-patch":"^0.2.3"},"devDependencies":{"ajv":"^6.5.1","coveralls":"^2.11.12","eslint":"^3.3.0","if-node-version":"^1.0.0","istanbul":"^0.4.4","mocha":"^3.0.2","pre-commit":"^1.1.3"},"peerDependencies":{"ajv":">=6.0.0"},"gitHead":"d8c8c07d01a566408cc6391fab4498aee32532a0","_id":"ajv-merge-patch@4.1.0","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"esp","email":"e.poberezkin@me.com"},"dist":{"integrity":"sha512-0mAYXMSauA8RZ7r+B4+EAOYcZEcO9OK5EiQCR7W7Cv4E44pJj56ZnkKLJ9/PAcOc0dT+LlV9fdDcq2TxVJfOYw==","shasum":"cd580e5860ac53431d6aa901fa3d5e2eb2b74a6c","tarball":"https://registry.npmjs.org/ajv-merge-patch/-/ajv-merge-patch-4.1.0.tgz","fileCount":15,"unpackedSize":20322,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbMItNCRA9TVsSAnZWagAA2OcP/2SRw+O8+lbFLYh9hQ0r\nJnCxXaRafMMeiuY202qHb00raEA9p9V/UySZNRsF7WqMKi3zQ+tx4ueSIzu9\nXbHqZ7HS0NBPc/t/I/cpqbr0js7PlcExJILXiFAavVhN7y4zOt0KAkx3E0II\nd23XMBsf+4zZx99Lu+AClYP5fOQJ5LSu7oVyEKAEYwPTIYx66U9wU910DC1r\nondRPSL57/b70QqR1CfeFuV3sNhO47dll3CVXlEl3srjH0a4wbyacrP1hVYR\n9bImLxeUQejq+DEjdMmbYSOTsPGhB8c4yqaGAsZcqN2JbONezVBmAgs1bX9W\n/oGibVOG7RKQZXVX1NoLQgbER5+R0d2k5GoXiDaQ0ric3h7XaATD5wU0wvOo\nm8Oagn6cVKQ667e1B8n1wXBWJ4u2mII58J2m/Xy19Z/1tovZPH28QIux20cx\n2X+oXd5Y/XGgG71I/pVVL2wid9VCotcMDp9Q5XuWDkYsvRt2qp6vEtkI/Mxb\n4tGSDAy0lIBN1OPqkiRMtwbC5fBIcrDAZ1Op4MEkGL1FbrffCwx/g6Cwql2y\nRCgJP7dp1rTH247ymd9QwJwr3fxL5Aw9+eYT2RpCnsk+49xqcjSdSH/IHOAI\n7qCLGY9EcdIJP85Yxy9hTjPRWBMuQlsCFxRnSOqdO4TOKERyrHkHqaY9m+Ej\ntx7y\r\n=VRem\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDw+r0Muw+ymMISQFs+fPIQe+DCV6nyOfbtHbQ/cf5sBgIhAMVxFIKFbsHLb1FFjWWQSFZW0EOziNfvq2CCUX4QJBeo"}]},"maintainers":[{"name":"esp","email":"e.poberezkin@me.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ajv-merge-patch_4.1.0_1529908045698_0.08690463038348617"},"_hasShrinkwrap":false},"5.0.0":{"name":"ajv-merge-patch","version":"5.0.0","description":"$merge and $patch keywords for Ajv JSON-Schema validator to extend schemas","main":"index.js","scripts":{"eslint":"eslint index.js keywords spec","test":"npm run eslint && npm run test-cov","test-spec":"mocha spec/*.spec.js -R spec","test-cov":"nyc npm run test-spec"},"repository":{"type":"git","url":"git+https://github.com/ajv-validator/ajv-merge-patch.git"},"keywords":["JSON","schema","validator","validation","jsonschema","json-schema","json-schema-validator","json-schema-validation","$merge","$patch","keyword"],"author":{"name":"Evgeny Poberezkin"},"license":"MIT","bugs":{"url":"https://github.com/ajv-validator/ajv-merge-patch/issues"},"homepage":"https://github.com/ajv-validator/ajv-merge-patch#readme","dependencies":{"fast-json-patch":"^2.0.6","json-merge-patch":"^0.2.3"},"devDependencies":{"ajv":"^8.2.0","coveralls":"^3.1.1","eslint":"^7.8.1","mocha":"^9.0.3","nyc":"^15.1.0","pre-commit":"^1.1.3"},"peerDependencies":{"ajv":">=8.0.0"},"nyc":{"exclude":["**/spec/**","node_modules"],"reporter":["lcov","text-summary"]},"gitHead":"81901b9485b765d196e85adb378d15af4b683dd6","_id":"ajv-merge-patch@5.0.0","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-7L2xSQIRmoX/vWs0O10w+Q9uyJsUWNXqWVAS7nqQfSD8+RXy/TCAVd2vexQG4OLcRc3MtUKVzeQyqPk57Mf/tQ==","shasum":"930e9445677cd926e6840b1f7a809c9baa4e8acc","tarball":"https://registry.npmjs.org/ajv-merge-patch/-/ajv-merge-patch-5.0.0.tgz","fileCount":19,"unpackedSize":24934,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhBm4GCRA9TVsSAnZWagAAmpYP/R8y6ph9WI9l8B/xUT8L\nZk9nB4nq6eao5LOTcQcrKU6W7r0UW6qYePUqKErhOZMQACrvEXVJCk7pp9sP\nrdZ+1Gd0t6EA20Yi8ZjETJpaT/4bGOcU26shETFJGKcsoGFYWcQVZR3g8blS\nVdR3Cby7/wu3/20I6TT4lFqW7wnRbyi9r+jJjUQXI0Q9henDKTKzXVRhwMGo\n9aBlQBf/NhqI2L3F+e8owemZR9ITjGYtpPpkpcePqfT1pBndRQF0xFUX1IIZ\nTArNlmX9XrjHIYSBn8KPqBS+gPYsQVq1Ro+cf4y7d8Kif1zPih6Q+SyWP7Ly\ntsLqJxJuMS3R27tC8M8PQs/ds6rldL/kb3x1Ly4TAC2olsCzWuT6FWWnl7SZ\nHsQCqgwCGqM0JBq5FoMwoy5N3aZk98rjLJJLMUd6U8nQulO7IAq2ReW+AYan\nvSnsb8N0BxvvlBlyCdyDOOJ2dsURtDZ9xJVQ2bke2BY9JL7fgXcLKK5MD37y\noOIIWdk6WhSX0Ydq8K9PA9d6bgtQjLjesEH0NuArq8j8jJNokknSO+Ufm2Sm\ntcBWLywClTcHv0xATrOCtwXBkDdh334XetO2wjzx2iLIlk0l7bQaL25sJx6x\nObZasq54W/1tuiAC/Sq2EQVsqPzVBjh9Eq6pfYLnVyzPVvjXzL3Y4AC36pj4\n9BzU\r\n=LoDW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDO9iF4ybYi85qS7TBQ6NlumVfNe4QUwymypxwyCk542wIhANaFyiL0/GwxEGRIMkORPc8DlTrbPj1ZQhj4AIGhhnRb"}]},"_npmUser":{"name":"esp","email":"e.poberezkin@me.com"},"directories":{},"maintainers":[{"name":"esp","email":"e.poberezkin@me.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ajv-merge-patch_5.0.0_1627811334042_0.5640514439921946"},"_hasShrinkwrap":false},"5.0.1":{"name":"ajv-merge-patch","version":"5.0.1","description":"$merge and $patch keywords for Ajv JSON-Schema validator to extend schemas","main":"index.js","scripts":{"eslint":"eslint index.js keywords spec","test":"npm run eslint && npm run test-cov","test-spec":"mocha spec/*.spec.js -R spec","test-cov":"nyc npm run test-spec"},"repository":{"type":"git","url":"git+https://github.com/ajv-validator/ajv-merge-patch.git"},"keywords":["JSON","schema","validator","validation","jsonschema","json-schema","json-schema-validator","json-schema-validation","$merge","$patch","keyword"],"author":{"name":"Evgeny Poberezkin"},"license":"MIT","bugs":{"url":"https://github.com/ajv-validator/ajv-merge-patch/issues"},"homepage":"https://github.com/ajv-validator/ajv-merge-patch#readme","dependencies":{"fast-json-patch":"^2.0.6","json-merge-patch":"^1.0.2"},"devDependencies":{"ajv":"^8.2.0","coveralls":"^3.1.1","eslint":"^7.8.1","mocha":"^9.0.3","nyc":"^15.1.0","pre-commit":"^1.1.3"},"peerDependencies":{"ajv":">=8.0.0"},"nyc":{"exclude":["**/spec/**","node_modules"],"reporter":["lcov","text-summary"]},"gitHead":"0a4c44f7daa09c6d00ac4abe5ec10c7bc4f6b214","_id":"ajv-merge-patch@5.0.1","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-0UP3aJCzfzBOkmLR+EinJDCfg6DNtprj3bVPo7JJNgUpZMKt097t9xxQOWFGRoB4JvKKIHE2qe0HkVaS/HyrjQ==","shasum":"0aba921a2ea8632813478aa3d039d8134b58f876","tarball":"https://registry.npmjs.org/ajv-merge-patch/-/ajv-merge-patch-5.0.1.tgz","fileCount":19,"unpackedSize":24934,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhBnAmCRA9TVsSAnZWagAAFQ8P/iZKAQF0dVkZNCEDnUXK\nwKrtZmfZ95p+7T+fIR2V1ygYa2cv6sA1zMrI/HlVVobj/YIe+nptPRFhpzjC\nVfNqvocNnXgww4gm6xQVIDoF2IoH1qluKgzv8TeNBkfmHtFn7p1/lZsrS1Uq\nCRxKILpUx8tb4pjBeKtPr9DL8UG6MYmEE/AO4x8qUomx9d4yMsHfElHVb7rt\nw0fYlSw2yREDpU4OIpacTNDM1iHZsnfT9SNnQnAQ6ep5dqqIUpiUAURwUpfR\nVRwhsdZV0P1e1MhE5ttoWxmk4AtxMHq6GOblC+Gl1LJRDfYKKLhC475hJgG9\nvhgpJkETt+u1wlvJLt73U2D8B/gd7Ilu9wLWl1c0rqbZrJIsUltuF3GrWtWM\nGQLMA31iQtEKZ3nliaSIJ2PQ1f0wdrWEl/TmuYuYs9GcJlkWqbufir1tyGDI\nx22Ixxd9jjtl02doOdovYtxcFr9Lz6pJ8kGi4s1816VmUDrf+4KZq3tR/ExU\npuXghRQ3Z3QnMmhxzqgcELMYtlfhQJMikCV/q+iZ0yayxD5BPMyOOVOzcX5s\nucylUO/cKp9iQn6v3snZOlu0FUC248bZ+c8JkB7UFEB/dxzyoGhbOCIB9I7y\nxgytGd84TOJOp1I9ZTMExRYPHpsysE7XJ8D0sPPoGuXariANSulOgq9riJ5p\njrFm\r\n=rW9J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCf5/IkiMEuLe5Vf8mRPgcnWPtsnoymW7PjEO7VCVXKfQIgeMC8uAd8dpk1LbamcnUufNH8BNsJ7PbTk/Q0SqaeKLU="}]},"_npmUser":{"name":"esp","email":"e.poberezkin@me.com"},"directories":{},"maintainers":[{"name":"esp","email":"e.poberezkin@me.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ajv-merge-patch_5.0.1_1627811878365_0.4299196315698546"},"_hasShrinkwrap":false}},"readme":"# ajv-merge-patch\n\n$merge and $patch keywords for [Ajv JSON-Schema validator](https://github.com/epoberezkin/ajv) to extend JSON-schemas\n\n[![build](https://github.com/ajv-validator/ajv-merge-patch/actions/workflows/build.yml/badge.svg)](https://github.com/ajv-validator/ajv-merge-patch/actions/workflows/build.yml)\n[![npm version](https://badge.fury.io/js/ajv-merge-patch.svg)](https://www.npmjs.com/package/ajv-merge-patch)\n[![Coverage Status](https://coveralls.io/repos/github/epoberezkin/ajv-merge-patch/badge.svg?branch=master)](https://coveralls.io/github/epoberezkin/ajv-merge-patch?branch=master)\n\n\n## Problem solved\n\nThe keywords `$merge` and `$patch` allow to extend the JSON-schemas using patches in the format [JSON Merge Patch (RFC 7396)](https://tools.ietf.org/html/rfc7396) or [JSON Patch (RFC 6902)](https://tools.ietf.org/html/rfc6902).\n\n\nSchema extension is necessary if you want to add additional properties to the recursive schema (e.g. meta-schema). Consider this example:\n\nOriginal schema:\n\n```json\n{\n  \"id\": \"mySchema.json#\",\n  \"type\": \"object\",\n  \"properties\": {\n    \"foo\": { \"type\": \"string\" },\n    \"bar\": { \"$ref\": \"#\" }\n  },\n  \"additionalProperties\": false\n}\n```\n\nValid data: `{ foo: 'a' }`, `{ foo: 'a', bar: { foo: 'b' } }` etc.\n\nIf you want to define schema that would allow more properties, the only way to do it without `$merge` or `$patch` keywords is to copy-paste and edit the original schema.\n\nUsing `$merge` keyword you can create an extended schema in this way:\n\n```json\n{\n  \"id\": \"mySchemaExtended.json#\",\n  \"$merge\": {\n    \"source\": { \"$ref\": \"mySchema.json#\" },\n    \"with\": {\n      \"properties\": {\n        \"baz\": { \"type\": \"number\" }\n      }\n    }\n  }\n}\n```\n\nValid data: `{ foo: 'a', baz: 1 }`, `{ foo: 'a', baz: 1, bar: { foo: 'b', baz: 2 } }`, etc.\n\n`$merge` is implemented as a [custom macro keyword](https://github.com/epoberezkin/ajv/blob/master/CUSTOM.md#define-keyword-with-macro-function) using [json-merge-patch](https://github.com/pierreinglebert/json-merge-patch) package.\n\n\nThe same schema extension using `$patch` keyword:\n\n```json\n{\n  \"id\": \"mySchemaExtended.json#\",\n  \"$patch\": {\n    \"source\": { \"$ref\": \"mySchema.json#\" },\n    \"with\": [\n      {\n        \"op\": \"add\",\n        \"path\": \"/properties/baz\",\n        \"value\": { \"type\": \"number\" }\n      }\n    ]\n  }\n}\n```\n\n`$patch` is implemented as a [custom macro keyword](https://github.com/epoberezkin/ajv/blob/master/CUSTOM.md#define-keyword-with-macro-function) using [fast-json-patch](https://github.com/Starcounter-Jack/JSON-Patch) package.\n\n\nIn the majority of cases `$merge` format is easier to understand and to maintain. `$patch` can be used for extensions and changes that cannot be expressed using `$merge`, e.g. [Adding an array value](https://tools.ietf.org/html/rfc6902#page-18).\n\n`with` property in keywords can also be a reference to a part of some schema, in which case the resolved value will be used rather than the actual object with property `$ref`.\n\n__Please note__:\n\n1. In case the `source` schema or the patch in `with` keyword use `$ref`, they won't take into account the resolution scope for their internal $refs defined by the parent objects - they will be used as separate objects.\n2. `$ref` in both `source` schema and `with` patch take into account current $ref resolution scope (from version 2.0.0).\n\n\nSee also:\n- [v5 proposal](https://github.com/daveclayton/json-schema-validator/wiki/v5:-merge)\n- [$merge and $patch tests](https://github.com/epoberezkin/ajv-merge-patch/blob/master/spec)\n- [discussion in JSON-Schema-Org](https://github.com/json-schema-org/json-schema-spec/issues/15)\n\n\n## Usage with Ajv\n\nThese keywords are compatible with Ajv version >=5.1.0-beta.0.\n\nTo add these keywords to Ajv instance:\n\n```javascript\nvar Ajv = require('ajv');\nvar ajv = new Ajv();\nrequire('ajv-merge-patch')(ajv);\n```\n\n## Using in the browser\n\nYou can include these keywords in your code using browserify.\n\nTo include only `$merge` keyword:\n\n```javascript\nrequire('ajv-merge-patch/keywords/merge')(ajv);\n```\n\nTo include only `$patch` keyword:\n\n```javascript\nrequire('ajv-merge-patch/keywords/patch')(ajv);\n```\n\n## License\n\n[MIT](https://github.com/epoberezkin/ajv-merge-patch/blob/master/LICENSE)\n","maintainers":[{"name":"esp","email":"e.poberezkin@me.com"}],"time":{"modified":"2022-06-30T10:54:23.626Z","created":"2016-08-14T00:52:42.424Z","0.1.0":"2016-08-14T00:52:42.424Z","0.2.0":"2016-08-14T23:09:47.518Z","0.2.1":"2016-08-14T23:14:13.986Z","1.0.0":"2016-08-15T22:06:44.162Z","2.0.0":"2016-08-30T19:52:15.942Z","2.0.1":"2016-08-30T19:55:28.146Z","2.0.2":"2016-08-30T19:56:48.288Z","2.1.0":"2016-11-24T21:58:23.047Z","3.0.0-beta.0":"2016-12-31T01:04:18.759Z","3.0.0":"2017-04-17T17:03:14.123Z","4.0.0":"2018-06-25T06:19:22.887Z","4.1.0":"2018-06-25T06:27:25.768Z","5.0.0":"2021-08-01T09:48:54.187Z","5.0.1":"2021-08-01T09:57:58.471Z"},"homepage":"https://github.com/ajv-validator/ajv-merge-patch#readme","keywords":["JSON","schema","validator","validation","jsonschema","json-schema","json-schema-validator","json-schema-validation","$merge","$patch","keyword"],"repository":{"type":"git","url":"git+https://github.com/ajv-validator/ajv-merge-patch.git"},"author":{"name":"Evgeny Poberezkin"},"bugs":{"url":"https://github.com/ajv-validator/ajv-merge-patch/issues"},"license":"MIT","readmeFilename":"README.md","users":{"nelix":true}}