{"name":"@zeit/schemas","version":"1.1.1","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.2.13","@zeit/git-hooks":"0.1.4","ajv":"6.5.0","eslint":"4.19.1"},"eslintConfig":{"extends":["@zeit/eslint-config-node"]},"git":{"pre-commit":"lint-staged"},"gitHead":"565c963ae608b54b96c9e1d03ceede661468adb8","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@1.1.1","_npmVersion":"5.6.0","_nodeVersion":"10.2.1","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"integrity":"sha512-IV08mGz2ZeBq5WuYuxtT05PHpGHpuswW52s7SSeLBl8yPVgdr8CdPr7Dh89Vd5tmffz/EdUHH8FvJTXbVAYC2g==","shasum":"728177acb96d8ea8e9ac07e0cbee3f8d0cd0fcf2","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-1.1.1.tgz","fileCount":10,"unpackedSize":59843,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbC96zCRA9TVsSAnZWagAAMqEP/2an6t12qba2g+seWEnD\nifIuM9gwu3l0JGG2kkAmCO86ciLTZeaRbzr2qerxFIOvAotts/EwbR1gw+vT\nByylBQVy79UDKKGeGjsOoeGZ+GoIe7WWJolB4Fz+JCdGLHmb/KeWbqv4U4hq\nh66jg06IcW0svsh0EwsEC8AIvJVTcgkYLyolzdzWn6ELXvY4JphtFKTKFY06\nlIk3O8ZaTHah1wyJ6jNLMGyjWifF5dd1SYkap4LIY1cABZu08vSrVgAAoNjG\nIIQRQwy6/kXiXJiyMd5xmoYFxpRhL4n+RHfxuFof6tHI5xPXo2NHKctzck+l\nEibRxd2nZAxj2tFfGeiyx5gvB87Pjkya96clxPyrPci/hNzlpJbAbFfbpJVx\nr4eE0WGM4Z+3XoYWwqKOGzcpbSi73lwTn+mJq0ZeQMsUjK9LjRYEhZNUGbSW\nWjwRn6viPEGMBXAJwC5tEDlYuXF95MgGoesoBmh5IhdFwQNu/SizjLx2z8+m\noQow3+z3S3NeRVcJv14gX0Wn8dKucAQT2i9gcDswUjL/vdcrwCl+GRLVKudQ\nJlKBuU9SVEZASgNuIPWO4hyyAvQOSI6cNm4N/hKmlh+/wQewt1afLVVLZBRS\nMvtL/W5cVFjN0vHuXaZd59fMviYIlGdaa8wC4TItieAy4MfG1RctHU+4EI+K\nnm/o\r\n=JJ2K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDvTP/8QicP5MsZ4TVeEyMtrDmHxFSrFa7pRrnStSFO/AiEA/eaQcOKBMnGvigdLiPAPqlirBmus9A8o9KTl6vvmNtw="}],"size":18697,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-1.1.1.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.1.1_1527504562536_0.4041297151708043"},"_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":1527504562678,"_cnpm_publish_time":1527504562678,"dist-tags":{"latest":"2.38.0"}}