{"name":"@zeit/schemas","version":"1.6.0","description":"All schemas used for validation that are shared between our projects","scripts":{"test":"yarn run lint && best --verbose","lint":"zeit-eslint --ext .jsx,.js .","lint-staged":"git diff --diff-filter=ACMRT --cached --name-only '*.js' '*.jsx' | xargs zeit-eslint"},"repository":{"type":"git","url":"git+https://github.com/zeit/schemas.git"},"author":{"name":"leo"},"license":"MIT","devDependencies":{"@zeit/best":"0.4.3","@zeit/eslint-config-node":"0.3.0","@zeit/git-hooks":"0.1.4","ajv":"6.5.1","eslint":"4.19.1"},"eslintConfig":{"extends":["@zeit/eslint-config-node"]},"git":{"pre-commit":"lint-staged"},"gitHead":"a89ad20e7f5166afb1411a66830859b4cecdc1fc","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@1.6.0","_npmVersion":"5.6.0","_nodeVersion":"10.2.1","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"integrity":"sha512-fUCDfGPOU2FPOpX8+9ctuHs5+HIvuP3w6Fx+Q0eQLQs8Ow/GFa9zMgkYtVWhHS5S+dtXmBDm4ZpYcXtZgLQq0A==","shasum":"2f49cb7b3fff308bd35d6a934c5e0a143d598e17","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-1.6.0.tgz","fileCount":14,"unpackedSize":66530,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbPGubCRA9TVsSAnZWagAA8agP/0aOP04S85qyOkMaE8g/\nnkcXdDrlIoB36Hh96vzSA5/YjnDQntVpsf8xWYiTvNfuBek7DWCO3wDPDvs2\n+4H3vOmKSTLpE3qAbb3ov1L1JZMv4yDLoPOgFzTtcQ+umfC6u6eXgQBlbqY/\npTbb0LkyoxAKYveFHBVAH4+kH21OSiqawgzzjAWCyJUTiqzGgh0la4F6SQFh\n40nj/qCUaME654eYg1ZGbMqV9bmiKC++cCOaIMZKl8jP9Xaij9/elSWUF3WZ\n/dT2hwrWuATaF/UPSZXSlmOC7Pb0nXqp88jW5HhhQ+ozV54U13W+Qvuh2VbJ\nSqayq9CypWJmY/PPB0a4fQ54/B57Q2cxtN4yvr4UCkbnZhyKIqmQ6/Fs0sz9\nIIiBG4SLNLQ0ez3x/khzyYgG4TRel4JEDEOQ1NsQlEwUDGtIgKbtv9svbaNV\naD++sWTea8u57VTZQTXp4TOQoxKmPm8zqETXmrIJ2BijsLia5T1snACpehce\n6wXyw2jRPNu4WP+sKLJQnh7a4uXor60xSSJy/hKYaQsHwWOQCRsCUU4WNaoZ\nkOzjW+o35YxERUIJfNqV7t0UqU6i/0S1hkw6UsVKyUYMJcczNNmoqaKdlpNI\np1blJgK9LIGBgV7y72BWIasXhtseLWUx+OaeP9kvtKGbZWaL3ZSKHE/NBpz4\niqLw\r\n=UBwz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClTZfo2jSMs/wD4svj0LVxKrja1n989AXKREMs8FvQ1QIhAPLeo7+7L9YC6jq402ZCT9adpFtvJUtFm/yPscaaLsGp"}],"size":19889,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-1.6.0.tgz"},"maintainers":[{"name":"arunoda","email":"arunoda.susiripala@gmail.com"},{"name":"codetheory","email":"thecodetheory@gmail.com"},{"name":"iamevilrabbit","email":"hello@evilrabb.it"},{"name":"igorklopov","email":"igor@klopov.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"javivelasco","email":"javier.velasco86@gmail.com"},{"name":"leo","email":"leo@zeit.co"},{"name":"lipp","email":"gelipp@gmail.com"},{"name":"matheuss","email":"me@matheus.top"},{"name":"nkzawa","email":"naoyuki.kanezawa@gmail.com"},{"name":"olliv","email":"olli@zeit.co"},{"name":"pranaygp","email":"pranay.gp@gmail.com"},{"name":"qix","email":"i.am.qix@gmail.com"},{"name":"rauchg","email":"rauchg@gmail.com"},{"name":"sergiodxa","email":"sergiodxa@gmail.com"},{"name":"timneutkens","email":"tim@timneutkens.nl"},{"name":"tootallnate","email":"nathan@tootallnate.net"},{"name":"zeit-admin","email":"team@zeit.co"},{"name":"zeit-bot","email":"npm-bot@zeit.co"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/schemas_1.6.0_1530686363170_0.5493675103300661"},"_hasShrinkwrap":false,"readme":"# Vercel Schemas\n\nSchemas used across many Vercel packages to validating config files, requests to APIs, and more.\n\n## Why?\n\n- Keep schemas used across Vercel projects in sync\n- We use `.js` instead of `.json` because parsing JSON takes longer\n\n## Usage\n\nTo get started, pick one of the schemas in this repository and load it:\n\n```js\nconst schema = require('@zeit/schemas/deployment/config');\n```\n\nNext, set up [AJV](https://github.com/epoberezkin/ajv) (the validator) and run the schema through it:\n\n```js\nconst AJV = require('ajv');\n\nconst ajv = new AJV({ allErrors: true });\nconst isValid = ajv.validate(schema, <object-to-validate>);\n\nif (!isValid) {\n\tconsole.error(`The following entries are wrong: ${JSON.stringify(ajv.errors)}`);\n}\n```\n\nThat is all! :tada:\n\n## Contributing\n\nWe are currently not accepting external contributions for this repository.\n","publish_time":1530686363272,"_cnpm_publish_time":1530686363272,"dist-tags":{"latest":"2.38.0"}}