{"name":"@zeit/schemas","version":"1.0.1","description":"All schemas used for validation that are shared between our projects","scripts":{"test":"yarn run lint","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/eslint-config-node":"0.2.13","@zeit/git-hooks":"0.1.4","eslint":"4.19.1"},"eslintConfig":{"extends":["@zeit/eslint-config-node"]},"git":{"pre-commit":"lint-staged"},"gitHead":"acbb8c99ae3b7459814cf358a3e3e365471cf633","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"integrity":"sha512-aZRNFmnfAL1aJKmgzaqG6QgKrXLzUHOd1JLIQ/+S3nPjFNepjrBM3HZTpbCdDQNszNo6/x7XJo2bfg+fGN+elg==","shasum":"c9c27dadab87bff476caae8deb28e609ad21402a","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-1.0.1.tgz","fileCount":9,"unpackedSize":34849,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/Bj0CRA9TVsSAnZWagAATQ4QAKRdKxCcQTzuNZqQGFCz\nCK/2fWmdYrQl/GGPlnhSMqtqGfv/ou6Dsy8a9gjS/00vsv0eVlZaylm4d8Et\nVC4Jo2qSNYdzuVd+3SYgAoFyIqr9s9htU9DM4VXm2LtB5rnUxup2h3b2BXQx\njexahIg1Xv+je8m6RdAZPk9kwilidVRoioXBwwYhisUWqFG2OUnA0MHqjCEW\nhQNNI6ptI/Ag1hi4GODZAcsL2OCZKP1AEHowQ9ISk+GPPvXifVuGMTKt2cT9\necMhlzUmsRewC3JBosZNBAxS1QKvzjzMKXZd4erfbUztembLzLp3NRCLJRZu\n1Y5gP+8lH1H4dyVSF7A/V0IECR2WpJBvKFL1wz1uOnC9JYx63jYJKsgf5Dri\nVakDYmdMIcd7CX+rDqe86UphER16d2qE26cWBernW1Lcp2W/5Pr+Uwe9igjd\n5mENsgohSIo/e667dnYFAB/mWcw3jDGO+LQdMdDT7gsuDrIHIH55JJrRx5et\nfinINiTq70lU4dWZDRUVFmRgdPCQpkhBYx20fl2M/WMPwBZk8OG5gaMZoMfl\nPT/l4vjGOh5LTLvGss+olnBn3+AiOxuvil1nAr5/EHfuiXy9FWuSsijCTq9c\nS+4foX2jVc8mi+B1do49aMrVdCfeiLyo9z+0Ny0hXn0/1a5xot3YzcSh2zuU\n5bU1\r\n=xFm6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvgMkjFsAkz0vH7w1YtXyG3ypOJ7mBb15qjHSEK/wGGgIgFOfhsylJWLDGyxdd8ce2Ddusq7lqpNqHEJ6sG8OC8MQ="}],"size":12096,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-1.0.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.0.1_1526470899280_0.7112420219720725"},"_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":1526470899365,"_cnpm_publish_time":1526470899365,"dist-tags":{"latest":"2.38.0"}}