{"name":"@zeit/schemas","version":"2.2.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":"a9c1815fb387ddacf9640ca3390c02cec285b4ed","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@2.2.0","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"arunoda","email":"arunoda.susiripala@gmail.com"},"dist":{"integrity":"sha512-VrOWIJ2PZ9rs53pllobYSgQQ8x0D6Hk15SB0amNzgaZVeHp+CCAZOWON+zdS0QhLqfZsvGoUVzHvKFCI4ELgEA==","shasum":"43b8f929dbd788f1cf445a4539de393583b069a9","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-2.2.0.tgz","fileCount":14,"unpackedSize":72399,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbfZuqCRA9TVsSAnZWagAANcAP/jeOhxJRVjbwk38disUW\n1qETARXv0yD1F+a+fEkVOVupGZG7gVheWlOwCw2JWy0TswqbdcBYYAgxDadj\nmrIMjQ5qWvWbbZeGoa3pINK/pTDWSMEbRvdR+FHzFuK4TDZiapoUYPt5xmK9\nPMctBuQMo2fsikzZxH23Nu2y/4wwNYM2uKSC8iFggvYCqpAFHeHCBNCaksR9\n2ifslA+h4SMY9GpiE43cb3nWTOOSUUdJvgAyuNNhemVlE5UmT6gl98hNQxek\nGK7r/rp06VNHkv0fxbVKoDo5VqF7+7JL6Gl1qaQMRj6+0kYuE5hlB8p1xove\nDC3ETki5zwZBih3VNjHzO7HPeLnYQuGInh+vOvs98da+8az+XFmoZost2KLg\n5DRxpQVLWk39qNvqrtjNEUqe4Zb5bFRpM7tsw585CrNeyAhytF/MLIDTnxR4\nIM1qu1Ll9A63Y0TCzMVHnM2aKl2IDb3QkgBo9t1EXaGzMzGwPgHfxG4spJ1g\n4UZve3QoEIZCBmrkwWFb1K0WIpEMcUjlTFQDShtwFywLJQ9uOw63Tyi+lJ4z\nmLXp0lUAyQ+sDYNiUeNGCjLcFq7w3GurWrDRpA8x09ntazcGEeSDonpHEY1a\nLAN/E3Uku5u8qKA17AAT6kqniC/QRbXkCw9ubfbz3j2od0/mbszsvk6uHWcx\nhS9U\r\n=adtQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHUam7L/PbgKw7U5roybkXCFQIspcN0e/PXS3uLs6g/eAiA4R8rfum7prJ2eaoYoXZBVUXirnnNzM1tCNFC/7CEkNg=="}],"size":20715,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-2.2.0.tgz"},"maintainers":[{"email":"arunoda.susiripala@gmail.com","name":"arunoda"},{"email":"thecodetheory@gmail.com","name":"codetheory"},{"email":"hharnisc@gmail.com","name":"hharnisc"},{"email":"hello@evilrabb.it","name":"iamevilrabbit"},{"email":"igor@klopov.com","name":"igorklopov"},{"email":"jamo@isotalo.fi","name":"jamo"},{"email":"javier.velasco86@gmail.com","name":"javivelasco"},{"email":"leo@zeit.co","name":"leo"},{"email":"me@matheus.top","name":"matheuss"},{"email":"naoyuki.kanezawa@gmail.com","name":"nkzawa"},{"email":"olli@zeit.co","name":"olliv"},{"email":"rauchg@gmail.com","name":"rauchg"},{"email":"sergiodxa@gmail.com","name":"sergiodxa"},{"email":"tim@timneutkens.nl","name":"timneutkens"},{"email":"nathan@tootallnate.net","name":"tootallnate"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/schemas_2.2.0_1534958505736_0.9756020463052435"},"_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":1534958505846,"_cnpm_publish_time":1534958505846,"dist-tags":{"latest":"2.38.0"}}