{"name":"@zeit/schemas","version":"2.4.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":"44a6f543b4dcabe0d13af2244729e638ab990947","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@2.4.0","_npmVersion":"6.1.0","_nodeVersion":"8.11.1","_npmUser":{"name":"matheuss","email":"me@matheus.top"},"dist":{"integrity":"sha512-KXYT7SfCsnOtpPAKNUuzndLiDoYzIcsNY+xrMCoNndjwvmAkYvg3IumjeTbIVAYi5VY4ZRcik/aEWI5w/pSwWw==","shasum":"5415af6c9e5df2979bf590a9da46e0f6eeaaa147","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-2.4.0.tgz","fileCount":14,"unpackedSize":72407,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbl07JCRA9TVsSAnZWagAA5jUP/jJdMC6VDHObFY+eQn+B\ntmSvCq8VJCCksOtQGH3+cHhibP5SyObZ8DxCG/owPYUJNNLcmrr3TKTJPo8h\nEqcAf0+ih+pV4+PopcdFm6XxCYQrkPF2S3VUmmg4mEDr/eKW21JpIUlgx/wf\nnLDENaRGx3aTX5VgZ9A+1bk4sRx1jmKFEq09/ToRJZAk/7Af7YyxIwlcMAW6\nOBiwlczcusLupPtcKD7U+ecvStoFRdGIpcWX4ZIgfuX1SCgdx04D6vDj0YLY\nNC1LWvfb5juTyJ646fDTenJiga6qRueW15fYbQWgtZjqZcD7Yx0Ea9Q9M8nr\nhx0HZlK5Tv9p9wvcu1gEUrcT8aPtGteLTT6ogAgKiBPtxJjED03SfHTysaQK\n8ExJaC8loKQToCYNdHejEcusuMnbGq4nFnoD/c8LgYjv8bstwl3fuvf06M2j\noQYh1Kcsce0USVtS1NvIvuZ3wXvZYUjlo6s+EQHISvsCZXkIsYrjvBq746JY\nruNiQEd5YuOeRyTblOZSajLlPDY6QFanALSsbo3Ghy0jE4wVgbdXZhJF58kj\nbLjyh2NC16pV3TSzZ9ylFAztjtvNGl6sVSg00Tr71E0GSlBZ78JGaeYHlJYF\njxdCePMFr7PaZWB5FSVbMuL4XEJWP1WnKWuME24cIgaDlx5dM48vODz8ivjU\nhFMH\r\n=Y34E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEtfw1alDQKkLocDtedgxRHU5YK14rkl+6/pUHWTYctwIhALa/lNrcSpxFRNAGO56zfQDw8hF5O5BLPpGJiyyzGr22"}],"size":20705,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-2.4.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":"joecohenr@gmail.com","name":"joecohens"},{"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":"tim@timneutkens.nl","name":"timneutkens"},{"email":"nathan@tootallnate.net","name":"tootallnate"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/schemas_2.4.0_1536642760539_0.5477216675043353"},"_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":1536642760671,"_cnpm_publish_time":1536642760671,"dist-tags":{"latest":"2.38.0"}}