{"_id":"@alexkuz/json-schema-default-instance","_rev":"14-0c855f5920a783977c7070fe6b61560c","name":"@alexkuz/json-schema-default-instance","description":"Creates an object as an instance of the given schema using its default properties.","dist-tags":{"latest":"1.2.17"},"versions":{"1.2.0":{"name":"@alexkuz/json-schema-default-instance","version":"1.2.0","description":"Creates an object as an instance of the given schema using its default properties.","main":"index.js","scripts":{"test":"ava","prepublish":"tsc","pretest":"tsc"},"author":{"name":"Dan Casey","email":"dc181@icloud.com","url":"https://github.com/dancasey"},"contributors":[{"name":"Alexander","email":"alexkuz@gmail.com","url":"http://kuzya.org/"}],"license":"PDDL-1.0","dependencies":{"ajv":"^4.2.0","lodash":"^4.13.1","url":"^0.11.0"},"devDependencies":{"@types/lodash":"^4.14.37","@types/node":"^6.0.46","ava":"^0.16.0","typescript":"^2.0.0"},"typings":"dist/instantiator.d.ts","homepage":"https://github.com/dancasey/json-schema-default-instance#readme","bugs":{"url":"https://github.com/dancasey/json-schema-default-instance/issues"},"repository":{"type":"git","url":"git+https://github.com/dancasey/json-schema-default-instance.git"},"keywords":["schema","json"],"ava":{"files":["dist/test.js"],"require":["babel-register"],"verbose":true},"babel":{"presets":["es2015"]},"engines":{"node":">=4"},"gitHead":"eda46c5bf7e1e5a806bd11522ec6c524a86d6eef","_id":"@alexkuz/json-schema-default-instance@1.2.0","_shasum":"a708dd7ab6f0b70fb6fe1679da2a17c07f7fa4b7","_from":".","_npmVersion":"4.0.2","_nodeVersion":"6.9.1","_npmUser":{"name":"alexkuz","email":"alexkuz@gmail.com"},"maintainers":[{"name":"alexkuz","email":"alexkuz@gmail.com"}],"dist":{"shasum":"a708dd7ab6f0b70fb6fe1679da2a17c07f7fa4b7","tarball":"https://registry.npmjs.org/@alexkuz/json-schema-default-instance/-/json-schema-default-instance-1.2.0.tgz","integrity":"sha512-T6vzEuKX2os6SY4KC/bWBExCQo8lOfX63DP5LTisZE+Z4ZRISLKoJY9UOrsWTVwLS7ZMlZG9Fb3ZegPVCE8dQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFdWo7By6I0OG1YY0MyufE+mTmZDXdxD2XB9tKsgxOYQIhAO+/aYF4m1WPECqXtmtJjzuZMoBeu1KXEHEUW2uftRQY"}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/json-schema-default-instance-1.2.0.tgz_1482763044843_0.10569241107441485"},"directories":{}},"1.2.2":{"name":"@alexkuz/json-schema-default-instance","version":"1.2.2","description":"Creates an object as an instance of the given schema using its default properties.","main":"index.js","scripts":{"test":"ava","prepublish":"tsc","pretest":"tsc"},"author":{"name":"Dan Casey","email":"dc181@icloud.com","url":"https://github.com/dancasey"},"contributors":[{"name":"Alexander","email":"alexkuz@gmail.com","url":"http://kuzya.org/"}],"license":"PDDL-1.0","dependencies":{"ajv":"^4.2.0","lodash":"^4.13.1","url":"^0.11.0"},"devDependencies":{"@types/lodash":"^4.14.37","@types/node":"^6.0.46","ava":"^0.16.0","typescript":"^2.0.0"},"typings":"dist/instantiator.d.ts","homepage":"https://github.com/dancasey/json-schema-default-instance#readme","bugs":{"url":"https://github.com/dancasey/json-schema-default-instance/issues"},"repository":{"type":"git","url":"git+https://github.com/dancasey/json-schema-default-instance.git"},"keywords":["schema","json"],"ava":{"files":["dist/test.js"],"require":["babel-register"],"verbose":true},"babel":{"presets":["es2015"]},"engines":{"node":">=4"},"gitHead":"eda46c5bf7e1e5a806bd11522ec6c524a86d6eef","_id":"@alexkuz/json-schema-default-instance@1.2.2","_shasum":"49e2d6146238261d6833dc1f0c7002b3a97880ff","_from":".","_npmVersion":"4.0.2","_nodeVersion":"6.9.1","_npmUser":{"name":"alexkuz","email":"alexkuz@gmail.com"},"maintainers":[{"name":"alexkuz","email":"alexkuz@gmail.com"}],"dist":{"shasum":"49e2d6146238261d6833dc1f0c7002b3a97880ff","tarball":"https://registry.npmjs.org/@alexkuz/json-schema-default-instance/-/json-schema-default-instance-1.2.2.tgz","integrity":"sha512-NHaAWn1o2Nao15LV00NtJX68TyOX+1Xdqg4SvNGwdqfNO5s0TnV5VZU1fc71C7fTeoDd+64JPDsIio3cxRN0fg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGaroUmaPp6rYjXI0woNomv5riiVbY0iQnQtqm+MXHheAiBLvrZN8sTv6A/HR94sudFgnpAjFnPS7V5XlWbWaOLwsA=="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/json-schema-default-instance-1.2.2.tgz_1482936880160_0.21903410414233804"},"directories":{}},"1.2.7":{"name":"@alexkuz/json-schema-default-instance","version":"1.2.7","description":"Creates an object as an instance of the given schema using its default properties.","main":"index.js","scripts":{"test":"ava","prepublish":"tsc","pretest":"tsc"},"author":{"name":"Dan Casey","email":"dc181@icloud.com","url":"https://github.com/dancasey"},"contributors":[{"name":"Alexander","email":"alexkuz@gmail.com","url":"http://kuzya.org/"}],"license":"PDDL-1.0","dependencies":{"ajv":"^4.10.3","lodash":"^4.13.1","url":"^0.11.0"},"devDependencies":{"@types/lodash":"^4.14.37","@types/node":"^6.0.46","ava":"^0.16.0","typescript":"^2.0.0"},"typings":"dist/instantiator.d.ts","homepage":"https://github.com/dancasey/json-schema-default-instance#readme","bugs":{"url":"https://github.com/dancasey/json-schema-default-instance/issues"},"repository":{"type":"git","url":"git+https://github.com/dancasey/json-schema-default-instance.git"},"keywords":["schema","json"],"ava":{"files":["dist/test.js"],"require":["babel-register"],"verbose":true},"babel":{"presets":["es2015"]},"engines":{"node":">=4"},"gitHead":"eda46c5bf7e1e5a806bd11522ec6c524a86d6eef","_id":"@alexkuz/json-schema-default-instance@1.2.7","_shasum":"511789014a9f097357ab6112c612832a7bb7b0a4","_from":".","_npmVersion":"4.0.2","_nodeVersion":"6.9.1","_npmUser":{"name":"alexkuz","email":"alexkuz@gmail.com"},"maintainers":[{"name":"alexkuz","email":"alexkuz@gmail.com"}],"dist":{"shasum":"511789014a9f097357ab6112c612832a7bb7b0a4","tarball":"https://registry.npmjs.org/@alexkuz/json-schema-default-instance/-/json-schema-default-instance-1.2.7.tgz","integrity":"sha512-F+wnumLH3NHQX48UE8eNrcLKJlpuBPtb99TmzUPd/ZTIi11YsIMIQYT5tncu8sgQjs6MdI5xKZc30H+fhOvv1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDqpBqWvMMer2FXk3fRRTq0vM11WQOIK0YciSdFukMnLAiEAiAmiTNxeUMsqIWqKCSHVJTTK4EDtwU7BAfaUUD7XYoM="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/json-schema-default-instance-1.2.7.tgz_1484131833586_0.9160964775364846"},"directories":{}},"1.2.8":{"name":"@alexkuz/json-schema-default-instance","version":"1.2.8","description":"Creates an object as an instance of the given schema using its default properties.","main":"index.js","scripts":{"test":"ava","prepublish":"tsc","pretest":"tsc"},"author":{"name":"Dan Casey","email":"dc181@icloud.com","url":"https://github.com/dancasey"},"contributors":[{"name":"Alexander","email":"alexkuz@gmail.com","url":"http://kuzya.org/"}],"license":"PDDL-1.0","dependencies":{"lodash":"^4.13.1","url":"^0.11.0"},"devDependencies":{"ajv":"^4.10.3","@types/lodash":"^4.14.37","@types/node":"^6.0.46","ava":"^0.16.0","typescript":"^2.0.0"},"typings":"dist/instantiator.d.ts","homepage":"https://github.com/dancasey/json-schema-default-instance#readme","bugs":{"url":"https://github.com/dancasey/json-schema-default-instance/issues"},"repository":{"type":"git","url":"git+https://github.com/dancasey/json-schema-default-instance.git"},"keywords":["schema","json"],"ava":{"files":["dist/test.js"],"require":["babel-register"],"verbose":true},"babel":{"presets":["es2015"]},"engines":{"node":">=4"},"gitHead":"eda46c5bf7e1e5a806bd11522ec6c524a86d6eef","_id":"@alexkuz/json-schema-default-instance@1.2.8","_shasum":"9f654bef0239abe0ce5c99da9e6b956a462a8f39","_from":".","_npmVersion":"4.0.2","_nodeVersion":"6.9.1","_npmUser":{"name":"alexkuz","email":"alexkuz@gmail.com"},"maintainers":[{"name":"alexkuz","email":"alexkuz@gmail.com"}],"dist":{"shasum":"9f654bef0239abe0ce5c99da9e6b956a462a8f39","tarball":"https://registry.npmjs.org/@alexkuz/json-schema-default-instance/-/json-schema-default-instance-1.2.8.tgz","integrity":"sha512-5nEcKo7lLMDwhXDMElDZ3VOF/c0/5u+wyXP8yVLXq8HXj1IDVRIgkiio3HzV/jct9Mn2TYPVIN6IIcZTaBudwg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcqiOT+q26SjJcwHxn5QvkCLhlBEJzYr0dRFiqhc83OgIgUi3XvXVj7e5QhWuxli7j0ZNXnMOTFd1SR+ejFxP6eqU="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/json-schema-default-instance-1.2.8.tgz_1484239379637_0.12476970977149904"},"directories":{}},"1.2.9":{"name":"@alexkuz/json-schema-default-instance","version":"1.2.9","description":"Creates an object as an instance of the given schema using its default properties.","main":"index.js","scripts":{"test":"ava","prepublish":"tsc","pretest":"tsc"},"author":{"name":"Dan Casey","email":"dc181@icloud.com","url":"https://github.com/dancasey"},"contributors":[{"name":"Alexander","email":"alexkuz@gmail.com","url":"http://kuzya.org/"}],"license":"PDDL-1.0","dependencies":{"lodash":"^4.13.1","url":"^0.11.0"},"devDependencies":{"ajv":"^4.10.3","@types/lodash":"^4.14.37","@types/node":"^6.0.46","ava":"^0.16.0","typescript":"^2.0.0"},"typings":"dist/instantiator.d.ts","homepage":"https://github.com/dancasey/json-schema-default-instance#readme","bugs":{"url":"https://github.com/dancasey/json-schema-default-instance/issues"},"repository":{"type":"git","url":"git+https://github.com/dancasey/json-schema-default-instance.git"},"keywords":["schema","json"],"ava":{"files":["dist/test.js"],"require":["babel-register"],"verbose":true},"babel":{"presets":["es2015"]},"engines":{"node":">=4"},"gitHead":"d6bcf610e5f5db6a8efd445f59b4351cd8837fd6","_id":"@alexkuz/json-schema-default-instance@1.2.9","_shasum":"9fc08ef24531f1b4366a4ab69a02f8ec9b1387d6","_from":".","_npmVersion":"4.0.2","_nodeVersion":"6.9.1","_npmUser":{"name":"alexkuz","email":"alexkuz@gmail.com"},"maintainers":[{"name":"alexkuz","email":"alexkuz@gmail.com"}],"dist":{"shasum":"9fc08ef24531f1b4366a4ab69a02f8ec9b1387d6","tarball":"https://registry.npmjs.org/@alexkuz/json-schema-default-instance/-/json-schema-default-instance-1.2.9.tgz","integrity":"sha512-pCVVNuDubLq0wyzZS3Awi5U9ixpbNce6exCh+hNAqu11OJnaYwjUIeKXmVIlkqHOXu5L4edb4RQ4XbUM/+yqIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEhIqFCcetJKri4jhNap1jkP3Lsla0B5g5pJKOJhaa9aAiEA9VpYr6WFiuO9dmdo3lR9CxBPYh3sozMntiBfnXvI0Ek="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/json-schema-default-instance-1.2.9.tgz_1484308227703_0.31941909482702613"},"directories":{}},"1.2.12":{"name":"@alexkuz/json-schema-default-instance","version":"1.2.12","description":"Creates an object as an instance of the given schema using its default properties.","main":"index.js","scripts":{"test":"ava","prepublish":"tsc","pretest":"tsc"},"author":{"name":"Dan Casey","email":"dc181@icloud.com","url":"https://github.com/dancasey"},"contributors":[{"name":"Alexander","email":"alexkuz@gmail.com","url":"http://kuzya.org/"}],"license":"PDDL-1.0","dependencies":{"lodash":"^4.13.1","url":"^0.11.0"},"devDependencies":{"ajv":"^4.10.3","@types/lodash":"^4.14.37","@types/node":"^6.0.46","ava":"^0.16.0","typescript":"^2.0.0"},"typings":"dist/instantiator.d.ts","homepage":"https://github.com/dancasey/json-schema-default-instance#readme","bugs":{"url":"https://github.com/dancasey/json-schema-default-instance/issues"},"repository":{"type":"git","url":"git+https://github.com/dancasey/json-schema-default-instance.git"},"keywords":["schema","json"],"ava":{"files":["dist/test.js"],"require":["babel-register"],"verbose":true},"babel":{"presets":["es2015"]},"engines":{"node":">=4"},"gitHead":"3b676b721a50d9da878edf5eca875f1aaf7bf68a","_id":"@alexkuz/json-schema-default-instance@1.2.12","_shasum":"ed09f0410b99005d33907ee35787b3ec2d43b5e3","_from":".","_npmVersion":"4.0.2","_nodeVersion":"6.9.1","_npmUser":{"name":"alexkuz","email":"alexkuz@gmail.com"},"maintainers":[{"name":"alexkuz","email":"alexkuz@gmail.com"}],"dist":{"shasum":"ed09f0410b99005d33907ee35787b3ec2d43b5e3","tarball":"https://registry.npmjs.org/@alexkuz/json-schema-default-instance/-/json-schema-default-instance-1.2.12.tgz","integrity":"sha512-bWLd7eKCzqgEHHt6yAyIQAN3kO7DrchS/SUnCdft6f1JGJ8nkfYUiQBJ8xStxzbyEe8dYwPsUStYxALGwWK4gw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHmut0k+Tt5D8NEaJTe17uiR+pzJvN4q/aPUgQc1BjZBAiBBU+BkZ+fgHJnf6kKIVZK7ZvJ1NOeGsJUPt27rlBl/tw=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/json-schema-default-instance-1.2.12.tgz_1485533214892_0.9900949688162655"},"directories":{}},"1.2.13":{"name":"@alexkuz/json-schema-default-instance","version":"1.2.13","description":"Creates an object as an instance of the given schema using its default properties.","main":"index.js","scripts":{"test":"ava","prepublish":"tsc","pretest":"tsc"},"author":{"name":"Dan Casey","email":"dc181@icloud.com","url":"https://github.com/dancasey"},"contributors":[{"name":"Alexander","email":"alexkuz@gmail.com","url":"http://kuzya.org/"}],"license":"PDDL-1.0","dependencies":{"lodash":"^4.13.1","url":"^0.11.0"},"devDependencies":{"ajv":"^4.10.3","@types/lodash":"^4.14.37","@types/node":"^6.0.46","ava":"^0.16.0","typescript":"^2.0.0"},"typings":"dist/instantiator.d.ts","homepage":"https://github.com/dancasey/json-schema-default-instance#readme","bugs":{"url":"https://github.com/dancasey/json-schema-default-instance/issues"},"repository":{"type":"git","url":"git+https://github.com/dancasey/json-schema-default-instance.git"},"keywords":["schema","json"],"ava":{"files":["dist/test.js"],"require":["babel-register"],"verbose":true},"babel":{"presets":["es2015"]},"engines":{"node":">=4"},"gitHead":"3b676b721a50d9da878edf5eca875f1aaf7bf68a","_id":"@alexkuz/json-schema-default-instance@1.2.13","_shasum":"d05ab85937d83bd3945f39a9efd5c64d172b565e","_from":".","_npmVersion":"4.0.2","_nodeVersion":"6.9.1","_npmUser":{"name":"alexkuz","email":"alexkuz@gmail.com"},"maintainers":[{"name":"alexkuz","email":"alexkuz@gmail.com"}],"dist":{"shasum":"d05ab85937d83bd3945f39a9efd5c64d172b565e","tarball":"https://registry.npmjs.org/@alexkuz/json-schema-default-instance/-/json-schema-default-instance-1.2.13.tgz","integrity":"sha512-5kM6BItBbTvMPFOmPZyUDy+ca1eKor5aahhxdsklNFxgZdXLR3R9AErkfGVC76ZIFIE3eeAV8w69fwjzmaCRjw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBEAY6koR0eovG/kaEGTogcFGoJklEm7zwbXcC8ZtjsAAiEA750K7tHJcgIxftixm92JYBc5CIYRc2nnXWCNeXasuGg="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/json-schema-default-instance-1.2.13.tgz_1485534200677_0.84566650679335"},"directories":{}},"1.2.14":{"name":"@alexkuz/json-schema-default-instance","version":"1.2.14","description":"Creates an object as an instance of the given schema using its default properties.","main":"index.js","scripts":{"test":"ava","prepublish":"tsc","pretest":"tsc"},"author":{"name":"Dan Casey","email":"dc181@icloud.com","url":"https://github.com/dancasey"},"contributors":[{"name":"Alexander","email":"alexkuz@gmail.com","url":"http://kuzya.org/"}],"license":"PDDL-1.0","dependencies":{"lodash":"^4.17.11","url":"^0.11.0"},"devDependencies":{"@types/lodash":"^4.14.123","@types/node":"^6.0.46","ajv":"^6.10.0","ava":"^0.16.0","prettier":"^1.16.4","tslint":"^5.15.0","tslint-config-prettier":"^1.18.0","tslint-react":"^4.0.0","typescript":"3.1.6"},"typings":"dist/instantiator.d.ts","homepage":"https://github.com/dancasey/json-schema-default-instance#readme","bugs":{"url":"https://github.com/dancasey/json-schema-default-instance/issues"},"repository":{"type":"git","url":"git+https://github.com/dancasey/json-schema-default-instance.git"},"keywords":["schema","json"],"ava":{"files":["dist/test.js"],"require":["babel-register"],"verbose":true},"babel":{"presets":["es2015"]},"engines":{"node":">=4"},"gitHead":"c2601a7270e04bbe27e50f78d39b6359351d4d6a","_id":"@alexkuz/json-schema-default-instance@1.2.14","_npmVersion":"6.5.0","_nodeVersion":"9.11.2","_npmUser":{"name":"alexkuz","email":"alexkuz@gmail.com"},"dist":{"integrity":"sha512-Et+QxLWPePFwHgeQGdAhvfuU9ivbm1UiNnlOj4qZtvPnjH6f9lzVFlhklwsUN7in9cj7WsTAc5fT7xpgN5Hbvg==","shasum":"8aeeadb2127c49dbfe7d785612c6e4c67dfc9529","tarball":"https://registry.npmjs.org/@alexkuz/json-schema-default-instance/-/json-schema-default-instance-1.2.14.tgz","fileCount":14,"unpackedSize":193791,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpOFbCRA9TVsSAnZWagAAemsP/2o+FFnjfZyIVmZ7PM5/\n7fpG4hXCaVpBTF4NsKMN7EiXGY27g3Qqni9TvqJ+ywnISUj79gcPMnHDjeEs\nm6DAS7DScDaiqhXN6IGVtSyiKMUDY+R09t2QtZsKsbRWui5N9QWxyx4uZJ+T\n9ZC0SdofVeIAu+j55n4iz7/a0kIO04HUBaFJ/yB/BJw5491DvpZ37/7gzlKV\nbiLKiUk8L2z1rwHXmR8TSIQFyr8YauU71jarKE+u4HvvBKg9aZQMmv78lknB\nIhqK5oEU7hiDdx4SiS4IggUNyT4Nu7nAOXtxY/IsaWtrpEYLOD0WfFBZH4pd\n7g4Dh3D6g6DCkzcrhiV9kzTK+9+i6UUu4aByr6EOckVGwbcDIDwFYqAICdbm\nCsnZ+VrN4X+QT4gnyF6q0WX9xJ0z1P0Ge9AetjwmvpaiGlFRhPULRT4vO8sE\nob1ZGs5R6udoFViVVnPWJaTWKzhRIIjExYVwakKnqwoPGpiCpworOEc9M7mp\nHGLCZ/VQ/a1eIoh7HWvFLvZZlF9C1gGNl10xDnsh9tVdiMwB0vhZs6F54fu7\ntnxQSmqeCBvXImZ37jYgLzpkUdSpCaLLNzSZbFRI3VjyKZ5UjhbTKShonqJq\nf6r5TUaj+D/eioKiLNGF0Gp3JHS+s59p9bc+QmZnejSzQ5XRza7Uy7LgCu97\n6Qk5\r\n=riz2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF1DMSswb1cJY0zLw2+QyWaJ+E0zDQesB1KREn6yZrXfAiAgnOlYeapHfmWVS1gzGqhfCcD2MUBdb8PK9u4vFjtvoQ=="}]},"maintainers":[{"name":"alexkuz","email":"alexkuz@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-schema-default-instance_1.2.14_1554309466720_0.7656159222790848"},"_hasShrinkwrap":false},"1.2.15":{"name":"@alexkuz/json-schema-default-instance","version":"1.2.15","description":"Creates an object as an instance of the given schema using its default properties.","main":"index.js","scripts":{"test":"ava","prepublish":"tsc","pretest":"tsc"},"author":{"name":"Dan Casey","email":"dc181@icloud.com","url":"https://github.com/dancasey"},"contributors":[{"name":"Alexander","email":"alexkuz@gmail.com","url":"http://kuzya.org/"}],"license":"PDDL-1.0","dependencies":{"lodash":"^4.17.11","url":"^0.11.0"},"devDependencies":{"@types/lodash":"^4.14.123","@types/node":"^6.0.46","ajv":"^6.10.0","ava":"^0.16.0","prettier":"^1.16.4","tslint":"^5.15.0","tslint-config-prettier":"^1.18.0","tslint-react":"^4.0.0","typescript":"3.1.6"},"typings":"dist/instantiator.d.ts","homepage":"https://github.com/dancasey/json-schema-default-instance#readme","bugs":{"url":"https://github.com/dancasey/json-schema-default-instance/issues"},"repository":{"type":"git","url":"git+https://github.com/dancasey/json-schema-default-instance.git"},"keywords":["schema","json"],"ava":{"files":["dist/test.js"],"require":["babel-register"],"verbose":true},"babel":{"presets":["es2015"]},"engines":{"node":">=4"},"gitHead":"5a5c87a8017ed6d0cfb5f46680f963e778ec421c","_id":"@alexkuz/json-schema-default-instance@1.2.15","_nodeVersion":"12.8.1","_npmVersion":"6.9.0","_npmUser":{"name":"alexkuz","email":"alexkuz@gmail.com"},"dist":{"integrity":"sha512-0ciORX5BVp6OXtVAEjfWoXnrKYQg47E3R52Zg1deC2iFvHxLGdjA/4rlR5YcVkRrCQc41y0GXWbQOx6u/ZfJ3Q==","shasum":"5a4c376304847f1c2f85b43babcc6a8007ecd271","tarball":"https://registry.npmjs.org/@alexkuz/json-schema-default-instance/-/json-schema-default-instance-1.2.15.tgz","fileCount":13,"unpackedSize":48815,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnH6xCRA9TVsSAnZWagAAmhcP/AiywO7kBwDMG5PB8crb\nvKEAK/56Fk7AD1rP0uqGEL6UKwxPmZyXO+0wtHefvxKqFfUZpQSYbye6DtwJ\nvz+gFooc1wquj7cF9z9dCdEXO1ydmpG3spdc6QwWXXvACnByXhOi+F0l+aKz\n0rkSHq41B4IHOvW63X3uKSH1NES9/TrKTkfd5hqJiLoFk0io1mVvuMjc5RUv\n/7AmzwkpWv/YBrLxzh/QEXXO2ET5qlbTsoaGxj1RjPtpFLCGG+c/NhBcno97\nvRsw81ZpQ4fdUaDS5aRZnY0nAajrT+o+SuSdwhCvyOxfdsLLaV3hdwxns3z5\niA2jMqHmR5rS4Hvf8CzU/QVwsQLb679tZFlN/ZICFCuaucoON/uh3RhaO4kZ\n2+Ipr7EpKf4m9+HRLMAGa12g6vBLxdBkj7HeCldlJ8CNGtNDtJmB7AfwpZVf\nhqvWM18O9gv75a8x4jxOE1RgO+YOogHHvzIyi7tzMf2u6wQDIKJZfwPJrbA0\n22vilYuRpvL6nXb2ZVOwO2M0kdo+JHvX2LxipiNDWIg+LEpcMOb/23zb/X8H\njiNtE/IMuLkSxMBdCTnsDcN0EPI1/fvjXNaYYTiZWhTC4etv63+t5/O4q+jn\ns7GVzAVC+AE2asZ4Ci/N/ds5YwXQ/aEcT0o8Q2Sj6dPAdMC0CID6x6E7lnNU\nZEGX\r\n=PMZP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHC/BFgJphMtX6vTZ6j3iRLTPHLwZHMxsZL1dE4R8PLMAiEA/M+qQuoCyRnY/V5GzJu8Y/qbsO7rK3wQtoFG7aFliGw="}]},"maintainers":[{"name":"alexkuz","email":"alexkuz@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-schema-default-instance_1.2.15_1570537136637_0.2629970116275282"},"_hasShrinkwrap":false},"1.2.16":{"name":"@alexkuz/json-schema-default-instance","version":"1.2.16","description":"Creates an object as an instance of the given schema using its default properties.","main":"index.js","scripts":{"test":"ava","prepublish":"tsc","pretest":"tsc"},"author":{"name":"Dan Casey","email":"dc181@icloud.com","url":"https://github.com/dancasey"},"contributors":[{"name":"Alexander","email":"alexkuz@gmail.com","url":"http://kuzya.org/"}],"license":"PDDL-1.0","dependencies":{"lodash":"^4.17.11","url":"^0.11.0"},"devDependencies":{"@types/lodash":"^4.14.123","@types/node":"^6.0.46","ajv":"^6.10.0","ava":"^0.16.0","prettier":"^1.16.4","tslint":"^5.15.0","tslint-config-prettier":"^1.18.0","tslint-react":"^4.0.0","typescript":"3.1.6"},"typings":"dist/instantiator.d.ts","homepage":"https://github.com/dancasey/json-schema-default-instance#readme","bugs":{"url":"https://github.com/dancasey/json-schema-default-instance/issues"},"repository":{"type":"git","url":"git+https://github.com/dancasey/json-schema-default-instance.git"},"keywords":["schema","json"],"ava":{"files":["dist/test.js"],"require":["babel-register"],"verbose":true},"babel":{"presets":["es2015"]},"engines":{"node":">=4"},"gitHead":"dce36863d27f0eed0205de9d8ddc2a7286527b60","_id":"@alexkuz/json-schema-default-instance@1.2.16","_nodeVersion":"12.14.1","_npmVersion":"6.9.0","_npmUser":{"name":"alexkuz","email":"alexkuz@gmail.com"},"dist":{"integrity":"sha512-z/iy4KqYKfAAJaB7BhsNEeRyLPrxT6u8ZG9AO6ndrCVQYSF4/KznjMXok/kGtSpMN3Ahlfh2gMMA3wrFjJJjig==","shasum":"a0942fd291f0e664e2dd74c315991cb5d5214e01","tarball":"https://registry.npmjs.org/@alexkuz/json-schema-default-instance/-/json-schema-default-instance-1.2.16.tgz","fileCount":13,"unpackedSize":50590,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeMXoDCRA9TVsSAnZWagAAZlIP/iw3Q38/UBIIff4GhOvC\nC9FCUTZrMIJvgWp+3F0k6LESqrBXF2b8vVppoTlDydBQCKYt+MkSjUdOIe6x\nr9d+BoDHVPD5q8WCsdcw2Dw4B6jcJyRPWfzLHRwTtFGP+Tk5A6Yo7mQ1wRie\nwZkovIuWwlOiHLfAy7ef+jGVn37eMxiWYBJKhWATNETrGu0zjn+8L1X/T6UY\nB9MULgIipMR72H6t18SDkFmnOTZj3CrnB00pEZURnl/HZMUGNRUHHKauaZ0T\n3NiSrQ3H/qYJ0vym92vfA4vV8citWzCMTCOri2OTZD9ETTqPDkSh5Th52DCt\nOhy8xf9/S878InuqGhPjrhxRpC/2B6rbwyANQK4VGOBazPsoAXSFWfio4XbT\nFcPx4dSOxpZ/V8IX/2S3yBSSdiSbrmEKwpLQJHeehT2dijfKL2h0yn8QHjkF\nagL7G2m4NNzM0GKOx7XhfsFss6S3vxIU8k7OA0UB398SfNlqTlYq9m/7C8ju\ncNx0BVQZv9Ho4qQB16UzBRgtNw+IxhRWqy/6lR6/hIovgoj19xdr+PAz4Edx\nJLeZ4lPfhmseXjUJZzu2ythHZS1xfTymj5P4Rky5gi8ltOe069hWgknt7E2W\nDqKSWdJ/IIuM3QJPetCK4iPT7RgwBoKO7iOvc8hLS6kVmG5G6IsB2tG9RcpF\nbBHQ\r\n=1owO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCU5zKySBYmb9Kku/Nj3TxKRToIgakSL3gOgvmzq/uh+gIhALMo5354DfRCN7M/mJ3Lgr68Fo1qdhvlIEotfr7RblVS"}]},"maintainers":[{"name":"alexkuz","email":"alexkuz@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-schema-default-instance_1.2.16_1580300802581_0.848402631141318"},"_hasShrinkwrap":false},"1.2.17":{"name":"@alexkuz/json-schema-default-instance","version":"1.2.17","description":"Creates an object as an instance of the given schema using its default properties.","main":"index.js","scripts":{"test":"ava","prepublish":"tsc","pretest":"tsc"},"author":{"name":"Dan Casey","email":"dc181@icloud.com","url":"https://github.com/dancasey"},"contributors":[{"name":"Alexander","email":"alexkuz@gmail.com","url":"http://kuzya.org/"}],"license":"PDDL-1.0","dependencies":{"lodash":"^4.17.11","url":"^0.11.0"},"devDependencies":{"@types/lodash":"^4.14.123","@types/node":"^6.0.46","ajv":"^6.10.0","ava":"^0.16.0","prettier":"^1.16.4","tslint":"^5.15.0","tslint-config-prettier":"^1.18.0","tslint-react":"^4.0.0","typescript":"3.1.6"},"typings":"dist/instantiator.d.ts","homepage":"https://github.com/dancasey/json-schema-default-instance#readme","bugs":{"url":"https://github.com/dancasey/json-schema-default-instance/issues"},"repository":{"type":"git","url":"git+https://github.com/dancasey/json-schema-default-instance.git"},"keywords":["schema","json"],"ava":{"files":["dist/test.js"],"require":["babel-register"],"verbose":true},"babel":{"presets":["es2015"]},"engines":{"node":">=4"},"gitHead":"bbced05e5305531d76bfa3c29401294fcc0d24fe","_id":"@alexkuz/json-schema-default-instance@1.2.17","_nodeVersion":"12.14.1","_npmVersion":"6.9.0","_npmUser":{"name":"alexkuz","email":"alexkuz@gmail.com"},"dist":{"integrity":"sha512-XdU1Ffrr7PTwY6gnKLFbOA4e++97qnr4mZE8zF4WF5WgIS4KHSOZe7UiD/Wbu8NTlkJIrYheIhax5BwFcZPeYg==","shasum":"26fc17d74d19cb442d92a2d48f85a1cda85d0da6","tarball":"https://registry.npmjs.org/@alexkuz/json-schema-default-instance/-/json-schema-default-instance-1.2.17.tgz","fileCount":13,"unpackedSize":55533,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeNFCkCRA9TVsSAnZWagAAdlcP/2d1x8epIIul6myEBfvv\nc8zosl6ydIPL+RYiBEiSBNvw3AzpR3H7lDinswkLXuTjqvftnKLJ9NfVDMq9\nOdTcAKtyHYPZZXPRS6Enno1JOp5h3u9UZbOkMXoE5CqC1kJQvO29+wFz8izK\n6CeTYlQoDcUHy5JvhBHYNKSCzrmEXO4P1gzDksffR8GudFE9yFhCAgXXjjW6\nerEWhkhOTZflL6OIdibHngygpKkSPPAd4bTimTrgbE5VhSjM+ANqQ6/y/Gus\ny8vJo9no/Yfrn7eQST741zp8AAcrrLd3Q5YPDa7jiMRTodCy5MLJ1VVHyH9E\nj3rxMrXvhSRzmsDK5ti7j2oid/kRUSsARg0QHEcCVMhc2XzptPRSNbjAvKaw\ndQ/0gkonkrlOJrHXmPmcui65r8m8XmqvGx0e8pNawDA6KcFZNgXxw8z4brfV\n2lasD9YhLbI4MnCg3Z0t2R+1UK3fgu8sRbe0L/pj3t+BAvXnI1axKxQC6/Cp\nMM45ktXAVt/8jWR9Wd+EgEc3gCTN82+DfwE+C0wy+wDpQBdoj+NoGi9ZMZle\n0P7BMmZ7tpF9Nf5B0WxJPJif6OtCAFZEOBU0ilaUPR4zmKIQuTE7ay5dxnUw\nrmJd/2rg4LS/Jnga7ct9Ba28E/+YW14ucPw9pUX6AlZVidO5oAN0nM02ry8C\nQm1K\r\n=Ovnf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG0wYJYNjeBAyKf+gmFMP7/ZSKTuDM6qQpV5VN+u6aCsAiEA6NH5XWfxiJ25CtkK/ycyuLCZRMIyiso1wTKH4EEb3KM="}]},"maintainers":[{"name":"alexkuz","email":"alexkuz@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-schema-default-instance_1.2.17_1580486819155_0.6061380519441297"},"_hasShrinkwrap":false}},"readme":"# json-schema-default-instance\n\n[![Build Status](https://travis-ci.org/dancasey/json-schema-default-instance.svg?branch=master)](https://travis-ci.org/dancasey/json-schema-default-instance)\n\nCreates an object as an instance of the given schema using its `default` properties.\n\n- Accepts multiple schemas, referenced by `id`.\n- Resolves `$ref` and `allOf`.\n- Instantiates all properties that have a `default`. \n- If `requiredOnly = true`, ignores properties that are not listed in the `required` array (see example below).\n- If `resolveDefaultRefs = true`, also resolves references within `default`s.\n\n\n## Usage\n\nInstall with `npm install --save json-schema-default-instance`\n\nSee `test/test.js` for an example with `$ref` and `allOf`.\n\nSimple example below:\n\n```js\nconst {Instantiator} = require('json-schema-default-instance');\nconst mySchemas = [\n  {\n    \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n    \"id\": \"theSchemaId\",\n    \"type\": \"object\",\n    \"required\": [\n      \"firstName\",\n      \"lastName\"\n    ],\n    \"properties\": {\n      \"firstName\": {\n        \"type\": \"string\",\n        \"default\": \"Foo\"\n      },\n      \"lastName\": {\n        \"type\": \"string\",\n        \"default\": \"Bar\"\n      },\n      \"optionalProperty\": {\n        \"type\": \"string\",\n        \"default\": \"Hello\"\n      }\n    }\n  }\n]\n\n/* Instantiate with all properties */\nlet ins = new Instantiator(mySchemas);\nlet myDefaultInstance = ins.instantiate('theSchemaId');\nconsole.log(myDefaultInstance);\n\n// => { firstName: 'Foo', lastName: 'Bar', optionalProperty: 'Hello' }\n\n/* This time, only with `required` properties */\nins.requiredOnly = true;\nlet myRequiredInstance = ins.instantiate('theSchemaId');\nconsole.log(myRequiredInstance);\n\n// => { firstName: 'Foo', lastName: 'Bar' }\n\n```\n\n\n## Notes\n\nRelies heavily on `Ajv` for caching and lookup by ref, even though no validation is done here.\n[Ajv: Another JSON Schema Validator](https://github.com/epoberezkin/ajv)\n\n`Ajv` *does* have its own `useDefaults` option which can be used instead of this package,\nbut it does not support `default` keywords in subschemas or `allOf`.\nIf you don't need `allOf`, just use `Ajv` directly (see [Ajv assigning-defaults](https://github.com/epoberezkin/ajv#assigning-defaults) and related [discussion](https://github.com/epoberezkin/ajv/issues/42)).\n\n**Performance**: this code recursively walks through the schema on each call, which can negatively impact performance. \nDepending on the use case, it may make sense to precompute the defaults and cache them to an object or module.\n\nNeed help understanding JSON Schema? I would recommend the Space Telescope Science Institute's [Understanding JSON Schema](https://spacetelescope.github.io/understanding-json-schema/index.html)\n\n\n## License\n\nPublic Domain","maintainers":[{"name":"alexkuz","email":"alexkuz@gmail.com"}],"time":{"modified":"2022-06-12T14:28:56.226Z","created":"2016-12-26T14:37:25.430Z","1.2.0":"2016-12-26T14:37:25.430Z","1.2.2":"2016-12-28T14:54:40.762Z","1.2.7":"2017-01-11T10:50:34.314Z","1.2.8":"2017-01-12T16:43:00.172Z","1.2.9":"2017-01-13T11:50:29.512Z","1.2.12":"2017-01-27T16:06:56.895Z","1.2.13":"2017-01-27T16:23:22.798Z","1.2.14":"2019-04-03T16:37:46.904Z","1.2.15":"2019-10-08T12:18:56.860Z","1.2.16":"2020-01-29T12:26:42.716Z","1.2.17":"2020-01-31T16:06:59.475Z"},"homepage":"https://github.com/dancasey/json-schema-default-instance#readme","keywords":["schema","json"],"repository":{"type":"git","url":"git+https://github.com/dancasey/json-schema-default-instance.git"},"contributors":[{"name":"Alexander","email":"alexkuz@gmail.com","url":"http://kuzya.org/"}],"author":{"name":"Dan Casey","email":"dc181@icloud.com","url":"https://github.com/dancasey"},"bugs":{"url":"https://github.com/dancasey/json-schema-default-instance/issues"},"license":"PDDL-1.0","readmeFilename":"README.md"}