{"name":"@zeit/schemas","version":"2.7.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":"26268faf306571855f00da3fc1dd8088ee013eb1","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@2.7.0","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"arunoda","email":"arunoda.susiripala@gmail.com"},"dist":{"integrity":"sha512-rh2p2Ij6nCs7Or9tZ2D1l3jX2aoJmCoZKiE/GbAZoRvVIHCPNJ7YOiXLgBp4hCxmxwhMQI8P51/WHGw+PDONLg==","shasum":"e6b7f42488e4f6c2bf03cf14139ba66d5bdcc4b8","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-2.7.0.tgz","fileCount":14,"unpackedSize":72955,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmU52CRA9TVsSAnZWagAA614P/R64NHeSpsK7+KJTQTBr\nO3rA1EwDU0KmR/hvmJ8lFBS+sVFlfKCXgjoi0m8WED4qcANTOEBsNalVKNEP\nt1nIDIx/AExeb7X1ml1K+TWtq0dn2rbTJDtBbkWlZR28YrPXwdCiwdpgYqUg\nMOxnF9WEfR6YYDLYmj+xKMMdD2YmslwHbqP22K8/DnMzJiwfGy3U+ZeFklXE\nvjTf6cb0Bg8Dj/4CUskXAf+AKroV0wloWosENfynyltk2VusmPCIC3/iF5ba\nuHyFaFypJRKhoowhTc51zgxyIUf6J5Kt4s4CO/etBHRAEqXb0wud2At4l1Y0\nG1o83Q+3r2Aanlmtg9o6z4kt7vTplYYQylt0ieGjMrNTLDU1vzmjG3dl152p\nzxMmbdGETA+YZ2j21luJjO+uPqLzb0X2P0oUdKRHG04M8AL5coROvpQJwKn3\ns7aamAGXO4gwlwjOfu4u/RPVUTzIQRSYVxHfl1mkWeaJyEHgR7fqy0ZWI7uW\nDUP3Q8LmSFMsoHj4/yXuXzcYgFtgyxi/mZhaPFgJy1EdXo+gsjO3/k14zSPw\nEF9a9yG6+q/9rfSAKlWBXrcsCGSDNDaEVLcLoGzn5kyXCgHDUMEereVYqYuF\nq8kM1lPl1n9dVE0TRnoPr66xfSCjodl+hHxqTYG3tDOH9UvzZ5kKRfAZ6a5V\nRfFg\r\n=+o87\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF2WA02BQ7zeOsic8kYX/TexUZ6d77RpIlgCbnMUWvH5AiBo3QwS7IHR4std/w0kiiANegEVy/HZvbCmH7yg5zGxQQ=="}],"size":20770,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-2.7.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.7.0_1536773749748_0.9540009935445246"},"_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":1536773749876,"_cnpm_publish_time":1536773749876,"dist-tags":{"latest":"2.38.0"}}