{"name":"@zeit/schemas","version":"2.8.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":"322108dd074826eb63ba32f2884a902af92cd6de","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@2.8.0","_npmVersion":"6.2.0","_nodeVersion":"10.0.0","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"dist":{"integrity":"sha512-GoLnQTQEz2fqMn00czcHq6aMIiObvsrOXKAKAL3Thi8DDPvnSSRyaBvHKWhhLLtSp5FJVY5jZTu2xwBN6RvuuQ==","shasum":"2ade8829e01255b3490a5ca64c5dad058b71da46","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-2.8.0.tgz","fileCount":15,"unpackedSize":73865,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboqkxCRA9TVsSAnZWagAAr4sP/1SOgK4rfz8GgeeOYFoR\nSzS7X/HvrQSMAtgYaf3xZodsHopE0RB7Dv+Sx/r8Z9cUweFyEMPJzPEuGNdg\nKXHUgeQc2o/RidmAWYZ1VjUovKWIW6bAZ7R2FsXM0c8YSF7FqEyivRtuu05B\nYqRg+6rw5hCG+pVFfEtSqQYQf3QA16A2NUazqA1NDu/e8ZOVKc+wpDSezja1\n3c2I7iYBnO4z3tNeyee4XbxYF3ZFCY6TNJooUYuB5cHmXdbJxhxMlWpEPFAr\n1t1RJbutcyYhYVTRvIc6+Now3vuYXHfOi0lpldvUOLnNzF3ZkGb1uZ7niBqC\nT9iqIZxJt6n/Q+p4yOaU4bsP3xBauQ1LgUlPckmMiUkl9CJNRGRTS4LbYkec\n4xuLszSoRfFGw+gMw02VkxtaqAbs1glmbVBGKD0nROjIRYxVJypJ18fHo0P6\nvLSHC77vAyr67kTkMUGx5ko0rSFzKdy23hbKfbmJDNf53Qh7NeA/K+7DMeiP\nlrkHKQVoVeB4DCplCvsglBSt8oRVLCIbntegzEsIvOAkwm1VraSM603bU/RG\nlidb994yHb+FaxlT7bTL8F/1xV5m7XY0KRbU7gBJ0ldspUUnN8yJz6D6264m\nuAg+h9D7GNRPEU1nWp9+ivVevmAW6bzE8mq52V4EO2/pDOWHlmYIBeXvPdbV\nLeEa\r\n=0fW+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFlJWiYjoBIYRLNsg8HoErOxAMyydKvFyNDYumxPZ8mBAiA7hmAbICnOL7YnPqYhVfixr6ATMFYP6mqNlt2KfhkH1w=="}],"size":20895,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-2.8.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.8.0_1537386800161_0.7870495001723798"},"_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":1537386800367,"_cnpm_publish_time":1537386800367,"dist-tags":{"latest":"2.38.0"}}