{"_id":"swagger-enforcer","_rev":"30-87d21839190496f6738e46c0e8ae4448","name":"swagger-enforcer","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","dist-tags":{"latest":"1.3.13"},"versions":{"0.0.1":{"name":"swagger-enforcer","version":"0.0.1","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js"},"repository":{"type":"git","url":"git+https://github.com/byu-oit-appdev/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit-appdev/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit-appdev/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"c26957165540bc0b007ca46b98078d89578fc0c2","_id":"swagger-enforcer@0.0.1","_shasum":"2872b3027e1fc724a386ebfa1e45918ee884cfd9","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"shasum":"2872b3027e1fc724a386ebfa1e45918ee884cfd9","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-0.0.1.tgz","integrity":"sha512-pSFQPkmCMlYBKj9YekOvWwGtcNeWPKJuZIdhGlXaLKitby7fOG+2IA2Xnjfm51e+xnY2eAl2R9/HbylKB7GYYg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDLkhRHPgmcz7GPEHF5N6pD7ovIJc8HAbhWTVATl4zC5AiEAuAC+GO9bTetzFgknemr/8OyHzL5kgq0AQwhv2hHAzvA="}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/swagger-enforcer-0.0.1.tgz_1492466188640_0.9478719430044293"}},"1.0.0-alpha.0":{"name":"swagger-enforcer","version":"1.0.0-alpha.0","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit-appdev/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit-appdev/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit-appdev/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"b766d539253bb810d21165f82ea75661f6091882","_id":"swagger-enforcer@1.0.0-alpha.0","_shasum":"9d74bc3d645ca552902c06d313d121fae62ccc81","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"shasum":"9d74bc3d645ca552902c06d313d121fae62ccc81","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.0.0-alpha.0.tgz","integrity":"sha512-DgXggPPHKkmSO9CxgNloIbf0IjjY8b6mL9pb9O3nX2rXEH1n2fkuDevZAr3iETcsr9x/Rf3Ru13A6nA+YihzNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRz2H1+yrXuRdtVYnbZQpgcFzLWcedNkAgNQnmtEZ8DAIgR77z+8oYfruWjfPmjgeF3K0wh5bH6khe/QMQdhTQioE="}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/swagger-enforcer-1.0.0-alpha.0.tgz_1493079054914_0.44461682462133467"}},"1.0.0-alpha.1":{"name":"swagger-enforcer","version":"1.0.0-alpha.1","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit-appdev/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit-appdev/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit-appdev/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"3db99b7704e1f5cb7c5c545a33e6c65273b6d3de","_id":"swagger-enforcer@1.0.0-alpha.1","_shasum":"7b1e72306225e94a6735b3977c9b66bb2a616bfc","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"shasum":"7b1e72306225e94a6735b3977c9b66bb2a616bfc","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.0.0-alpha.1.tgz","integrity":"sha512-ESbkw6cjqO/W550mqNCT3NdZGNInU7cmKu4KmE0c7S7YL//2cBpCuAEXoc8gLTQQbSugqLpw/XyB8jLwTtFkRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEysWLNCev6n8Own39j0YW/UU9fab4Z9yAsUN0/7tEnaAiEA+6gK63eKpI6i0QNpx2TVaXfthPS6iYz0aYo1Co21OS8="}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/swagger-enforcer-1.0.0-alpha.1.tgz_1493140786214_0.2324469208251685"}},"1.0.0-alpha.2":{"name":"swagger-enforcer","version":"1.0.0-alpha.2","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit-appdev/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit-appdev/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit-appdev/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"9fb26d4386864218bb3a6b35ccd38f480937d243","_id":"swagger-enforcer@1.0.0-alpha.2","_shasum":"34beaf49c304360070dc5b0169a3925d12e49ae8","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"shasum":"34beaf49c304360070dc5b0169a3925d12e49ae8","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.0.0-alpha.2.tgz","integrity":"sha512-KidyrbLa+oYKugB1jgk7EawK6rYbgcHxrABaEuuc0XsNpHmEN8h4dODVpXubAxZ/aQf1o02UEyej+oVpOXVGeQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFykSnVEDQG9uE+F3XyASjUOd5LpJ4Pv5Di3uIgzlLKGAiB+nFJCOdC7FYNe4qmDIJN7RIi9/gIZn4oD6I3U3loOWQ=="}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/swagger-enforcer-1.0.0-alpha.2.tgz_1493321730075_0.6069632335565984"}},"1.0.0-alpha.4":{"name":"swagger-enforcer","version":"1.0.0-alpha.4","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit-appdev/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit-appdev/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit-appdev/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"6bf8524af7fc682806e1d162aafe36d9bd236c84","_id":"swagger-enforcer@1.0.0-alpha.4","_shasum":"72afe52afd8e59b33bc0e34d04d3aa37393159e7","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"shasum":"72afe52afd8e59b33bc0e34d04d3aa37393159e7","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.0.0-alpha.4.tgz","integrity":"sha512-mR2AirDA0TrSC5dhY4WqBu+vuO5Q1Io75JeEycCMOERPy6qOwohDi41urdSj3xTtgkkW7B2A9wjlMYtLgMsCWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGyTmTWCrCs3ByejQZEzijUV0yjlSC/B/rljQYERSccUAiAoWIoax2Z7xE4phsyW7Yhk2djJs4zJ+eGnxI91aagkoQ=="}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/swagger-enforcer-1.0.0-alpha.4.tgz_1493668913955_0.39749383204616606"}},"1.0.0":{"name":"swagger-enforcer","version":"1.0.0","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit-appdev/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit-appdev/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit-appdev/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"0d62c42bdef49407a4a29459dabe3af5035dce89","_id":"swagger-enforcer@1.0.0","_shasum":"0799bcf14a7f2deb6a7f1e635b3d5476445859c0","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"shasum":"0799bcf14a7f2deb6a7f1e635b3d5476445859c0","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.0.0.tgz","integrity":"sha512-/qGvPtGp8ARqhweCu2BM1p4uiOsSxJgqr6/UYVCjCX+WfEk4NodMYWGYE253Ch0twCYLeBo2do+DfRShlC8vXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHf1XNP22rn1TJStOefs+c4U84WB9FE4UGRume/MPG5qAiEAzLSrgtQrTlcHZV8tkJyt5JcWQJswvmahLj/BhJglQ8I="}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/swagger-enforcer-1.0.0.tgz_1493674778707_0.9379325984045863"}},"1.0.1":{"name":"swagger-enforcer","version":"1.0.1","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit-appdev/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit-appdev/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit-appdev/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"cb7818dae18a4ccb65c34fbefabb673524d3ab18","_id":"swagger-enforcer@1.0.1","_shasum":"baa31a68fa1ce33da9fe30d2ebc7a75d73e4f51f","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"shasum":"baa31a68fa1ce33da9fe30d2ebc7a75d73e4f51f","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.0.1.tgz","integrity":"sha512-KXjN4oRykfySLZajf8XcWfsBzpPuBz8vWoKbbms0BlZRdNxwm1hiMmtfmLWQ+AB8pRXtV1CnSwZAQoOhJGGcSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRvl8mSFzieUxK5mlGcyWLcKXqj02hzJNjU5ubfqMEpAIhANCOiSqPKCcPT4uc511EFREfVyKfUeoZ/g4g/IGLUm3N"}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/swagger-enforcer-1.0.1.tgz_1494615893886_0.8380960756912827"}},"1.0.2":{"name":"swagger-enforcer","version":"1.0.2","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit-appdev/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit-appdev/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit-appdev/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"6d27b2a2e16912ff4e45201ccb4251686bcd37e9","_id":"swagger-enforcer@1.0.2","_shasum":"7e88bda4bb456a4bd9a8b49c9833f7c6c3200ea1","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"shasum":"7e88bda4bb456a4bd9a8b49c9833f7c6c3200ea1","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.0.2.tgz","integrity":"sha512-04Xqnozq66mlmQ77fccOpledtjZUiAcvZg6Ugda1j14acv+R096+PVMge0zO8Oq54whRgfExAoXbv+DyJFsKxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEJ7Tzh5i8Q9c3jWZQ/alWvbn/pioFDK8xF6U7YsHDSsAiB8jyyxXSZhXzBptCxVv6c0raamQQjrkiH0+EJwVJ0zJA=="}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/swagger-enforcer-1.0.2.tgz_1494628352039_0.2953231909777969"}},"1.0.3":{"name":"swagger-enforcer","version":"1.0.3","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit-appdev/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit-appdev/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit-appdev/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"f38a276c5130437355e5e355d2e1ca21215c2531","_id":"swagger-enforcer@1.0.3","_shasum":"422f3ec0e480de8e249c84d21f5dd77b0e5811a5","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"shasum":"422f3ec0e480de8e249c84d21f5dd77b0e5811a5","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.0.3.tgz","integrity":"sha512-eOex4hA1g8Tqr7j2XgkcE9sRoUemofeJoQW44fuMsw5TUPWNoljfjorB1dTYrgMg5414VXSVPqbpV516w6wh8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE8myOIP+arppDJWmBXMuhYYNTOHGtGxHF2QsFqD8Q3sAiEA+JbosxJjhy6UqcHDWhnVvIBSQJdZIuADvj1J2JA0EQM="}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/swagger-enforcer-1.0.3.tgz_1495127764865_0.9533164757303894"}},"1.0.4":{"name":"swagger-enforcer","version":"1.0.4","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit-appdev/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit-appdev/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit-appdev/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"3b9b87880d6d06a9d996be901eb6d7581c9b96a3","_id":"swagger-enforcer@1.0.4","_shasum":"0e1a11620a7f6a48679c8719c24b1f2db6c46196","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"shasum":"0e1a11620a7f6a48679c8719c24b1f2db6c46196","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.0.4.tgz","integrity":"sha512-VraH9ecflcrfLTp6RTKN8qyd8Mw2oObiV/tx3Ok2vYHwzt4RPCGQ4+aA/1RDd1jeOCk0mMelattfaTCVn2vz3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA008CLaCj0pRUiuKFijIc6NzuzRtM0MSsfhq2YA6XlTAiEA37qBSdr9s1/dqBoKilNLJe742/oXR5GhLHBTTY21pxI="}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swagger-enforcer-1.0.4.tgz_1496246366234_0.4356142447795719"}},"1.1.0":{"name":"swagger-enforcer","version":"1.1.0","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"d906da521a128e583a2dd7e806c2967dc7ce7ca6","_id":"swagger-enforcer@1.1.0","_shasum":"fa293126ad7847368106c262d36b54e9ede9be12","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"shasum":"fa293126ad7847368106c262d36b54e9ede9be12","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.1.0.tgz","integrity":"sha512-nAtIfJrbaKsUXvlxTd3/zJ2z3XqVSKMHUiXcir7LkOaTl86pCr1KbbogtgjyCVd9iSE5xahbl09c/uo43Pm6NQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxBAwV3fFaZMUaUmJkedov4zEDkcd8YsfW8AzatS785wIgBixuWeWFTIDZOsZ3u3AUtllr62SZmm69GUQmjOpcad0="}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swagger-enforcer-1.1.0.tgz_1496271814656_0.697555833728984"}},"1.1.1":{"name":"swagger-enforcer","version":"1.1.1","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"c13bb469e59c246471467f8de1da71e748210dcb","_id":"swagger-enforcer@1.1.1","_shasum":"2e3eaa063fd110750e270322c1feefa39c78bc68","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"shasum":"2e3eaa063fd110750e270322c1feefa39c78bc68","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.1.1.tgz","integrity":"sha512-0UkG/C4V9ccV2PSdWP7RMiBsSdrd1hYtQt/AXoqCHBu1TTZFmX+G9ZqquwQikQUyFmUg0EiN4LXcKXMaFNMapg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIASdu7DVvqFjhchHSwYyghmxgpqcpGzrVxzr3Nwfqa5KAiBfQB78BTZhltOzV1W0wEn8doKzfCV5ws8zIK9jKUg5TA=="}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swagger-enforcer-1.1.1.tgz_1496273511313_0.26102026947773993"}},"1.1.2":{"name":"swagger-enforcer","version":"1.1.2","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"ce13b4e61c274e67ccb163fe4e660c3b48afd9db","_id":"swagger-enforcer@1.1.2","_shasum":"aeeaffad38e07269a2d9c8820a6c3a126b0b4807","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"shasum":"aeeaffad38e07269a2d9c8820a6c3a126b0b4807","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.1.2.tgz","integrity":"sha512-UmsMjp8W+NWdf0amHJTXIBAFF5Ctk9mlWD1Aq9JSNu2wxHcpzF5k2CSHnuOG30mPWNdF/0mpWusGVTX9pUAYrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzfoC6niVxB/aXvecUe9xpWrGui5m2DgMLcUsG6pBSxwIgB6HL90L60qMlWSa3ZyoBkN2IFeDwzDBzEFOpQOTZ7Ag="}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swagger-enforcer-1.1.2.tgz_1496943665557_0.6415274206083268"}},"1.2.0":{"name":"swagger-enforcer","version":"1.2.0","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"94fd03b82c9dc61aef39aa157ff56ef87eacffc2","_id":"swagger-enforcer@1.2.0","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"integrity":"sha512-wIMys2409IS2cEZxLTpz5n0Ge6Lc/Q0hmNOKcntahg4GyZmcoxl+jezHgZDeMufpEIQfHgbgKaSbMyNQNa2iLA==","shasum":"5a2e7fdc680ceb6b94cd33ea518f3e02236de940","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHsDiQtxTLhzsCxrwixfi6qB370HxYrOsY+Rhx89uViHAiEAoqn4rUqD0DTuSUTgzN73jHGq4Rk3lH4Ho52M7Y4CvGc="}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swagger-enforcer-1.2.0.tgz_1502230579364_0.5229257098399103"}},"1.3.0":{"name":"swagger-enforcer","version":"1.3.0","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"c14ddc8016b9643e2ce2f28b3ae14f92c8d55ca0","_id":"swagger-enforcer@1.3.0","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"integrity":"sha512-CkZSx2/aJPiFW0wQ5m6SWqEypLTLpzQWx3NfJcuUJ06h2VpYWE5kijzLbRWK0VWMIivYK/s7BzJgKnuearLbGA==","shasum":"66dba7172eeba818efce957ad29e6905c89ebe0f","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.3.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEftCp1bdZNkkga1wYVDl1qHvLEquUHv6c4LyvFyLzWuAiEAyQv3cmMicWm3ctuyfc94jyi9M1OOfoZ1vStSEQMzaRM="}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swagger-enforcer-1.3.0.tgz_1502742249537_0.09689567610621452"}},"1.3.1":{"name":"swagger-enforcer","version":"1.3.1","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"6760f48860f40bfe966ce6be494acefb6b37525f","_id":"swagger-enforcer@1.3.1","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"integrity":"sha512-BZwoQ28ygXX+5ZbpVdqnvKyh2GVdu6QSwTgF3maJ8PuAgPIjHIPU+FgFl+GoDMGypCSZP/Wa047sP0qXkrNu7A==","shasum":"73260164316571d28f53b2ac0def7c5a75d5cb85","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.3.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE8thm1bUqSLTVPfJSqtuTpyuR+8GcHuZGXVrOkkzwz+AiEAxU1k0+lc1lWrMr2Vs3eFoH3UutoTXCotGiFOyPEkVA4="}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swagger-enforcer-1.3.1.tgz_1502745313257_0.8899230039678514"}},"1.3.2":{"name":"swagger-enforcer","version":"1.3.2","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"87d10f877ed4452c42155aa2c5306c4a2eee896b","_id":"swagger-enforcer@1.3.2","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"integrity":"sha512-yKqNYVFumfk4Ntti3oXSKsyTkrvGlGgVere2tbYEn4wmfGF2oPb9fTifQOTZrjPkOcXyvyhknuTu+mLa9pYABA==","shasum":"2719ae03b9524865e24fe166b436121faa9eb993","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.3.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOI+PoasrE30IajjMZIjEHEs6VcW2EpnslNKnoSgg7SQIgXiD9w++7CnwEx7HJT9Vq1FRW0yXQ63Kxu8sp59qdNXM="}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swagger-enforcer-1.3.2.tgz_1502747039892_0.42720776912756264"}},"1.3.3":{"name":"swagger-enforcer","version":"1.3.3","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"59a741576ccacfe8fcd9be49b79e94b45a499b61","_id":"swagger-enforcer@1.3.3","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"integrity":"sha512-Vy6HJbBBaNkKY+LdeE6RdXWfpMUVDNt4x8hLSA63A+0VVGEv3jojAWq0IQtHP8ZA3AgLGuF1n7+AX73EDiYD4g==","shasum":"1928898f2aba75de7c878ba3052498ebb3eeac85","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.3.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEWIrXyMO5ritJMPgCeN3E0xETOoVo9Fytzb98kFwzZ5AiEA4PE3DRxpbUPiF4MBbKz+1Rx+Dljz3WhjJWtXSaC9AJE="}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swagger-enforcer-1.3.3.tgz_1502758833373_0.11055142851546407"}},"1.3.4":{"name":"swagger-enforcer","version":"1.3.4","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"2b31de5152b66202511d242a49853464f65253cc","_id":"swagger-enforcer@1.3.4","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"integrity":"sha512-pCpXx829LaKrKjjGwnvfQxh/9lK98sYdi6S+OeqMoCwOncHhtbNps251VrpwhmiTxolu8dodmnEINvr3H0qRVw==","shasum":"176692f67a4809115a0f1b0c252046bd29078304","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.3.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICg/GUT6wCr141MhzbnevpXQAJgPh8d/KKSs99ov6CRcAiEAxH7XZitsFVe05RqLDjs/ZaCrJLk3ftEvJ/z8oDwM1Jk="}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swagger-enforcer-1.3.4.tgz_1502759315194_0.66831946070306"}},"1.3.5":{"name":"swagger-enforcer","version":"1.3.5","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"276dcf9d2033abac45e15efcea9b1d3b57e5fb2d","_id":"swagger-enforcer@1.3.5","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"integrity":"sha512-NoYV3Hf9s0t5tUxBwHmdusl+4oY1UMYToUrU5GtkmSLKdYjEhrfRd2rcY9pzDComuPQngjK9N+vdwqOJiYRxlA==","shasum":"31c6dd5361ef87cee4ba532a17b7af6ba428a8a4","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.3.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSY4OfRWjMBD44m4PmNIjZxyrzTvQYDH2LncLkQ0FsIQIgeG10YHJ1YqeE4H1XW8Ix09nSwS8X5P79fjMSzpE+kWA="}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swagger-enforcer-1.3.5.tgz_1502811939757_0.840376497944817"}},"1.3.6":{"name":"swagger-enforcer","version":"1.3.6","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"8479ebc6efd87f6779cd1f94e0565eb5eff28329","_id":"swagger-enforcer@1.3.6","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"integrity":"sha512-VSeOeKHs6o3InRqKfcnxXcp/HOqPWomkAoELhWerNbgPYD3LsQDiipnmNyfUr3CEMfunafoH4xNT9Zj/K7xsJQ==","shasum":"845b8976f232bcd30491af7961c4a6f29cb6ca2e","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.3.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDE81WfqAlxL8oQFst0rBZJ2OpudFSebMp78y4M/YvEdQIgM7uwCN9q1Jit7hPvVuqyrHuALaaBZm2Ksdq+/8yCDlg="}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swagger-enforcer-1.3.6.tgz_1502819854269_0.02467165095731616"}},"1.3.7":{"name":"swagger-enforcer","version":"1.3.7","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"2a46b9e0a2639de1499e8eda26c53640bddeffd1","_id":"swagger-enforcer@1.3.7","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"integrity":"sha512-K3z+WDlQwmDYqflorsWQF7+XO/R5BCFOUK+q80M+cYYzeSBwGwyxJjO+RIKj+w7aOa1747Gyi43cSNSDscL/Yw==","shasum":"7fca749ad8ea3cd53251839d2bb3a02b510b16dd","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.3.7.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFPF/bWMeXEIR13W0nsCzKWTp90v0JE/SuZb6TrtpCrgAiEAtSNq7woOytkLFuKi5+5extYRiSX2ZIE0yNPZ7JkHWbo="}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swagger-enforcer-1.3.7.tgz_1502820637811_0.5711248447187245"}},"1.3.8":{"name":"swagger-enforcer","version":"1.3.8","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"fcd34b3a140e3097bca1d0ed3e62a990cb2430cb","_id":"swagger-enforcer@1.3.8","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"integrity":"sha512-Vm0r0mGhegYZ7GMBAzFDZWZlzUYBarJKuH/9slix8VuFs7OO7fw8KwG0iFtnyuf/Vs8EeYWojlJAxsWI61hiSQ==","shasum":"06967e7e7ad5bebab6c687cabcf0ff5c019a0834","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.3.8.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBEBLENqQGupQk2lAwz4rChnb9DKIKwm1LvIflBc5z7nAiEAoMue60vIaFzoFKiVUFr1W2ZjK6gf6no2bWDzJYq/nW4="}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swagger-enforcer-1.3.8.tgz_1503089249412_0.060730819357559085"}},"1.3.9":{"name":"swagger-enforcer","version":"1.3.9","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"fdb011c5c0d3c885108abea23d5874943d18499c","_id":"swagger-enforcer@1.3.9","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"integrity":"sha512-kDAO5S9k3b78OT3yXLamNgdLkNuG+HwZwu0o7j/TfNydvKjUO8ZIunOKBrph9u7O3tB0ba/xPF6sFfETpKJ25Q==","shasum":"c181adb4223295e621f47ae644d01336201788a9","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.3.9.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDt6K1fKwzZZ2X5tnGedvgISmj09iBWLbzEscy4Z6Zv8AiACo+QaRWK0TYe/TFMsydaXB8FMXYxgnjylcK1h3QSM4A=="}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swagger-enforcer-1.3.9.tgz_1503506044659_0.9712269767187536"}},"1.3.10":{"name":"swagger-enforcer","version":"1.3.10","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"0aeebce7d696b26a727cbc2f5ebeb2c4b69395bc","_id":"swagger-enforcer@1.3.10","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"integrity":"sha512-L1M7s0wNQ3wwGz/bi2tCyPZ5DFk/AmbhC6nryzhLQ8lIa+O81Qz0vyaSAFEG2Ga+95GEBB8cxaWXK64pIZ6RtQ==","shasum":"975dcf00bbdb9bbedc1f67275677cd633118f856","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.3.10.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGCpxkcpczTU+RZ8lQScbZXNN0zzqzw+bNG2OC0tM6K9AiEA+RvubsmYcl3MiIzaKRicGZiK2FdfUBJSf80XXsCNKCI="}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swagger-enforcer-1.3.10.tgz_1504717701010_0.1300103145185858"}},"1.3.11":{"name":"swagger-enforcer","version":"1.3.11","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"da9bbd33ae219b06aa4a8b08f932d2bb6faef97a","_id":"swagger-enforcer@1.3.11","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"integrity":"sha512-PNyNtYWAOdrw79coOsxmSYMX/EP4ZWG6ZufV7iKKvh6R0X576sRDrF4eZweK8fJfJ2VMsMsWchWMswoRoZaW9Q==","shasum":"aa2bb3584a544a2e25af63bcbee64844cfa2156c","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.3.11.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxr0u/Ie38KJnZ/oje2JQP/F+Hr06tPedG4lP8E6phaAIhAPInWm5KcVYfG0lbf8IWsblqDpmiLzSCfPFugdKscA/s"}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swagger-enforcer-1.3.11.tgz_1504736589719_0.8105021545197815"}},"1.3.12":{"name":"swagger-enforcer","version":"1.3.12","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"521f9f0a8ab56d0c94fb018535beb9050b4a9627","_id":"swagger-enforcer@1.3.12","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"integrity":"sha512-h3EUm2mVUNFid1myyeiqxIZlMdA7w7NeaY4vIu+PwKBebVdry5vHL+HOp6BUwor73pnwHnrjqNlNUT4/iDFPWg==","shasum":"5ff76e2e8f7d7a1ca331d57f472caeb3768e352d","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.3.12.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGkZWspNSkwNSALgByamZ71C4dM0ctoWIe5Tf16+B7nBAiEAzgZa2bNBJ27xcOrAS7K3Nw5va/3DVGqNoh8bO/yvctY="}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swagger-enforcer-1.3.12.tgz_1506982833940_0.04117491189390421"}},"1.3.13":{"name":"swagger-enforcer","version":"1.3.13","description":"Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha test/*.js","coverage":"nyc --reporter=html mocha test/*.js","coverage:report":"nyc mocha test/*.js && nyc report --reporter=text-lcov | coveralls"},"repository":{"type":"git","url":"git+https://github.com/byu-oit/swagger-enforcer.git"},"keywords":["swagger","response","build","compose","validate"],"author":{"name":"James Speirs"},"license":"Apache-2.0","bugs":{"url":"https://github.com/byu-oit/swagger-enforcer/issues"},"homepage":"https://github.com/byu-oit/swagger-enforcer#readme","devDependencies":{"chai":"^3.5.0","coveralls":"^2.13.0","mocha":"^2.4.5","nyc":"^10.2.0"},"dependencies":{"fully-typed":"^1.1.3"},"gitHead":"be92377517519a99e6dada0a33adabb4a20f933c","_id":"swagger-enforcer@1.3.13","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"gi60s","email":"james.speirs@gmail.com"},"dist":{"integrity":"sha512-iyI/pxByqIO2WXVWpE/g8goUJJootTipoL3IjHvRlgVOMIunzMqhVkraLvRWv3flflMpbRw/hGVpGg4BmpYgjQ==","shasum":"868e3fd342d6ad22b46cb8d4bd180471937e2919","tarball":"https://registry.npmjs.org/swagger-enforcer/-/swagger-enforcer-1.3.13.tgz","fileCount":29,"unpackedSize":194062,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYwO3CRA9TVsSAnZWagAAHt4P/2BsC92T0vocl6hbRsL+\nCTigyKaNd5NFBoJ3nII/VaYeuMTAlo3GJVy1eG1QNG/pAyLmeqatPZ7suw3y\nH8YoT7qaJe8bB//o9kR8set5ROuYKu30DHAUNYODN1fu95dpxctnAnFbZnok\nSa4WREKTlFgZoaw8dhWNEb4I0XmuqE5R8ehBI6Awzb8jkHxyxi08xor0bvET\nH8032B2LY+YWCK09FNyPwXHeYReLwPu0NRtev3bbEB9mpObt/YlNZVWgt6lu\n2+m92NGXxgT2D25r/3MlqhwixkAN+HEBULqAEv/m8oTliu18653S7Fsm/8lK\n99rG/yTQuZtAx4h6kTYTcQMwPnAR+qoCc+e5wuruDTLU+dbE61XvKsHwUF5P\nyEVN1kvoGR59YY3pjSfTH7LLzv45/RhRcd79+hfoZS4vzBsXZVM4mLma/GSx\nZWbLnViVTK0b9pA04rH7+7UojVh7hFwhxlGGASFK8tQ8UJlqehKlf4X7ZdEK\nbAMZRHOHHwYJ4vHOCqu6MyaT76zNkAaP6bVsZSGEBYrZLzTGXHybiN+YwNKP\nvXQJBcq3dK3BhBcNKbIEe1lzU8TtgLy4LRw4l2zpspBwt+z8O6iGtYfG6wdk\nzBtpbDgAJcI0psat3l66ZyR9ddukv6+mpKAKuZe+wT+cV3fw9lwc7H9oR7Rj\n5StZ\r\n=Mr8H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOFAAJUJE2G8vszg2JGFzXTWpxU4Wd8Tl2d9N9hBZ0tgIhAMOcvUD1Iz9LqdSabmbDlXL3HYw2CI77YgtMTh7JYbAU"}]},"maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/swagger-enforcer_1.3.13_1549992886407_0.39453906898195057"},"_hasShrinkwrap":false}},"readme":"[![Build Status](https://travis-ci.org/byu-oit/swagger-enforcer.svg?branch=master)](https://travis-ci.org/byu-oit/swagger-enforcer)\n[![Coverage Status](https://coveralls.io/repos/github/byu-oit/swagger-enforcer/badge.svg?branch=master)](https://coveralls.io/github/byu-oit/swagger-enforcer?branch=master)\n\n**THIS PROJECT HAS BEEN DEPRECATED IN FAVOR OF [OPENAPI-ENFORCER](https://www.npmjs.com/package/openapi-enforcer) AND [OPENAPI-ENFORCER-MIDDLEWARE](https://www.npmjs.com/package/openapi-enforcer-middleware) THAT PROVIDE BETTER TOOLS, CUSTOMIZABILITY, AND SUPPORTS THE OPEN API SPECIFICATION VERSIONS 2 AND 3.**\n\n# Swagger-Enforcer\n\nAutomatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.\n\nTo validate while building ([enforce](#enforcerprototypeenforce)), this package requires support of the [native Proxy interface](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy). For NodeJS that means version 6.0.0 and newer. If your node version is lower than that you can still validate the final value ([validate](#enforcerprototypevalidate)) but will be unable to [enforce](#enforcerprototypeenforce) while building.\n\n## Contents\n\n- [Examples](#examples)\n- [API](#api)\n- [Enforcement Options](#enforcement-options)\n\n## Examples\n\n#### Example 1\n\n**Validate While Building ([enforce](#enforcerprototypeenforce))**\n\n```js\nconst Enforcer = require('swagger-enforcer');\n\n// a schema to enforce\nconst schema = {\n    type: 'object',\n    properties: {\n        num: {\n            type: 'number',\n            minimum: 0\n        },\n        str: {\n            type: 'string',\n            enum: ['foo', 'bar', 'baz'],\n            default: 'foo'\n        }\n    }\n};\n\n// define swagger schema definitions\nconst definitions = {};\n\n// define enforcer options\nconst options = { useDefaults: true };\n\n// create enforcer instance that defines which rules to enforce\nconst enforcer = Enforcer(schema, definitions, options);\n\n// build an object that enforces the schema\nconst obj = enforcer.enforce();\n\nconsole.log(obj);       // { str: 'foo' } - this is because 'str' had a default value: \nobj.num = 5;            // validates successfully and value is set\nobj.str = 'abc';        // throws an error because 'abc' is not in enum\n```\n\n#### Example 2\n\n**Validate the Final Value ([validate](#enforcerprototypevalidate))**\n\n```js\nconst Enforcer = require('swagger-enforcer');\n\n// a schema to enforce\nconst schema = {\n    type: 'object',\n    properties: {\n        num: {\n            type: 'number',\n            minimum: 0\n        },\n        str: {\n            type: 'string',\n            enum: ['foo', 'bar', 'baz'],\n            default: 'foo'\n        }\n    }\n};\n\n// create enforcer instance that defines which rules to enforce\nconst enforcer = Enforcer(schema, {}, { useDefaults: true });\n\n// build the object\nconst obj = {\n    num: 5,\n    str: 'abc'\n};\n\n// validate the object\nenforcer.validate(schema, obj);  // throws an error because 'abc' is not in enum\n```\n\n\n## API\n\n- [Enforcer (Constructor)](#enforcer)\n    - [Enforcer.prototype.enforce](#enforcerprototypeenforce) - Create an object with enforcement.\n    - [Enforcer.prototype.errors](#enforcerprototypeerrors) - Run a full validation of an value and get back an array of Error objects.\n    - [Enforcer.prototype.validate](#enforcerprototypevalidate) - Run a full validation of an value.\n- [Enforcer.applyTemplate](#enforcerapplytemplate) - Create an unenforced object with templates and defaults applied.\n    - [defaults](#enforcerapplytemplatedefaults)\n- [Enforcer.injectParameters](#enforcerinjectparameters) - Replace string parameters.\n    - [defaults](#enforcerinjectparametersdefaults) - Set injectParameter defaults\n- [Enforcer.is](#enforcerisbinary) - Type checking.\n    - [binary](#enforceris)\n    - [boolean](#enforcerisboolean)\n    - [byte](#enforcerisbyte)\n    - [date](#enforcerisdate)\n    - [dateTime](#enforcerisdatetime)\n    - [integer](#enforcerisinteger)\n    - [number](#enforcerisnumber)\n- [Enforcer.release](#enforcerrelease) - Create an unenforced copy of an enforced object.\n- [Enforcer.same](#enforcersame) - Check if two values are equivalent.\n- [Enforcer.to](#enforcerto) - Type conversion.\n    - [binary](#enforcertobinary)\n    - [boolean](#enforcertoboolean)\n    - [byte](#enforcertobyte)\n    - [date](#enforcertodate)\n    - [dateTime](#enforcertodatetime)\n    - [integer](#enforcertointeger)\n    - [number](#enforcertonumber)\n\n### Enforcer\n\nProduce an enforcer instance that can enforce a swagger schema while you build the object and/or that validates the object after it is built.\n\n**Signature:** `Enforcer (schema [, definitions [, options ] ]) : Enforcer`\n\n**Parameters:**\n\n* *schema* - The swagger schema to use for enforcement of values.\n\n* *definitions* - An object containing definitions by name. Definitions are only necessary if using discriminators.\n\n    ```\n    {\n        Pet: {\n            type: 'object',\n            discriminator: 'petType',\n            properties: {\n                name: {\n                    type: 'string'\n                },\n                petType: {\n                    type: 'string'\n                }\n            },\n            required: ['name', 'petType']\n        },\n        Cat: {\n            type: 'object',\n            allOf: [\n                {\n                    $ref: '#/definitions/Pet'\n                },\n                {\n                    type: 'object',\n                    properties: {\n                        name: {\n                            type: 'string'\n                        },\n                        petType: {\n                            type: 'string'\n                        },\n                        huntingSkill: {\n                            type: string\n                        }\n                    }                \n                }\n            ]\n        }\n    }\n    ```\n\n* *options* - [Enforcement options](#enforcement-options). Defaults to:\n\n    ```\n    {\n        autoFormat: false,\n        enforce: {\n            enum: true,\n            maxItems: true,\n            minItems: false,\n            uniqueItems: true,\n            multipleOf: true,\n            maximum: true,\n            minimum: true,\n            maxLength: true,\n            minLength: true,\n            pattern: true,\n            additionalProperties: true,\n            maxProperties: true,\n            minProperties: false,\n            required: false\n        },\n        useDefaults: false\n    }\n    ```\n\n**Returns** - An enforcer instance with the following prototype methods: [Enforcer.prototype.enforce](#enforcerprototypeenforce) and [Enforcer.prototype.validate](#enforcerprototypevalidate).\n\n[Back to API Table of Contents](#api)\n\n### Enforcer.prototype.enforce\n\nValidate an object while you build it.\n\nThis method requires that your running a version of JavaScript that supports the [native Proxy interface](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy).\n\n**Signature:** `.enforce ( [ initial ]) : *`\n\n**Parameters:**\n\n* *initial* - An optional value to initialize the enforcement with.\n \n**Returns** - A proxied object or array if the schema is for an object or an array. Any modifications to the object or array will automatically be run through a performance optimized validation sequence. If the schema is for a non-object or non-array then the value cannot be proxied.\n\n**Example** - [See Example 1](#example-1)\n\n[Back to API Table of Contents](#api)\n\n### Enforcer.prototype.errors\n\nValidate a value as if it were fully built. An array is returned with any errors that were encountered.\n\n**Signature:** `.errors ( value ) : Error[]`\n\n**Parameters:**\n\n* *value* - An value to validate.\n \n**Returns** - An array of Error objects.\n\n[Back to API Table of Contents](#api)\n\n### Enforcer.prototype.validate\n\nValidate a value as if it were fully built. If validation fails then an error will be thrown.\n\n**Signature:** `.validate ( value ) : undefined`\n\n**Parameters:**\n\n* *value* - An value to validate.\n \n**Returns** - Undefined. If validation fails then an error will be thrown.\n\n**Example** - [See Example 2](#example-2)\n\n[Back to API Table of Contents](#api)\n\n### Enforcer.applyTemplate\n\nBuild an unenforced object from a schema's `x-template` definitions, applying parameters to the templates to to generate valid values.\n\n**Signature:** `Enforcer.applyTemplate ( schema, definitions, params [, options, [, initialValue ] ] ) : object`\n\n**Parameters:**\n\n* *schema* - The schema to build objects from.\n\n* *definitions* - The swagger definitions object. This is necessary if using discriminators, otherwise it can safely be set to an empty object `{}` or `null`.\n\n* *params* - An object defining key value pairs for parameter enforcement.\n\n* *options* - The options to use while building the object:\n\n    - *autoFormat* - Any value set using `x-variable` will will automatically by type cast and formatted when possible to match the schema. Defaults to `true`.\n\n    - *defaultsUseParams* - If applying `useDefaults` is set to true and this property is set to true then parameter replacement will also be set for defaults. Defaults to `true`.\n    \n    - *ignoreMissingRequired* - If set to `false` and any requires are missing in the schema then that part of the template will not be stampped. Defaults to `true`\n    \n    - *replacement* - Set the parameter replacement style to one of `colon`, `doubleHandlebar`, `handlebar`, or a custom `Function`. Defaults to `handlebar`.\n\n    - *useDefaults* - Set to true to use `default` property in addition to `x-template` property to generate templates. Defaults to `true`.\n    \n    - *useTemplates* - Set to `true` to use the `x-template` property to produce string replacements. Defaults to `true`.\n    \n    - *useVariables* - Set to `true` to use the `x-variable` property to place values. Defaults to `true`.\n\n* *initialValue* - An optional value to start building the object from. If provided it must match the schema's type.\n \n**Returns** - An unenforced object with the template applied.\n    \n**Example**\n\n```js\nconst schema = {\n    type: 'object',\n    properties: {\n        firstName: {\n            type: 'string',\n            'x-template': '{firstName}'\n        },\n        fullName: {\n            type: 'string',\n            'x-template': '{firstName} {lastName}'\n        },\n        lastName: {\n            type: 'string',\n            'x-template': '{lastName}'\n        },\n        birthday: {\n            type: 'string',\n            format: 'date',\n            'x-variable': 'birthday'\n        },\n        roles: {\n            type: 'array',\n            items: {\n                type: 'string'\n            },\n            default: []\n        }\n    }\n};\n\nconst params = {\n    birthday: new Date(),\n    firstName: 'Bob',\n    lastName: 'Smith'\n};\n\nconst x = Enforcer.applyTemplate(schema, null, params);\n\nconsole.log(x);         //  {\n                        //      firstName: 'Bob',\n                        //      fullName: 'Bob Smith',\n                        //      lastName: 'Smith',\n                        //      birthday: '2000-01-01'\n                        //      roles: []\n                        //  }\n```\n\n[Back to API Table of Contents](#api)\n\n### Enforcer.applyTemplate.defaults\n\nAn object that has the defaults to use for the applyTemplate. The defaults can be overwritten for this object and those changes may affect any future calls to [Enforcer.applyTemplate](#enforcerapplytemplate).\n\n```js\nEnforcer.applyTemplate.defaults = {\n    autoFormat: true,\n    defaultsUseParams: true,\n    useDefaults: true,\n    useTemplates: true,\n    useVariables: true,\n    replacement: 'handlebar'\n};\n```\n\n[Back to API Table of Contents](#api)\n\n### Enforcer.injectParameters\n\nA static method that will find and replace string parameters with new values.\n\n**Signature:** `Enforcer.injectParameters( value, parameters [, options ]) : undefined`\n\n**Parameters:**\n\n* *value* - The value to begin traversing and looking for strings to replace.\n\n* *parameters* - An object with keys and values that represent what to replace in each string.\n \n* *options* - Configuration options:\n\n    * *mutate* - Set to `true` to mutate the passed in object, otherwise generate a copy. Defaults to `false`.\n\n    * *replacement* - The replacement method to use. This can be one of `colon`, `doubleHandlebar`, `handlebar`, or a custom `Function`. Defaults to `handlebar`.\n    \n**Returns** the value after parameter injection.\n    \n**Example**\n\n```js\nconst o = {\n    foo: '{name} is {age} years old {when}'\n};\n\nconst params = {\n    name: 'Bob',\n    age: 25,\n    when: 'today'\n};\n\nconst x = Enforcer.injectParameters(o, params);\n\nconsole.log(x.foo);         // 'Bob is 25 years old today'\n```\n\n[Back to API Table of Contents](#api)\n\n### Enforcer.injectParameters.defaults\n\nAn object that has the defaults to use for the parameterInjection. The defaults can be overwritten for this object and those changes may affect any future calls to [Enforcer.injectParameters](#enforcerinjectparameters).\n\n```js\nEnforcer.injectParameters.defaults = {\n    mutate: false,\n    replacement: 'handlebar'\n};\n```\n\n### Enforcer.is\n\nA group of static methods that determine if a value falls into one of several categories.\n\n- [binary](#enforcerisbinary)\n- [boolean](#enforcerisboolean)\n- [byte](#enforcerisbyte)\n- [date](#enforcerisdate)\n- [dateTime](#enforcerisdatetime)\n- [integer](#enforcerisinteger)\n- [number](#enforcerisnumber)\n    \n#### Enforcer.is.binary\n\nCheck to see if a string is an 8-bit binary string consisting only of `0` and `1`.\n\n**Signature:** `Enforcer.is.binary( value ) : boolean`\n\n**Parameters:**\n\n- *value* - The value to test.\n\n**Returns:** `true` if a binary string, otherwise `false`.\n\n```js\nEnforcer.is.binary('00101000');    // true\n```\n\n[Back to API Table of Contents](#api)\n    \n#### Enforcer.is.boolean\n\nCheck to see if a string equals `'true'` or `'false'`.\n\n**Signature:** `Enforcer.is.boolean( value ) : boolean`\n\n**Parameters:**\n\n- *value* - The value to test.\n\n**Returns:** `true` if `'true'` or `'false'`, otherwise `false`.\n\n```js\nEnforcer.is.boolean('true');    // true\n```\n\n[Back to API Table of Contents](#api)\n    \n#### Enforcer.is.byte\n\nCheck to see if a string is a base64 encoded string.\n\n**Signature:** `Enforcer.is.base64( value ) : boolean`\n\n**Parameters:**\n\n- *value* - The value to test.\n\n**Returns:** `true` if a base64 encoded string, otherwise `false`.\n\n```js\nEnforcer.is.byte('aGVsbG8=');    // true\n```\n\n[Back to API Table of Contents](#api)\n    \n#### Enforcer.is.date\n\nCheck to see if a string is a date string.\n\n**Signature:** `Enforcer.is.date( value ) : boolean`\n\n**Parameters:**\n\n- *value* - The value to test.\n\n**Returns:** `true` if a string in the date format `YYYY-MM-DD`, otherwise `false`.\n\n```js\nEnforcer.is.date('2000-01-01');    // true\n```\n\n[Back to API Table of Contents](#api)\n    \n#### Enforcer.is.dateTime\n\nCheck to see if a string is a date-time encoded string.\n\n**Signature:** `Enforcer.is.dateTime( value ) : boolean`\n\n**Parameters:**\n\n- *value* - The value to test.\n\n**Returns:** `true` if a date in ISO string format `YYYY-MM-DDTHH:mm:ss:uuuZ`, otherwise `false`.\n\n```js\nEnforcer.is.dateTime('2000-01-01T00:00:00.000Z');    // true\n```\n\n[Back to API Table of Contents](#api)\n    \n#### Enforcer.is.integer\n\nCheck to see if a string is an integer encoded string.\n\n**Signature:** `Enforcer.is.integer( value ) : boolean`\n\n**Parameters:**\n\n- *value* - The value to test.\n\n**Returns:** `true` if the string is an encoded integer, otherwise `false`.\n\n```js\nEnforcer.is.integer('15');    // true\n```\n\n[Back to API Table of Contents](#api)\n    \n#### Enforcer.is.number\n\nCheck to see if a string is an number encoded string.\n\n**Signature:** `Enforcer.is.number( value ) : boolean`\n\n**Parameters:**\n\n- *value* - The value to test.\n\n**Returns:** `true` if the string is an encoded number, otherwise `false`.\n\n```js\nEnforcer.is.number('15.27');    // true\n```\n\n[Back to API Table of Contents](#api)\n    \n### Enforcer.release\n\nTake an enforced object and get it's equivalent non-enforced object.\n\n**Signature:** `Enforcer.release( value ) : *`\n\n**Parameters:**\n\n- *value* - The value to release from enforcement.\n\n**Returns:** The released value.\n\n```js\nconst Enforcer = require('swagger-enforcer');\n\nconst enforcer = Enforcer();\n\nconst schema = {\n    type: 'array',\n    items: {\n        type: 'number'\n    }\n};\n\nconst array = enforcer.enforce(schema, []);\n\ntry {\n    // throws an error because the item is not a string\n    array.push('a');   \n} catch (e) {\n    console.error(e.stack);\n}\n\n// release the enforcement\nconst released = Enforcer.release(array);\n\n// no error thrown\nreleased.push('a');\n```\n\n[Back to API Table of Contents](#api)\n\n### Enforcer.same\n\nCheck to see if two values are similar, including the evaluation of objects and arrays.\n\n**Signature:** `Enforcer.is.same( value1, value2 ) : boolean`\n\n**Parameters:**\n\n- *value1* - The first value to compare.\n\n- *value2* - The second value to compare.\n\n**Returns:** `true` if both values are similar, otherwise `false`.\n\n```js\nEnforcer.same({ a: 1, b: 2 }, { b: 2, a: 1 });    // true\n```\n\n[Back to API Table of Contents](#api)\n\n### Enforcer.to\n\nA group of static methods that can be used to convert values into their acceptable swagger type equivalents.\n\n- [binary](#enforcertobinary)\n- [boolean](#enforcertoboolean)\n- [byte](#enforcertobyte)\n- [date](#enforcertodate)\n- [dateTime](#enforcertodatetime)\n- [integer](#enforcertointeger)\n- [number](#enforcertonumber)\n    \n#### Enforcer.to.binary\n\nConvert a value into an 8-bit binary string.\n\n**Signature:** `Enforcer.to.binary( value ) : string`\n\n**Parameters:**\n\n- *value* - The value to convert. The value can be a boolean, number, string, or buffer.\n\n**Returns:** An 8-bit binary string.\n\n```js\nEnforcer.to.binary(1);    // '00000001'\n```\n\n[Back to API Table of Contents](#api)\n    \n#### Enforcer.to.boolean\n\nConvert a value into a boolean.\n\n**Signature:** `Enforcer.to.boolean( value ) : string`\n\n**Parameters:**\n\n- *value* - The value to convert. The value can be of any type.\n\n**Returns:** A boolean.\n\n```js\nEnforcer.to.boolean('hello');    // true\n```\n\n[Back to API Table of Contents](#api)\n    \n#### Enforcer.to.byte\n\nConvert a value into an base64 encoded string.\n\n**Signature:** `Enforcer.to.byte( value ) : string`\n\n**Parameters:**\n\n- *value* - The value to convert. The value can be a boolean, number, string, or buffer.\n\n**Returns:** A base64 encoded string.\n\n```js\nEnforcer.to.byte('hello');    // 'aGVsbG8='\n```\n\n[Back to API Table of Contents](#api)\n    \n#### Enforcer.to.date\n\nConvert a value into a date encoded string.\n\n**Signature:** `Enforcer.to.date( value ) : string`\n\n**Parameters:**\n\n- *value* - The value to convert. The value can be a Date, number, or string.\n\n**Returns:** A date encoded string of the format `YYYY-MM-DD`.\n\n```js\nEnforcer.to.date(new Date(2000, 0, 1, 0, 0, 0, 0));    // '2000-01-01'\n```\n\n[Back to API Table of Contents](#api)\n    \n#### Enforcer.to.dateTime\n\nConvert a value into a date encoded string.\n\n**Signature:** `Enforcer.to.dateTime( value ) : string`\n\n**Parameters:**\n\n- *value* - The value to convert. The value can be a Date, number, or string.\n\n**Returns:** A date encoded string of the format `YYYY-MM-DDTHH:mm:ss:uuuZ`.\n\n```js\nEnforcer.to.dateTime(new Date(2000, 0, 1, 0, 0, 0, 0));    // '2000-01-01T00:00:00.000Z'\n```\n\n[Back to API Table of Contents](#api)\n    \n#### Enforcer.to.integer\n\nConvert a value into an integer.\n\n**Signature:** `Enforcer.to.integer( value ) : string`\n\n**Parameters:**\n\n- *value* - The value to convert. The value can be a boolean, number, or numeric string.\n\n**Returns:** A number that is an integer.\n\n```js\nEnforcer.to.integer('15');    // 15\n```\n\n[Back to API Table of Contents](#api)\n    \n#### Enforcer.to.number\n\nConvert a value into an number.\n\n**Signature:** `Enforcer.to.number( value ) : string`\n\n**Parameters:**\n\n- *value* - The value to convert. The value can be a boolean, number, or numeric string.\n\n**Returns:** A number.\n\n```js\nEnforcer.to.number('1.23');    // 1.23\n```\n\n[Back to API Table of Contents](#api)\n\n## Enforcement Options\n\nThe following object shows the defaults for enforcement:\n\n```\n{\n    autoFormat: false,\n    enforce: {\n        enum: true,\n        maxItems: true,\n        minItems: false,\n        uniqueItems: true,\n        multipleOf: true,\n        maximum: true,\n        minimum: true,\n        maxLength: true,\n        minLength: true,\n        pattern: true,\n        additionalProperties: true,\n        maxProperties: true,\n        minProperties: false,\n        required: false\n    },\n    useDefaults: false\n}\n```\n\nBelow is an explanation of each option:\n\n* *autoFormat* - Whether to attempt to convert any values being set to their appropriate types. For example, if a schema expects a string of format `date-time` and this option is set to `true` then you can set the schema using a `Date` object and that object will automatically be converted to a string in `date-time` format. The advantage of using this is that it means you can skip to explicit use of the [conversion to api](#enforcerto) but the disadvantage is that it may obscure some errors if the conversion shouldn't have happened. Defaults to `false`.\n  \n* *enforce* - An object specifying the validation rules to enforce while building or validating a schema. If this value is set to `true` then all enforcement properties will be set to `true`. Conversely, if this value is set to `false` then all enforcement properties will be set to `false`. Some properties default to being disabled (`false`) because they would make it hard to build an object that is under active enforcement.\n\n    **General Enforcement**\n    \n    * *enum* - Enforce that any values added match an item in the enum. Defaults to `true`.\n\n    **Array Enforcement**\n    \n    * *maxItems* - Enforce that the array is not populated above its maxItems threshold. Defaults to `true`.\n    \n    * *minItems* - Enforce that the array is never smaller than its minItems threshold. Defaults to `false`.\n    \n    * *uniqueItems* - Enforce that each item in the array is always unique. Enabling this option may significantly increase processing time (more so for nested objects and arrays). Defaults to `true`.\n\n    **Number and Integer Enforcement** \n\n    * *multipleOf* - Enforce multipleOf validation for numbers and integers. Defaults to `true`.\n    \n    * *maximum* - Enforce maximum validation for numbers and integers. Defaults to `true`.\n    \n    * *minimum* - Enforce minimum validation for numbers and integers. Defaults to `true`.\n\n    **String Enforcement** \n\n    * *maxLength* - Enforce maxLength validation. Defaults to `true`.\n    \n    * *minLength* - Enforce minLength validation for numbers and integers. Defaults to `true`.\n    \n    * *pattern* - Enforce pattern matching. Defaults to `true`.\n\n    **Object Enforcement** \n    \n    * *additionalProperties* - Enforce additional property validation. Defaults to `true`.\n\n    * *maxProperties* - Enforce maxProperties validation. Defaults to `true`.\n    \n    * *minProperties* - Enforce minProperties validation for numbers and integers. Defaults to `false`.\n    \n    * *required* - Enforce that required properties are set. Defaults to `false`.\n\n* *useDefaults* - Whether to use default values to build out the swagger response object automatically, as much as possible. Defaults to `false`.","maintainers":[{"name":"gi60s","email":"james.speirs@gmail.com"}],"time":{"modified":"2022-06-27T02:44:34.418Z","created":"2017-04-17T21:56:30.601Z","0.0.1":"2017-04-17T21:56:30.601Z","1.0.0-alpha.0":"2017-04-25T00:10:56.795Z","1.0.0-alpha.1":"2017-04-25T17:19:46.499Z","1.0.0-alpha.2":"2017-04-27T19:35:31.997Z","1.0.0-alpha.4":"2017-05-01T20:01:55.890Z","1.0.0":"2017-05-01T21:39:39.008Z","1.0.1":"2017-05-12T19:04:56.236Z","1.0.2":"2017-05-12T22:32:32.295Z","1.0.3":"2017-05-18T17:16:05.095Z","1.0.4":"2017-05-31T15:59:26.431Z","1.1.0":"2017-05-31T23:03:34.824Z","1.1.1":"2017-05-31T23:31:51.445Z","1.1.2":"2017-06-08T17:41:05.736Z","1.2.0":"2017-08-08T22:16:20.497Z","1.3.0":"2017-08-14T20:24:10.779Z","1.3.1":"2017-08-14T21:15:18.186Z","1.3.2":"2017-08-14T21:44:01.509Z","1.3.3":"2017-08-15T01:00:34.585Z","1.3.4":"2017-08-15T01:08:36.479Z","1.3.5":"2017-08-15T15:45:40.930Z","1.3.6":"2017-08-15T17:57:35.505Z","1.3.7":"2017-08-15T18:10:39.000Z","1.3.8":"2017-08-18T20:47:30.695Z","1.3.9":"2017-08-23T16:34:05.755Z","1.3.10":"2017-09-06T17:08:22.395Z","1.3.11":"2017-09-06T22:23:10.904Z","1.3.12":"2017-10-02T22:20:35.488Z","1.3.13":"2019-02-12T17:34:46.677Z"},"homepage":"https://github.com/byu-oit/swagger-enforcer#readme","keywords":["swagger","response","build","compose","validate"],"repository":{"type":"git","url":"git+https://github.com/byu-oit/swagger-enforcer.git"},"author":{"name":"James Speirs"},"bugs":{"url":"https://github.com/byu-oit/swagger-enforcer/issues"},"license":"Apache-2.0","readmeFilename":"README.md"}