{"name":"@zeit/schemas","version":"2.5.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":"e6c986a9bf16eb25e64f8e559e0d269b0da1845d","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@2.5.0","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"arunoda","email":"arunoda.susiripala@gmail.com"},"dist":{"integrity":"sha512-ICEKAk8Gf80eclEIjpHVTNevvOyVGvoIF155q3CsRDVhPRXN3WeZb7P1HRhguq4z0ZAC/4WkRE86HU3CeLX5VA==","shasum":"41afb61760bc0f9ee949ec3308e9e6f12c09d21b","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-2.5.0.tgz","fileCount":14,"unpackedSize":72624,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmLinCRA9TVsSAnZWagAAjp8P/0BfpIKrw+QJw8F2hgD1\nxHRpvnaPNSBC1blMMFOxWHO0ggCUnDlRbMd88JJJvcE3Pvwg9c7jLKtV34w9\nLb82dWt41XzfU8kJH8xHqvcW/RT2HWYuSXCKAHxrOKWiKWymOoh7DlmMKi6S\nfbDvL7NgTo7A97B/emZp+lYKAzMr/dUoqpceWAQDbnd+EgZu9Mje+7hjXgMF\nj7/glr/T+aYJyUvFmp4VQiUDdFDp23aDBEo2m1qleVPjXIBHCrx4blQeIx/e\nF/f+ieOnz9UhUEN1FHIkFYtB9g8X6E0Vq02whlGULm+UGGVabDJ+n0AWHa3d\nR/wyUwE6Ge2BchjRT4HfrQciLXzwiklGoSbJottg1JIk+MffCDYkpfob/acn\nrxoeTs8Ml/O9PVlvLx2VazQaDo3afMzquTs5FsKUxHSk3H4zWSsspegsK4mz\nXFGJJmHLU1gEmmuou5VnwbXrM/sehFiTzsV7KHPpNhKXy8MWiwClxjnc1yrd\nMX582JA4Zek1HMw+wV/uBbkCavlz5wR/sbO7F/sDFHy+jbbgTlGyK3/kuYyJ\nPFtbLlEogYBLJyZYd4dcXcqeT87WoIDjn3WGGdk7UpuIzyI5lxMYSz0fkUyp\nPMqpT4YGprSuR8XpIVIxrjc8IeUWZ/7keG4MBwFCinRZVyjYvbghWnsqJCOH\nvRGK\r\n=FtLw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDecww72GQPj9Ghw1vebWj/1pG4mlKx7KwKM6T7xZMQvAIgT8m0ndkwj3/TXTJ7PyR2OXhE3fW87ZG0tzvcwvVxA0U="}],"size":20746,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-2.5.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.5.0_1536735398696_0.5793027230231156"},"_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":1536735398823,"_cnpm_publish_time":1536735398823,"dist-tags":{"latest":"2.38.0"}}