{"name":"@zeit/schemas","version":"1.6.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.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":"5c866940f22b9d8333ffcce6cb734ebaeeaeb1ac","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@1.6.1","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"dist":{"integrity":"sha512-Zm97npsFrboY7IO9AAe6RYhjGF1W2qgzJN/PvsnKHNpo3c7BVnsAQLS1FuYB68Pai8wfTl/m4mXxxIxO1NIg+g==","shasum":"3fdb68abae64fb552f13241368b9e08b44020071","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-1.6.1.tgz","fileCount":15,"unpackedSize":69063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbQWB0CRA9TVsSAnZWagAAF2kP/jvcfEu8pFYPwEBSvrna\nwTzd2kIKuub9EIcmNNDrSCoAJvIHp/Asue9qPW8rz19S1x7BmOKoOVQWLh0i\n7LDSfsoj79igpe00MNm9RLHCkFN8D0JFtwwVszOi6YmaREnU+Df9CQMvFYGL\nNlJ4iM3EMKVcZ2wOafL11Mo2s/hYOQtDqy2OSf99yZV5nlXSAcbFrR9miXgF\nj0PdNk5a5mgGjdwEmK+dena1kViRdfmGp1ugD8bF8am5jNmBYNxwhrLkz0Ul\nUVNBC6unddiBUo7Kds5ky7iR5dEbES+OW6273B7ETMUFVLUU26sJRdAqFrC/\nzmU8piH7vG+oH0HfoQZ9/1OWkD1T1N+RRDWilo/dMQrYu00Wr6ZSjsIFKOD0\nnEmjMn47+tExV/P+1Q1LkKnxJ0Nv3NrjKI1wL4SvluPcl7hzzV8OWkoibvRK\n2b2V6eS37Rc7dI9d7qp7jnJJRoRdgq4d405YwbYqk+NKzuQgHCg+YoJFlOCR\n+fCJ3fW+UdC41E+rg9LwuVbArj6Gd1h/fx9ukWeSHOkNNyhozm2rFmwCuqDk\nTWwrEelQa55V0efSltDh3JL4NmBBYFICFTcIHzR4EDpJ4mZxeuwtnS0EnHJ6\nWIxr5SFoSWIPOxEkDCo7o5kIV9SytuFSpAbRr79g1LPvEdCwYIx7eGr0RgrY\nVjPt\r\n=EM29\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDEixl2G+d3nO4uNeqyj45otQZCMPRIwKcUaLrwzseSKAiEAq14ji5qxEWMnyx05LHnZUFqL5J2Z0v4r1TwNxzbzdO8="}],"size":20370,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-1.6.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.6.1_1531011188559_0.80486696330898"},"_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":1531011188633,"_cnpm_publish_time":1531011188633,"dist-tags":{"latest":"2.38.0"}}