{"_id":"json-gate","_rev":"50-00545cc21e88ace9e546b0c7fbb4c9d1","name":"json-gate","description":"A friendly, fast JSON schema validator","dist-tags":{"latest":"0.8.23"},"versions":{"0.8.0":{"name":"json-gate","description":"An easy to use JSON schema validator","version":"0.8.0","author":{"name":"Ofer Reichman","email":"oferei@gmail.com"},"contributors":[{"name":"Ofer Reichman","email":"oferei@gmail.com"}],"repository":{"type":"git","url":"https://github.com/oferei/json-gate.git"},"dependencies":{},"keywords":["json","schema","validator","validate","assert"],"main":"lib/json-gate.js","scripts":{"test":"node_modules\\.bin\\vows --spec"},"devDependencies":{"should":"*","vows":"*"},"engines":{"node":"*"},"_id":"json-gate@0.8.0","dist":{"shasum":"a7a27ad0e4ee984315794a0d01b59ac4265244bf","tarball":"https://registry.npmjs.org/json-gate/-/json-gate-0.8.0.tgz","integrity":"sha512-KDvs/pd1xnZ/KkCBWp9WjIN5KdeRD+dgj13TzuvyFMMCiag/cam3fkgZqzFhUdSgd/qRs1FW4d+/dhYlI0NV2A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDil8Uw8ptjWxmAxSxc1Vg6sT0qDWpiZYZeUAMX3nZo9QIhANeNolBdOflXJn+2tD8YuV0xzUkR54ltjOU95qC8hqvW"}]},"_npmVersion":"1.1.61","_npmUser":{"name":"oferei","email":"oferei@gmail.com"},"maintainers":[{"name":"oferei","email":"oferei@gmail.com"}]},"0.8.1":{"name":"json-gate","description":"An easy-to-use JSON schema validator","version":"0.8.1","author":{"name":"Ofer Reichman","email":"oferei@gmail.com"},"contributors":[{"name":"Ofer Reichman","email":"oferei@gmail.com"}],"repository":{"type":"git","url":"https://github.com/oferei/json-gate.git"},"dependencies":{},"keywords":["json","schema","validator","validate","assert"],"main":"lib/json-gate.js","scripts":{"test":"node_modules\\.bin\\vows --spec"},"devDependencies":{"should":"*","vows":"*"},"engines":{"node":"*"},"_id":"json-gate@0.8.1","dist":{"shasum":"da34a8e4e41dd2d01ffbbb839b19b9ca2fc74884","tarball":"https://registry.npmjs.org/json-gate/-/json-gate-0.8.1.tgz","integrity":"sha512-mvEj0yhwHSyu5SGVlCtLJtff9hDHS7AA8XZbMlYxwK4nL2J44l3e7tMVX2hRtNTAE+E3OOzLPjS5v8t+8q7SDw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAXTRzy1zU8x3B/H+r7fCbf10ESol95F1hXXRJ+afxpsAiEAj7s/JpFliPkhVjlV9hFYDU4gfQjdCXmKQ4D9gaa1lHo="}]},"_npmVersion":"1.1.61","_npmUser":{"name":"oferei","email":"oferei@gmail.com"},"maintainers":[{"name":"oferei","email":"oferei@gmail.com"}]},"0.8.2":{"name":"json-gate","description":"An easy-to-use JSON schema validator","version":"0.8.2","author":{"name":"Ofer Reichman","email":"oferei@gmail.com"},"contributors":[{"name":"Ofer Reichman","email":"oferei@gmail.com"}],"repository":{"type":"git","url":"https://github.com/oferei/json-gate.git"},"bugs":{"url":"https://github.com/oferei/json-gate/issues"},"dependencies":{},"keywords":["json","schema","validator","validate","assert"],"main":"lib/json-gate.js","scripts":{"test":"node_modules\\.bin\\vows --spec"},"devDependencies":{"should":"*","vows":"*"},"engines":{"node":"*"},"_id":"json-gate@0.8.2","dist":{"shasum":"3acc5ab3e6286c94dd1a8d1cab39453e894f7e35","tarball":"https://registry.npmjs.org/json-gate/-/json-gate-0.8.2.tgz","integrity":"sha512-ZtOyS5oDc569DUZk0iAbUnxpX7nf7+A2wkb/Ip4TCsSheHNVJOdZKVFLgwQxMB5fQWiemiCb0FoVSGL6xQn0jg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyPoTs81TbooGZHUk/SSLcfeHA8I2n5dK5M54k2ML2wQIhALOpjUz/A2vf3m0jUoD9zwOUupPjViSneaKzlBIDADG/"}]},"_npmVersion":"1.1.61","_npmUser":{"name":"oferei","email":"oferei@gmail.com"},"maintainers":[{"name":"oferei","email":"oferei@gmail.com"}]},"0.8.3":{"name":"json-gate","description":"An easy-to-use JSON schema validator","version":"0.8.3","author":{"name":"Ofer Reichman","email":"oferei@gmail.com"},"contributors":[{"name":"Ofer Reichman","email":"oferei@gmail.com"}],"repository":{"type":"git","url":"https://github.com/oferei/json-gate.git"},"bugs":{"url":"https://github.com/oferei/json-gate/issues"},"dependencies":{},"keywords":["json","schema","validator","validate","assert"],"main":"lib/json-gate.js","scripts":{"test":"node_modules\\.bin\\vows --spec"},"devDependencies":{"should":"*","vows":"*"},"engines":{"node":"*"},"_id":"json-gate@0.8.3","dist":{"shasum":"cab1be9307d469aa96bf741b6bb6cd47af2f36c8","tarball":"https://registry.npmjs.org/json-gate/-/json-gate-0.8.3.tgz","integrity":"sha512-WwbydPgGnsPeZsgiVOGUV/FaLJUEEdODAufROxuDynjgJhl7LdePMPz5RGZLPTUCg2Cs8UIgmwKDKau7yHeCKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEWRu3pYwjlvbmaIoRGG7grHhmU2TPLDZO10uvLoR9AdAiAlIJgz9XJHwFFXIxGHDy2WxLobPiRl5HxgeIOkhujPig=="}]},"_npmVersion":"1.1.61","_npmUser":{"name":"oferei","email":"oferei@gmail.com"},"maintainers":[{"name":"oferei","email":"oferei@gmail.com"}]},"0.8.4":{"name":"json-gate","description":"A friendly JSON schema validator","version":"0.8.4","author":{"name":"Ofer Reichman","email":"oferei@gmail.com"},"contributors":[{"name":"Ofer Reichman","email":"oferei@gmail.com"}],"repository":{"type":"git","url":"https://github.com/oferei/json-gate.git"},"bugs":{"url":"https://github.com/oferei/json-gate/issues"},"dependencies":{},"keywords":["json","schema","validator","validate","assert"],"main":"lib/json-gate.js","scripts":{"test":"node_modules\\.bin\\vows --spec"},"devDependencies":{"should":"*","vows":"*"},"engines":{"node":"*"},"_id":"json-gate@0.8.4","dist":{"shasum":"89a6fd264dee1869f734217ae690c7fe5adfc06b","tarball":"https://registry.npmjs.org/json-gate/-/json-gate-0.8.4.tgz","integrity":"sha512-JpjHRcBuc2BJSGa1caVD/v/RGBASE4qyLqX/6i8OZt0CnU9qZaMbiCMG1/Y17WOtB7fDIyLpCDZ4DyiKEykQ7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAbGixklvedyYcbKL7aTya5PZoVgcv/yl+BWm++JaR2WAiAhCdioKj6UuoBK3GXAppooyOX61NYSPu0LgcOjDO4qMA=="}]},"_npmVersion":"1.1.61","_npmUser":{"name":"oferei","email":"oferei@gmail.com"},"maintainers":[{"name":"oferei","email":"oferei@gmail.com"}]},"0.8.5":{"name":"json-gate","description":"A friendly JSON schema validator","version":"0.8.5","author":{"name":"Ofer Reichman","email":"oferei@gmail.com"},"contributors":[{"name":"Ofer Reichman","email":"oferei@gmail.com"}],"repository":{"type":"git","url":"https://github.com/oferei/json-gate.git"},"bugs":{"url":"https://github.com/oferei/json-gate/issues"},"dependencies":{},"keywords":["json","schema","validator","validate","assert"],"main":"lib/json-gate.js","scripts":{"test":"node_modules\\.bin\\vows --spec"},"devDependencies":{"should":"*","vows":"*"},"engines":{"node":"*"},"_id":"json-gate@0.8.5","dist":{"shasum":"3fedd399b50cabbd7490bd546cf722858ec8a207","tarball":"https://registry.npmjs.org/json-gate/-/json-gate-0.8.5.tgz","integrity":"sha512-pLLuHvKKkfaxjn/ALu5JrOvDGFq3WJRxQg5ED1PhHEiNxYO7qrVTCyezeFpH7/aC0OvLSROcboww/7zJKAJu+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSHlGsh/eKDtJ87MR2+4BhZ3e+1yj0c+wUNL2LTtL9OQIhANiG/FuzzjdqF7gYbkhnMtimXF0/6X+2yJuWfUJyUFMm"}]},"_npmVersion":"1.1.61","_npmUser":{"name":"oferei","email":"oferei@gmail.com"},"maintainers":[{"name":"oferei","email":"oferei@gmail.com"}]},"0.8.6":{"name":"json-gate","description":"A friendly JSON schema validator","version":"0.8.6","author":{"name":"Ofer Reichman","email":"oferei@gmail.com"},"contributors":[{"name":"Ofer Reichman","email":"oferei@gmail.com"}],"repository":{"type":"git","url":"https://github.com/oferei/json-gate.git"},"bugs":{"url":"https://github.com/oferei/json-gate/issues"},"dependencies":{},"keywords":["json","schema","validator","validate","assert"],"main":"lib/json-gate.js","scripts":{"test":"node_modules\\.bin\\vows --spec"},"devDependencies":{"should":"*","vows":"*"},"engines":{"node":"*"},"_id":"json-gate@0.8.6","dist":{"shasum":"58af2546455021bdbcca6602b03116ded428c218","tarball":"https://registry.npmjs.org/json-gate/-/json-gate-0.8.6.tgz","integrity":"sha512-1kG++AHYKPxLKU0V6f1Y3N/lH50QpKpOrrHRwqHc/u9vMJ+0Fnyb+eVSDYy2BqaijDg9ehUWrhg4alb2efqtCw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHheeDz29qLKBqFtS9kEoW9kyyB8imYaJAKsg8iEFGabAiEA92HN5hW4UWye4LebKLNf3dcemmjWO3T76OIOSFq92ug="}]},"_npmVersion":"1.1.61","_npmUser":{"name":"oferei","email":"oferei@gmail.com"},"maintainers":[{"name":"oferei","email":"oferei@gmail.com"}]},"0.8.7":{"name":"json-gate","description":"A friendly JSON schema validator","version":"0.8.7","author":{"name":"Ofer Reichman","email":"oferei@gmail.com"},"contributors":[{"name":"Ofer Reichman","email":"oferei@gmail.com"}],"repository":{"type":"git","url":"https://github.com/oferei/json-gate.git"},"bugs":{"url":"https://github.com/oferei/json-gate/issues"},"dependencies":{},"keywords":["json","schema","validator","validate","assert"],"main":"lib/json-gate.js","scripts":{"test":"node_modules\\.bin\\vows --spec"},"devDependencies":{"should":"*","vows":"*"},"engines":{"node":"*"},"_id":"json-gate@0.8.7","dist":{"shasum":"69c985aaff1fda0c4c1cf7a39b1aaf2382c10215","tarball":"https://registry.npmjs.org/json-gate/-/json-gate-0.8.7.tgz","integrity":"sha512-p7GFaHHfCanKu7TVXGj/zLt4uRZDOlHKX+t9d9Qut9OiR2dREN7bQx7Zm59F/OFe+CtffhWQqPcJEheHJjVL5Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHwn763O85eMBbA3RruZ7UR5l2aoD/B8H4GBVfvYIUhHAiEApDBAYqBMFksWUt+dUm65vCHGOgNpLR/PJS9QIZgMrf4="}]},"_npmVersion":"1.1.61","_npmUser":{"name":"oferei","email":"oferei@gmail.com"},"maintainers":[{"name":"oferei","email":"oferei@gmail.com"}]},"0.8.8":{"name":"json-gate","description":"A friendly JSON schema validator","version":"0.8.8","author":{"name":"Ofer Reichman","email":"oferei@gmail.com"},"contributors":[{"name":"Ofer Reichman","email":"oferei@gmail.com"}],"repository":{"type":"git","url":"https://github.com/oferei/json-gate.git"},"bugs":{"url":"https://github.com/oferei/json-gate/issues"},"dependencies":{},"keywords":["json","schema","validator","validate","assert"],"main":"lib/json-gate.js","scripts":{"test":"node_modules\\.bin\\vows --spec"},"devDependencies":{"should":"*","vows":"*"},"engines":{"node":"*"},"_id":"json-gate@0.8.8","dist":{"shasum":"685d1c0030166d5ca0e31646f8f13bd7134d2c2f","tarball":"https://registry.npmjs.org/json-gate/-/json-gate-0.8.8.tgz","integrity":"sha512-dDkijqyP07oe0Ta1Tjl+QsIPMgBkYaQl9CSQTzKJS/FmnS/g9QihS9wM9SEzTPQfVli3p0TD3RcLkNzKTn5U7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDngGWrejbXEppyQDDUNAFOJq5yUcnSQGZJuCIuR+cbSgIgdNt/i8M42y6yLdm06mo2IxpOWxawXP2aPfSTfl0PbLE="}]},"_npmVersion":"1.1.61","_npmUser":{"name":"oferei","email":"oferei@gmail.com"},"maintainers":[{"name":"oferei","email":"oferei@gmail.com"}]},"0.8.9":{"name":"json-gate","description":"A friendly JSON schema validator","version":"0.8.9","author":{"name":"Ofer Reichman","email":"oferei@gmail.com"},"contributors":[{"name":"Ofer Reichman","email":"oferei@gmail.com"}],"repository":{"type":"git","url":"https://github.com/oferei/json-gate.git"},"bugs":{"url":"https://github.com/oferei/json-gate/issues"},"dependencies":{},"keywords":["json","schema","validator","validate","assert"],"main":"lib/json-gate.js","scripts":{"test":"node_modules\\.bin\\vows --spec"},"devDependencies":{"should":"*","vows":"*"},"engines":{"node":"*"},"_id":"json-gate@0.8.9","dist":{"shasum":"94ccfec23ecb76b22927abbb2679bd02ba4910e1","tarball":"https://registry.npmjs.org/json-gate/-/json-gate-0.8.9.tgz","integrity":"sha512-rG1dSLNWBTOBwdkXWX8oB5Xk66H2HIJUG1iNATnSQY9Hz8Buy96iz+OQQL9JDFC5tCxO+4fgYfIhkj1DiKxNvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUCXvzm3YctnwgNZfBkaZR+Dl7ck2PYQfoSF443RDROAIgD64mK7eDI2PWiPtzZ9MxMtDfRon4N79RExC4xablPV8="}]},"_npmVersion":"1.1.61","_npmUser":{"name":"oferei","email":"oferei@gmail.com"},"maintainers":[{"name":"oferei","email":"oferei@gmail.com"}]},"0.8.10":{"name":"json-gate","description":"A friendly JSON schema validator","version":"0.8.10","author":{"name":"Ofer Reichman","email":"oferei@gmail.com"},"contributors":[{"name":"Ofer Reichman","email":"oferei@gmail.com"}],"repository":{"type":"git","url":"https://github.com/oferei/json-gate.git"},"bugs":{"url":"https://github.com/oferei/json-gate/issues"},"dependencies":{},"keywords":["json","schema","validator","validate","assert"],"main":"lib/json-gate.js","scripts":{"test":"node_modules\\.bin\\vows --spec"},"devDependencies":{"should":"*","vows":"*"},"engines":{"node":"*"},"_id":"json-gate@0.8.10","dist":{"shasum":"45d91ac1232cc18c0b6aaf8c6bf90a9084382db0","tarball":"https://registry.npmjs.org/json-gate/-/json-gate-0.8.10.tgz","integrity":"sha512-acsPqA7X7fJPUE28JB3/B0p294MdCDyLjWoq2mEWjZlz7f+jE3A9H9tjtwCRK1gEtwQn/6OqTHHbQNM7rWxd7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICJobGWYAbMmTvYNuGSCO/WtyGGQYmWv4VdDW15NVJr2AiBk5DBNnuXKA8N3UsDafPJ3LZXSCzv3IC+Dn2poMENXew=="}]},"_npmVersion":"1.1.61","_npmUser":{"name":"oferei","email":"oferei@gmail.com"},"maintainers":[{"name":"oferei","email":"oferei@gmail.com"}]},"0.8.11":{"name":"json-gate","description":"A friendly JSON schema validator","version":"0.8.11","author":{"name":"Ofer Reichman","email":"oferei@gmail.com"},"contributors":[{"name":"Ofer Reichman","email":"oferei@gmail.com"}],"repository":{"type":"git","url":"https://github.com/oferei/json-gate.git"},"bugs":{"url":"https://github.com/oferei/json-gate/issues"},"dependencies":{},"keywords":["json","schema","validator","validate","assert"],"main":"lib/json-gate.js","scripts":{"test":"node_modules\\.bin\\vows --spec"},"devDependencies":{"should":"*","vows":"*"},"engines":{"node":"*"},"_id":"json-gate@0.8.11","dist":{"shasum":"b5b010337b72122c8826e600a988dfbcd6a4bb15","tarball":"https://registry.npmjs.org/json-gate/-/json-gate-0.8.11.tgz","integrity":"sha512-BMhQhSuzaL2fibLl9mtGXwzkhmrKyqYiHYafUbiuTJI1cX5XA45kAdQsangGzxib8wlsfoweIKHxOXJOgMElPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEDRQ1C+OY85qDnEKp8ag9D4WudlRA9xtURNOg6eCzxFAiEA9GUbejSUuWNns03QuE5vNr1EGELqmpuym/q/EH2lyRM="}]},"_npmVersion":"1.1.61","_npmUser":{"name":"oferei","email":"oferei@gmail.com"},"maintainers":[{"name":"oferei","email":"oferei@gmail.com"}]},"0.8.12":{"name":"json-gate","description":"A friendly JSON schema validator","version":"0.8.12","author":{"name":"Ofer Reichman","email":"oferei@gmail.com"},"contributors":[{"name":"Ofer Reichman","email":"oferei@gmail.com"}],"repository":{"type":"git","url":"https://github.com/oferei/json-gate.git"},"bugs":{"url":"https://github.com/oferei/json-gate/issues"},"dependencies":{},"keywords":["json","schema","validator","validate","assert"],"main":"lib/json-gate.js","scripts":{"test":"node_modules\\.bin\\vows --spec"},"devDependencies":{"should":"*","vows":"*"},"engines":{"node":"*"},"_id":"json-gate@0.8.12","dist":{"shasum":"24e201e1927dadd077a4f665939f49539bd71703","tarball":"https://registry.npmjs.org/json-gate/-/json-gate-0.8.12.tgz","integrity":"sha512-punmvDuH88g7j7xD4Q/+hdgbhdDJ18wNzEEWa79gsZJjlze1H+OcOfSKkdRoRRdlipK+kpEGdwuHwwIq02TqHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmwhGomdkuewwv9xoEwwjWhB2gKnYdAC627xFOJih7/wIgYN2tJDllm3OA0FZM7QuKX/QhDX4iwk6YjoH5Oaqm5DY="}]},"_npmVersion":"1.1.61","_npmUser":{"name":"oferei","email":"oferei@gmail.com"},"maintainers":[{"name":"oferei","email":"oferei@gmail.com"}]},"0.8.13":{"name":"json-gate","description":"A friendly, fast JSON schema validator","version":"0.8.13","author":{"name":"Ofer Reichman","email":"oferei@gmail.com"},"contributors":[{"name":"Ofer Reichman","email":"oferei@gmail.com"}],"repository":{"type":"git","url":"https://github.com/oferei/json-gate.git"},"bugs":{"url":"https://github.com/oferei/json-gate/issues"},"dependencies":{},"keywords":["json","schema","validator","validate","assert"],"main":"lib/json-gate.js","scripts":{"test":"node_modules\\.bin\\vows --spec"},"devDependencies":{"should":"*","vows":"*"},"engines":{"node":"*"},"_id":"json-gate@0.8.13","dist":{"shasum":"fdcb534e03276f76d540eca1f7dd27416e339ef1","tarball":"https://registry.npmjs.org/json-gate/-/json-gate-0.8.13.tgz","integrity":"sha512-n9rsaY8d2aJ++wPMP/asuF6jyBCb/9Y5Jwe6n8wPNW3r49SfJu4JelhIuGvJhSKUeJ864ri4ZU3iIKRgLoruqQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAwLT9uv0rwnFSACv2Fn4QL/BE+Rt0iU85rJ/CKOYcbMAiEAz2r/ixq2pyjUssTVB+S6XczMBgLWWQiYCFHkkch4IjM="}]},"_npmVersion":"1.1.61","_npmUser":{"name":"oferei","email":"oferei@gmail.com"},"maintainers":[{"name":"oferei","email":"oferei@gmail.com"}]},"0.8.14":{"name":"json-gate","description":"A friendly, fast JSON schema validator","version":"0.8.14","author":{"name":"Ofer Reichman","email":"oferei@gmail.com"},"contributors":[{"name":"Ofer Reichman","email":"oferei@gmail.com"}],"repository":{"type":"git","url":"https://github.com/oferei/json-gate.git"},"bugs":{"url":"https://github.com/oferei/json-gate/issues"},"dependencies":{},"keywords":["json","schema","validator","validate","assert"],"main":"lib/json-gate.js","scripts":{"test":"node_modules\\.bin\\vows --spec"},"devDependencies":{"should":"*","vows":"*"},"engines":{"node":"*"},"_id":"json-gate@0.8.14","dist":{"shasum":"b269f75f0c33869e21c0f5b167593d49ee075c1a","tarball":"https://registry.npmjs.org/json-gate/-/json-gate-0.8.14.tgz","integrity":"sha512-Fz37zS7wWUdAp43q+LupYSrjWA/mCOCddBfNo8YCu2y4nK/v23a7m68f788KVW/i/elkgrwD5InrAjxREqZKuw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBVhvhnMYS27UtfchNq5DYGjghIttpxtEkmv3lAs0akHAiEAj7UQ0wkVHEUFNgZ2Hw6A73FkSyHgM0JEJ48C4VfIimA="}]},"_npmVersion":"1.1.61","_npmUser":{"name":"oferei","email":"oferei@gmail.com"},"maintainers":[{"name":"oferei","email":"oferei@gmail.com"}]},"0.8.15":{"name":"json-gate","description":"A friendly, fast JSON schema validator","version":"0.8.15","author":{"name":"Ofer Reichman","email":"oferei@gmail.com"},"contributors":[{"name":"Ofer Reichman","email":"oferei@gmail.com"}],"repository":{"type":"git","url":"https://github.com/oferei/json-gate.git"},"bugs":{"url":"https://github.com/oferei/json-gate/issues"},"dependencies":{},"keywords":["json","schema","validator","validate","assert"],"main":"lib/json-gate.js","scripts":{"test":"node_modules\\.bin\\vows --spec"},"devDependencies":{"should":"*","vows":"*","JSV":"*"},"engines":{"node":"*"},"_id":"json-gate@0.8.15","dist":{"shasum":"eca2edf2d53f12471103f30d4b0aa2dfe8b8721f","tarball":"https://registry.npmjs.org/json-gate/-/json-gate-0.8.15.tgz","integrity":"sha512-UAOyVgfwv3v/aErvMB2KE4uw2wXT9abMKgs4LYbnaGxkUCeBDM89JBJYy/Xbtf1CD46I3+eTWAwgCSvyUloPFw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHCb0aLZEjO6/GSW3py7pVAvDr9NU5vUyPr5EEST+PBiAiBdODgnL3p4qkajlKsTKpvBCDKZVGA5opy/WqyafGFhaA=="}]},"_npmVersion":"1.1.61","_npmUser":{"name":"oferei","email":"oferei@gmail.com"},"maintainers":[{"name":"oferei","email":"oferei@gmail.com"}]},"0.8.16":{"name":"json-gate","description":"A friendly, fast JSON schema validator","version":"0.8.16","author":{"name":"Ofer Reichman","email":"oferei@gmail.com"},"contributors":[{"name":"Ofer Reichman","email":"oferei@gmail.com"}],"repository":{"type":"git","url":"https://github.com/oferei/json-gate.git"},"bugs":{"url":"https://github.com/oferei/json-gate/issues"},"dependencies":{},"keywords":["json","schema","validator","validate","assert"],"main":"lib/json-gate.js","scripts":{"test":"node_modules\\.bin\\vows --spec"},"devDependencies":{"should":"*","vows":"*","JSV":"*"},"engines":{"node":"*"},"_id":"json-gate@0.8.16","dist":{"shasum":"7e80522c0312b04fb4f8f273c3855847e2a96105","tarball":"https://registry.npmjs.org/json-gate/-/json-gate-0.8.16.tgz","integrity":"sha512-hOAoG6jRaLQDWt3CabCJ/vuEftuEfdK+/4wTttaHYqn4Ugw4MYdC0JPnHE5nsK+waGxF4O5aGyri7Cprc1KQlQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEsP0psEoX4sSaJc3lqnfHpg2QMQn++H6HlvSu/3tNomAiEAgS3o/kAnUubb/cCLis7LXtUNHW3d/+6QsBGZ+JdjT8Y="}]},"_npmVersion":"1.1.61","_npmUser":{"name":"oferei","email":"oferei@gmail.com"},"maintainers":[{"name":"oferei","email":"oferei@gmail.com"}]},"0.8.17":{"name":"json-gate","description":"A friendly, fast JSON schema validator","version":"0.8.17","author":{"name":"Ofer Reichman","email":"oferei@gmail.com"},"contributors":[{"name":"Ofer Reichman","email":"oferei@gmail.com"}],"repository":{"type":"git","url":"https://github.com/oferei/json-gate.git"},"bugs":{"url":"https://github.com/oferei/json-gate/issues"},"dependencies":{},"keywords":["json","schema","validator","validate","assert"],"main":"lib/json-gate.js","scripts":{"test":"node_modules\\.bin\\vows --spec"},"devDependencies":{"should":"*","vows":"*","JSV":"*"},"engines":{"node":"*"},"_id":"json-gate@0.8.17","dist":{"shasum":"9618ae4aae5c58da1f413d036f65a0c24cf9064d","tarball":"https://registry.npmjs.org/json-gate/-/json-gate-0.8.17.tgz","integrity":"sha512-6216vlC7HUSNqAUNB8UfGkVgmoCqq1EGieuHqJXBZNB9+hQY0Zqntc1mlzHnpaffQW5yZBLBFDqxdj4wn16TlA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBgkmDNdQ3uzRgGQCGLl2wQW7LGR47738P2jxkBCRj3QAiEA77DHLng5oCzyuNK3wGgGxHUzqxckHYQtSLbzLZ8a9js="}]},"_npmVersion":"1.1.61","_npmUser":{"name":"oferei","email":"oferei@gmail.com"},"maintainers":[{"name":"oferei","email":"oferei@gmail.com"}]},"0.8.18":{"name":"json-gate","description":"A friendly, fast JSON schema validator","version":"0.8.18","author":{"name":"Ofer Reichman","email":"oferei@gmail.com"},"contributors":[{"name":"Ofer Reichman","email":"oferei@gmail.com"}],"repository":{"type":"git","url":"https://github.com/oferei/json-gate.git"},"bugs":{"url":"https://github.com/oferei/json-gate/issues"},"dependencies":{},"keywords":["json","schema","validator","validate","assert"],"main":"lib/json-gate.js","scripts":{"test":"node_modules\\.bin\\vows --spec"},"devDependencies":{"should":"*","vows":"*","JSV":"*"},"engines":{"node":"*"},"licenses":[{"type":"MIT","url":"https://raw.github.com/oferei/json-gate/master/LICENSE"}],"_id":"json-gate@0.8.18","dist":{"shasum":"eee413f618653024dbe5a9e1990d75c0cb2cd0b5","tarball":"https://registry.npmjs.org/json-gate/-/json-gate-0.8.18.tgz","integrity":"sha512-0ykUXafZmhQEAnjdeagRsIgRW3mn2mXFteQdiXnfkOlxHjJrhB0wf8QSbJ2C6oSGL/P7rYz3T6MOfqXsuUMz1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCw9wecklhB1YtUCz4ngCc4wpGXjZ+EYdYy+kqqlOf4sgIhAIM8OqbXlM8yaWCbQiTK+iQgZqU4kl4JRFhPyVSuzK6c"}]},"_npmVersion":"1.1.69","_npmUser":{"name":"oferei","email":"oferei@gmail.com"},"maintainers":[{"name":"oferei","email":"oferei@gmail.com"}]},"0.8.19":{"name":"json-gate","description":"A friendly, fast JSON schema validator","version":"0.8.19","author":{"name":"Ofer Reichman","email":"oferei@gmail.com"},"contributors":[{"name":"Ofer Reichman","email":"oferei@gmail.com"},{"name":"Jesse Thompson"},{"name":"Nicolas Pelletier"}],"repository":{"type":"git","url":"https://github.com/oferei/json-gate.git"},"bugs":{"url":"https://github.com/oferei/json-gate/issues"},"dependencies":{},"keywords":["json","schema","validator","validate","assert"],"main":"lib/json-gate.js","scripts":{"test":"node_modules\\.bin\\vows --spec"},"devDependencies":{"should":"*","vows":"*","JSV":"*"},"engines":{"node":"*"},"licenses":[{"type":"MIT","url":"https://raw.github.com/oferei/json-gate/master/LICENSE"}],"_id":"json-gate@0.8.19","dist":{"shasum":"68edcc42ad5f225d2509eb2a42c393ced45896a6","tarball":"https://registry.npmjs.org/json-gate/-/json-gate-0.8.19.tgz"},"_npmVersion":"1.1.69","_npmUser":{"name":"oferei","email":"oferei@gmail.com"},"maintainers":[{"name":"oferei","email":"oferei@gmail.com"}]},"0.8.20":{"name":"json-gate","description":"A friendly, fast JSON schema validator","version":"0.8.20","author":{"name":"Ofer Reichman","email":"oferei@gmail.com"},"contributors":[{"name":"Ofer Reichman","email":"oferei@gmail.com"},{"name":"Jesse Thompson"},{"name":"Nicolas Pelletier"}],"repository":{"type":"git","url":"https://github.com/oferei/json-gate.git"},"bugs":{"url":"https://github.com/oferei/json-gate/issues"},"dependencies":{},"keywords":["json","schema","validator","validate","assert"],"main":"lib/json-gate.js","scripts":{"test":"node_modules\\.bin\\vows --spec"},"devDependencies":{"should":"*","vows":"*","JSV":"*"},"engines":{"node":"*"},"licenses":[{"type":"MIT","url":"https://raw.github.com/oferei/json-gate/master/LICENSE"}],"_id":"json-gate@0.8.20","dist":{"shasum":"7224c1de11b6682f9799f900f275cdb196df6ad1","tarball":"https://registry.npmjs.org/json-gate/-/json-gate-0.8.20.tgz","integrity":"sha512-fTzh63YBGCXutRSmv3YizBlCYC8UdBImz7BK4aahpf3zef5bIvQi3DdLz3++uQRhhBQ8r3WETDPu1rwRPgoNYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFXFU8d+MK4DbiZQMPGYAXxLORoVWV9L+waBpA4MfqU0AiA30a00IgJoL6n5ra0oPOK+cInF6SmcnlxIbCqnzBfCMQ=="}]},"_npmVersion":"1.1.69","_npmUser":{"name":"oferei","email":"oferei@gmail.com"},"maintainers":[{"name":"oferei","email":"oferei@gmail.com"}]},"0.8.21":{"name":"json-gate","description":"A friendly, fast JSON schema validator","version":"0.8.21","author":{"name":"Ofer Reichman","email":"oferei@gmail.com"},"contributors":[{"name":"Ofer Reichman","email":"oferei@gmail.com"},{"name":"Jesse Thompson"},{"name":"Nicolas Pelletier"},{"name":"Damien","url":"feugy"}],"repository":{"type":"git","url":"https://github.com/oferei/json-gate.git"},"bugs":{"url":"https://github.com/oferei/json-gate/issues"},"dependencies":{},"keywords":["json","schema","validator","validate","assert"],"main":"lib/json-gate.js","scripts":{"test":"node_modules\\.bin\\vows --spec"},"devDependencies":{"should":"*","vows":"*","JSV":"*"},"engines":{"node":"*"},"licenses":[{"type":"MIT","url":"https://raw.github.com/oferei/json-gate/master/LICENSE"}],"_id":"json-gate@0.8.21","dist":{"shasum":"a53aa27f92c1e545e5d59e371853e6d6a25ef557","tarball":"https://registry.npmjs.org/json-gate/-/json-gate-0.8.21.tgz","integrity":"sha512-KbEhJF1hN3xpql+oWDRvWcnjFeBcxZp1929TjJGigdUwvCJBkNBsO6mTvDm4RDPfDVxGkUjoq8pmO107KLHc4A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDl1z6JiZqZays3IO+Kd1rRQCp70oea8K8ufBpkXFbZLwIgEkGpUxuodU/bdKcFLpwwonmmmhC3NNGRBzLbWDSHYt4="}]},"_npmVersion":"1.1.61","_npmUser":{"name":"oferei","email":"oferei@gmail.com"},"maintainers":[{"name":"oferei","email":"oferei@gmail.com"}]},"0.8.22":{"name":"json-gate","description":"A friendly, fast JSON schema validator","version":"0.8.22","author":{"name":"Ofer Reichman","email":"oferei@gmail.com"},"contributors":[{"name":"Ofer Reichman","email":"oferei@gmail.com"},{"name":"Jesse Thompson"},{"name":"Nicolas Pelletier"},{"name":"Damien","url":"feugy"},{"name":"chimmelb"}],"repository":{"type":"git","url":"https://github.com/oferei/json-gate.git"},"bugs":{"url":"https://github.com/oferei/json-gate/issues"},"dependencies":{},"keywords":["json","schema","validator","validate","assert"],"main":"lib/json-gate.js","scripts":{"test":"vows --spec"},"devDependencies":{"should":"*","vows":"*","JSV":"*"},"engines":{"node":"*"},"licenses":[{"type":"MIT","url":"https://raw.github.com/oferei/json-gate/master/LICENSE"}],"gitHead":"b2ce46db2f2762d3043b39a17fd9431339b87ceb","homepage":"https://github.com/oferei/json-gate","_id":"json-gate@0.8.22","_shasum":"90e5abe2534cdc8ac10edbf09411a87ff6db5c3d","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"oferei","email":"oferei@gmail.com"},"maintainers":[{"name":"oferei","email":"oferei@gmail.com"}],"dist":{"shasum":"90e5abe2534cdc8ac10edbf09411a87ff6db5c3d","tarball":"https://registry.npmjs.org/json-gate/-/json-gate-0.8.22.tgz","integrity":"sha512-+aq5n0yX1jxvoRIjsGpq0EREXYP/CkwjhbOyz9qnJRVed3kp9SQZLXUgxfYDZUsBPrLfzt/auCR0IUVqZmLZtA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDLqpSeabb7IxvDlKY4HBQST5tHQhKpEmgSk2biAmVFAIhAPMwO4wCDpV+Xv1If1HxfdaDyadqxE6Q6uRdkKzP4icQ"}]}},"0.8.23":{"name":"json-gate","description":"A friendly, fast JSON schema validator","version":"0.8.23","author":{"name":"Ofer Reichman","email":"oferei@gmail.com"},"contributors":[{"name":"Ofer Reichman","email":"oferei@gmail.com"},{"name":"Jesse Thompson"},{"name":"Nicolas Pelletier"},{"name":"Damien","url":"feugy"},{"name":"chimmelb"}],"repository":{"type":"git","url":"git+https://github.com/oferei/json-gate.git"},"bugs":{"url":"https://github.com/oferei/json-gate/issues"},"dependencies":{},"keywords":["json","schema","validator","validate","assert"],"main":"lib/json-gate.js","scripts":{"test":"vows --spec"},"devDependencies":{"should":"*","vows":"*","JSV":"*"},"engines":{"node":"*"},"license":"MIT","gitHead":"c2259ee6227d65b5de7544c3d219717b57d1631e","homepage":"https://github.com/oferei/json-gate#readme","_id":"json-gate@0.8.23","_shasum":"d274ea6b7b5e7ef57f46e280dfc39c0aae93e856","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"oferei","email":"oferei@gmail.com"},"dist":{"shasum":"d274ea6b7b5e7ef57f46e280dfc39c0aae93e856","tarball":"https://registry.npmjs.org/json-gate/-/json-gate-0.8.23.tgz","integrity":"sha512-ppvNVXy4GFND8qv0kOoWt4jEmdLntPkOWToEgUA1tfOdFSjxAUaEhx0cLuNt7bcrXu5Pn9WxjwGvbGIjiyxrlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB8wCwtph8SLIsn+o/HMS6NpzSYS1t/wyk6ko6H1xTEsAiEA3qqWHG0Vzm5vRMTKnLX1FQtPsWPLHGm/jTSD2RqqCjk="}]},"maintainers":[{"name":"oferei","email":"oferei@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/json-gate-0.8.23.tgz_1477509256866_0.33295210218057036"}}},"readme":"# json-gate\n\n_json-gate_ validates JSON objects against a JSON schema.\nIn other words, it makes sure an object conforms to the type and structure that your code expects.\nFor example, a server can use it to ensure input received from a client conforms to the API.\n\nThe JSON schema can also help with documentation and collaboration.\nCopy it to your API document and everybody should understand exactly what is expected.\n\n_json-gate_ likes you! It is...\n\n* Intuitive - API is super easy to use.\n* Produces human-friendly, detailed error messages - for both you and your customers.\n* Fast - Your CPU won't have time to blink.\n* Well documented, in case you don't feel like digging into the IETF specifications.\nJust keep reading, it's all here.\n* Conforms to standard - no relearning, no obligation, no surprises.\n* Both synchronous and asynchronous modes - your choice.\n\n## What's a JSON schema?\n\n[JSON Schema](http://json-schema.org/) is a proposed Internet draft defining a JSON media type (application/schema+json) with the following goals:\n\n* Validation - You can use JSON Schema to validate your JSON data.\n* Documentation - You can extract documentation information from a JSON Schema, match this documentation to your data, and use that information for user interaction.\n* Hyperlinking - You can pair your JSON data with the defining JSON Schema to build hyperlinks into parts of that JSON data.\n\n_json-gate_ supports most of [JSON Schema Draft 3](http://tools.ietf.org/html/draft-zyp-json-schema-03), minus the hyperlinking and hyper schema parts.\n\n## Example\n\n    var createSchema = require('json-gate').createSchema;\n\n    var schema = createSchema({\n    \ttype: 'object',\n    \tproperties: {\n    \t\tquery: {\n    \t\t\ttype: 'string',\n                minLength: 1,\n                maxLength: 64,\n    \t\t\trequired: true\n    \t\t},\n    \t\tmaxResults: {\n    \t\t\ttype: 'integer',\n    \t\t\tmaximum: 20,\n    \t\t\tdefault: 10\n    \t\t}\n    \t},\n        additionalProperties: false\n    });\n\n    try {\n        schema.validate(input);\n    } catch(err) {\n        return res.send(400, err); // 400 Bad Request\n    }\n\nThis schema is explained below in the _Hello, schema_ section.\n\n## Installation\n\n    $ npm install json-gate\n\n## Usage\n\n### _json-gate.createSchema_(jsonSchema)\n\nThis function gets a JSON Schema definition and returns a new _Schema_ object.\nIt verifies that the schema is valid.\nIf the latter is malformed an error will be thrown pinpointing the problem.\n\n### _Schema.validate_(jsonObject)\n\nThis function gets a JSON object and validates it against the schema.\nIf the JSON object does not conform to the schema an error will be thrown (or returned, see _Synchronous/Asynchronous_ below).\n\nThe function stops after encountering an error. It does not return multiple errors.\nThe function does not return a value.\nBe aware that the input JSON object may be edited _in-place_ if the _default_ attribute is used.\n\n### Errors\n\nThe error messages are human-friendly and detailed.\nFor example: \"JSON object property 'user.password': length is 3 when it should be at least 6\".\nReady to be shrink-wrapped in a _400 Bad Request_ response and shipped to the client!\n\nEqualy helpful error messages are produced in the case of a malformed schema, to assist you during development.\nFor example: \"Schema property 'num': 'exclusiveMaximum' attribute is a number when it should be a boolean\".\n\n### Synchronous/Asynchronous\n\n_Schema.validate_ can be called in two ways, to suit your needs:\n\n* Synchronously - as in the example above, with one parameter.\nAs already stated, it returns nothing if the object checks out. Otherwise it throws an error.\n* Asynchronously - by providing a 2nd parameter: a callback function.\nThe callback function gets two arguments: error and result (the original JSON object, which may be modified).\n\nIt should be noted that the JSON object passed to the callback function is the same as the input JSON object.\nIt is only passed for convenience.\nAny _default_ values used will affect the original JSON object, even when calling asynchronously.\n\n## Hello, schema\n\nA _JSON schema_ is defined using a JavaScript object containing various _attributes_.\n\nLet's start by analyzing the schema given in the example above.\nWhat does it say about the JSON object?\n\n* The JSON object should be an object (as opposed to an array).\n* It should have a property named _query_, which should be a string of 1 to 64 characters.\n* It may optionaly have a property named _maxResults_, which should be an integer with a maximum value of 20.\n* If _maxResults_ is missing, it will be generated with a value of 10.\n* Additional properties (other than _query_ and _maxResults_) are not allowed.\n\nJSON Schema properties can be nested: objects and arrays include other attributes, which may themselves be objects and arrays.\nNotice that objects' properties are unordered, whereas array items are ordered.\n\nSee Attributes section below to learn about more possibilities.\n\n## Attributes\n\nBelow are all the supported attributes.\n\nTerminology: in this section, *instance* refers to a JSON value (object or property) that the schema will be describing and validating.\n\n### type\n\nDefines the expected instance type.\nIt can take one of two forms:\n\n* Simple type - any of the following: 'string', 'number', 'integer', 'boolean', 'object', 'array', 'null' or 'any'.\n* Union type - an array of simple types and/or schemas. The instance type should be one of the types in the array.\n\nExample - instance should be either a string or null:\n\n    type: ['string', 'null']\n\nThe default is 'any'.\n\n### disallow\n\nDefines the disallowed instance type. This is the opposite of _type_.\nIt can take one of two forms:\n\n* Simple type - any of the following: 'string', 'number', 'integer', 'boolean', 'object', 'array', 'null' or 'any'.\n* Union type - an array of simple types and/or schemas. The instance type should not be any of the types in the array.\nFor example, if _type_ is ['string', 'null'] then the instance may be neither a string nor null.\n\n### required\n\nA boolean indicating whether an instance is mandatory (true) or optional (false).\n\nExample with a mandatory property and an optional one:\n\n    {\n        type: 'object',\n        properties: {\n            query: {\n                type: 'string',\n                required: true\n            },\n            safeSearch: {\n                type: 'string',\n                enum: ['off', 'moderate', 'strict']\n            }\n        }\n    }\n\nThe default is false (optional).\n\n### default\n\nDefines the default value of the instance when the instance is undefined.\n\nExample:\n\n    maxResults: {\n        type: 'integer',\n        default: 10\n    }\n\nThe JSON object is edited in-place.\nIn other words, the default values are set to the original JSON object, not a returned copy.\n\n### enum\n\nAn array containing all possible values.\nThe instance must equal one of the values.\n\nExample:\n\n    enum: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']\n\n### properties\n\nApplies only to instances of type `'object'`.\n\nDefines the properties of the instance object.\nThe _properties_ attribute is an object, matching properties to their valid schema.\n\nExample:\n\n    {\n        type: 'object',\n        properties: {\n            name: { type: 'string' },\n            age: { type: 'integer' }\n        }\n    }\n\nThe default is an empty object.\n\nNote: Properties are considered unordered, the order of the instance properties may be in any order.\n\n### patternProperties\n\nApplies only to instances of type `'object'`.\n\nThis attribute is similar to the _properties_ attribute, but the keys are regular expression patterns instead of property names.\nAny instance property whose name fits a pattern must be valid against the appropriate schema.\n\nExample:\n\n    {\n        type: 'object',\n        patternProperties: {\n            '^sz': { type: 'string' },\n            '^n': { type: 'number' },\n            '^b': { type: 'boolean' }\n        }\n    }\n\nNote that using this attribute may cause instances to be validated more than once:\n\n* If a property name is defined by _properties_ and also matches a pattern in _patternProperties_.\n* If a property name matches more than one pattern in _patternProperties_.\n\n### additionalProperties\n\nApplies only to instances of type `'object'`.\n\nDefines a schema for all properties that are not explicitly defined by _properties_ and do not match any pattern in _patternProperties_.\nIt can take one of two forms:\n\n* Schema - all the additional properties must be valid against the schema.\n* False - additional properties are not allowed.\n\nExample:\n\n    {\n        type: 'object',\n        properties: {\n            id: 'integer',\n            name: 'string'\n        },\n        patternProperties: {\n            '^_debug': { type: 'any' }\n        },\n        additionalProperties: false\n    }\n\nThe default is an empty schema, which allows any value for additional properties.\n\n### dependencies\n\nApplies only to instances of type `'object'`.\n\nThis attribute is an object, matching properties to their requirements.\nIf the instance object has a property with the same name as a property in the _dependencies_ attribute object,\nthen the instance must comply with the requirement.\n\nThe requirement can take one of three forms:\n\n* Simple dependency - a string.\nThe instance object must have a property with the same name as the requirement.\nExample: `dependencies: { start: 'finish' }`.\nMeans that if an instance has a property 'start', it must also have a property 'finish'.\n* Simple dependency tuple - an array of strings.\nThe instance object must have a property with the same name as each string in the requirement's array.\nExample: `dependencies: { towel: [ 'toothbrush', 'soap', 'space suit' ]}`.\nMeans that if an instance has a property 'towel', it must also have properties 'toothbrush', 'soap' and 'space suit'.\n* Schema dependency - a schema.\nThe instance object must be valid against the schema.\nExample: `dependencies: { 'cuba-libre': { properties: { glass: { format: 'highball', required: true }}}}`\nMeans that if an instance has a property 'cuba-libre', it must also have a property 'glass' with a 'highball' format.\n\n### items\n\nApplies only to instances of type `'array'`.\n\nDefines the items of the instance array.\nIt can take one of two forms:\n\n* Schema - all the items in the array must be valid against the schema.\n* Tuple typing - an array of schemas.\nEach position in the instance array must conform to the schema in the corresponding position for this array.\nThe instance array is not required to contain all defined items.\nAdditional items are allowed, disallowed, or constrained by the _additionalItems_ attribute.\n\n### additionalItems\n\nApplies only to instances of type `'array'`, and only together with the _tuple typing_ form of the _items_ attribute.\n\n_additionalItems_ defines the behavior when there are more items in the instance array than in the _items_ array.\nIt can take one of two forms:\n\n* Schema - all the additional items must be valid against the schema.\n* False - additional items are not allowed.\n\nExample - a string, an integer and the rest are booleans:\n\n    {\n        type: 'array',\n        items: [\n            { type: 'string' },\n            { type: 'integer' }\n        ],\n        additionalItems: { type: 'boolean' }\n    }\n\nThe default is an empty schema, which allows additional items of any type.\n\n### minItems\n\nApplies only to instances of type `'array'`.\n\nDefines the minimum number of values in an array.\n\n### maxItems\n\nApplies only to instances of type `'array'`.\n\nDefines the maximum number of values in an array.\n\n### uniqueItems\n\nApplies only to instances of type `'array'`.\n\nA boolean that indicates whether all items in the array instance must be unique (contains no two identical values).\n\n### minLength\n\nApplies only to instances of type `'string'`.\n\nDefines the minimum length of the string.\n\n### maxLength\n\nApplies only to instances of type `'string'`.\n\nDefines the maximum length of the string.\n\n### pattern\n\nApplies only to instances of type `'string'`.\n\nA string containing a regular expression.\nThe instance string must match it.\n\nExample:\n\n    youtubeVideoId: {\n        type: 'string',\n        pattern: '^[A-Za-z0-9_-]{11}$'\n    }\n\n### minimum\n\nApplies only to instances of type `'number'`.\n\nDefines the minimum value of the instance property.\n\n### exclusiveMinimum\n\nApplies only to instances of type `'number'`, and only together with the _minimum_ attribute.\n\nDefines the behavior of the _minimum_ attribute:\n\n* when true, _minimum_ is exclusive (\"greater than\")\n* when false, _minimum_ is inclusive (\"greater than or equal\")\n\nExample:\n\n    rand: {\n        type: 'number',\n        minimum: 0,\n        exclusiveMinimum: false,\n        maximum: 1,\n        exclusiveMaximum: true\n    }\n\nThe default is false.\n\n### maximum\n\nApplies only to instances of type `'number'`.\n\nDefines the maximum value of the instance property.\n\n### exclusiveMaximum\n\nApplies only to instances of type `'number'`, and only together with the _maximum_ attribute.\n\nDefines the behavior of the _maximum_ attribute:\n\n* when true, _maximum_ is exclusive (\"less than\")\n* when false, _maximum_ is inclusive (\"less than or equal\")\n\nExample:\n\n    rand: {\n        type: 'number',\n        minimum: 0,\n        exclusiveMinimum: false,\n        maximum: 1,\n        exclusiveMaximum: true\n    }\n\nThe default is false.\n\n### divisibleBy\n\nApplies only to instances of type `'number'`.\n\nDefines what value the number instance must be divisible by with no remainder.\nThis value may not be 0.\n\n### format\n\nApplies only to instances of types `'string'` or `'number'`.\n\nDefines the expected instance format.\n\nAvailable formats:\n\n* date-time - A string containing a date in ISO 8601 format of YYYY-MM-DDThh:mm:ss[.fraction]Z in UTC time.\nThe decimal fraction is optional and the decimal dot can be replaced with a comma.\nExample: `'2012-11-06T09:13:24Z'`.\n* date - A string containing a date in the format of YYYY-MM-DD.\nExample: `'2012-11-06'`.\n* time - A string containing a time in the format of hh:mm:ss.\nExample: `'09:13:24'`.\n* utc-millisec - A number or an integer containing the number of milliseconds that have elapsed since midnight UTC, 1 January 1970.\n* regex - A string containing a regular expression, following the regular expression specification from ECMA 262.\nExample: `'^[0-9]{5}-[0-9]{4}$'`.\n* color - A string containing a CSS color, based on CSS 2.1 [W3C.CR-CSS21-20070719].\nExamples: `'red'`, `'#FF9900'`, `'f90'`, `'rgb(64, 224, 208)'`, `'rgb(100%, 0%, 25%)'`.\n* phone - A string containing a national or international phone number, based on E.123.\nNo hypens allows, only spaces.\nExamples: `'(42) 123 4567'`, `'+31 42 123 4567'`.\n* uri - A string containing a URI.\nExample: `'https://github.com/oferei/json-gate'`.\n* email - A string containing an email address.\nExample: `'thepope@gmail.com'`.\n* ip-address - A string containing an ip version 4 address.\nExample: `'192.168.1.1'`.\n* ipv6 - A string containing an ip version 6 address.\nExample: `'2001:0db8:85a3:0042:0000:8a2e:0370:7334'`.\n* host-name - A string containing a host-name.\nExample: `'github.com'`.\n\nNote: Unknown formats are silently ignored.\n\n### title\n\nA string that provides a short description of instance property.\n\nIt allows to document the JSON schema.\nIt has no effect on the validation process.\n\nExample:\n\n    postalPlusFourCode: {\n        title: 'ZIP+4 code',\n        description: 'Zip+4 code: 5 digits dash 4 digits',\n        type: 'string',\n        pattern: '^[0-9]{5}-[0-9]{4}$'\n    }\n\n### description\n\nA string that provides a full description of the purpose of the instance property.\n\nIt allows to document the JSON schema.\nIt has no effect on the validation process.\n\nExample:\n\n    {\n        description: 'A person',\n        type: 'object',\n        properties: {\n            name: { type: 'string' },\n            age: { type: 'integer' }\n        }\n    }\n\n## License\n\n(The MIT License)\n\nCopyright (c) 2012 Ofer Reichman\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","maintainers":[{"name":"oferei","email":"oferei@gmail.com"}],"time":{"modified":"2022-07-13T13:47:32.689Z","created":"2012-10-17T21:03:00.314Z","0.8.0":"2012-10-17T21:03:04.183Z","0.8.1":"2012-10-17T21:04:18.210Z","0.8.2":"2012-10-17T21:08:34.569Z","0.8.3":"2012-10-17T21:44:51.503Z","0.8.4":"2012-10-19T14:22:29.345Z","0.8.5":"2012-10-19T14:58:53.555Z","0.8.6":"2012-10-19T15:02:41.197Z","0.8.7":"2012-10-19T15:23:16.692Z","0.8.8":"2012-10-19T15:36:12.485Z","0.8.9":"2012-10-23T09:11:22.556Z","0.8.10":"2012-11-06T13:32:44.389Z","0.8.11":"2012-11-06T13:42:09.216Z","0.8.12":"2012-11-06T14:47:09.537Z","0.8.13":"2012-11-06T14:47:40.142Z","0.8.14":"2012-11-06T17:06:29.819Z","0.8.15":"2012-11-07T09:04:08.294Z","0.8.16":"2012-11-07T09:06:06.868Z","0.8.17":"2012-11-07T09:38:00.720Z","0.8.18":"2013-01-08T18:13:48.618Z","0.8.19":"2013-01-08T19:56:48.913Z","0.8.20":"2013-01-11T07:51:04.300Z","0.8.21":"2013-01-24T19:05:55.876Z","0.8.22":"2014-12-20T08:27:18.373Z","0.8.23":"2016-10-26T19:14:18.823Z"},"author":{"name":"Ofer Reichman","email":"oferei@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/oferei/json-gate.git"},"homepage":"https://github.com/oferei/json-gate#readme","keywords":["json","schema","validator","validate","assert"],"contributors":[{"name":"Ofer Reichman","email":"oferei@gmail.com"},{"name":"Jesse Thompson"},{"name":"Nicolas Pelletier"},{"name":"Damien","url":"feugy"},{"name":"chimmelb"}],"bugs":{"url":"https://github.com/oferei/json-gate/issues"},"readmeFilename":"README.md","license":"MIT"}