{"name":"@zeit/schemas","version":"2.6.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":"c216c536ccc969b8b041f5f24e42bb7953cbf290","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@2.6.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"integrity":"sha512-uUrgZ8AxS+Lio0fZKAipJjAh415JyrOZowliZAzmnJSsf7piVL5w+G0+gFJ0KSu3QRhvui/7zuvpLz03YjXAhg==","shasum":"004e8e553b4cd53d538bd38eac7bcbf58a867fe3","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-2.6.0.tgz","fileCount":14,"unpackedSize":73168,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmT4yCRA9TVsSAnZWagAAsCkP/1iojvslTpcdMFugc90I\n1EsFQNlQkAI2BfcFkaXEZdaOdO112Y7AD7Y1peMaUHFpdDzbVl8fMUwKEdKg\nPvv2hpzaQ7r/aE20apbLp+vt6UUEQnAmAdKw5O8tIfvksVFGFesn/eBKIgxX\nnnegFaUO+4k0SGht3wk62U6tunrMrArUI9fKn+IzjYTBVwpkBAHIYqh19hQd\nHj4m4xY+mzByf/o8UgPuuGj+WVw6+xK6Zg+rJOMlOfppCnsIvbbYGRexSfKa\nOgwkA/iBmSNss1cWQZfLADgJBpJi9tnHuiIZJNtZrjjLtR+Oi0SjFfKXfy2w\nmnRNMov8htJcev1iOQsHKUQhPtElcs/T9WVzfkjdkc1G3+9FWMnGHgLjN7TH\n39uMYrdAYKv0bloW+jVjEU3EqX//6qKItQjio69AlxOC7F3+0mWMKWK9LRcg\nVgPL9Q7XfNuHShUE4bGXOuHOgvMXeqB4JX2PJ5tKXGvVF2swR8LSnGR+QGsP\nCzfyrON+KBmt6aLhZ2LePX35xULEEDEHEHdw+R8VswJ84dGI/SN7pYzlaVHb\nBfbRyxekagPtNbzkTwSvMHND2SpN7251MJfTSs2ahORcUX2SG60T5rEioBEf\nKEkpJ2hflDwA+8nEVvhPyhmEwcCGVmdNDpiQRukrDC6hV8SaUIeX/dacrl9j\nKMSb\r\n=r9b9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcM8d8htBtZ9CWGPDiWEcfKDEY2SwmV0mIlK+6igMZLQIhAKB6mVE04rImCB+vERB0m4C4lreRhFk4e6RKWjSC1o7c"}],"size":20765,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-2.6.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.6.0_1536769586148_0.33276134773586263"},"_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":1536769586277,"_cnpm_publish_time":1536769586277,"dist-tags":{"latest":"2.38.0"}}