{"name":"@zeit/schemas","version":"1.1.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.2.13","@zeit/git-hooks":"0.1.4","ajv":"6.5.0","eslint":"4.19.1"},"eslintConfig":{"extends":["@zeit/eslint-config-node"]},"git":{"pre-commit":"lint-staged"},"gitHead":"8c9e4a7ccba48828d63376e596fefd104f4d7185","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@1.1.0","_npmVersion":"6.1.0","_nodeVersion":"10.1.0","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"integrity":"sha512-b7H3q2hlBES4x3+72MoDMb3VMTXvHLGXKGj4Zflo/6+/ajCekACw77IR7NEN+2DZg0fmgcbDfmjZMTq+nHwZmQ==","shasum":"12447ba2497b7533db67c58a0792c8ba2f674a12","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-1.1.0.tgz","fileCount":10,"unpackedSize":59843,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCEglCRA9TVsSAnZWagAAUvUP/ipDSxrDvLjMAwSeYldo\nkrhsp9R/WzfTHQyAOoTRmVfuLHEOCNRHRy7Aau1NAIMeA5xtqYQ/KxpiYeej\nYesVEb1CoGk4CpABXfBkc6KQ1CsNUYiWN1fv0FQSuSBl4+dE16RI2hhJqjIS\nFOJS9bXDxpcvmSpQKKTyQtxSz4qfNxvK4gyiAql2OZ6leLPM2HJdIGcMG20k\n0bPKipFmeiRPzxaF31rOAa2ZK1BTSktWuRxPI6RlLWV0SE3PsGfANBRoR8m4\nOP3cxJ0014Hia9lUZ2GQ5BeLLQb6K3yRFpsYVpIMkUfn0MZi4Bz8K5t4ejQX\nRbG+wn7PM22cCmxAFjewDK0MF1tYeWZHEC5pB4wRNPJBn0UHXuP5rWnDDeaH\nx4GVTrriIj5YVoBiPlWsGE7IV/Ipwhn4HK/B4aV6PUJHIrIBPmi37w6hExcz\nOnl26dE53pvJad8bKgjBPeP1wM6daZTcPm5Jj0B4SP+BxbvAgSwYrPTJx0L4\nCb36M/caj19QptEGmsvVJ4Zkm+ooNWNMZHc9OXOKd3rcZpzv4gk8edNDXi/Q\nOaDsuHT0fGLDquqpc4gOvm4danQTtm6RTee8WArg5q2qRFaQqx8rtmlFoNhG\nt0In48bs4nQp0AL7YO5ocnzD+mMdON8gNIFcFG0xG9XWiXWyVESBLqYhHJkr\nCJ39\r\n=sVOo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA1SsJLDcVBNTKsFUOpEyb49+qZuv/uiFO5C3jQl9Z+dAiBd1dNxh0GhqhYTBgFIJjIZYk+H2Qb32tqqEC398TnvTg=="}],"size":18661,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-1.1.0.tgz"},"maintainers":[{"name":"arunoda","email":"arunoda.susiripala@gmail.com"},{"name":"codetheory","email":"thecodetheory@gmail.com"},{"name":"iamevilrabbit","email":"hello@evilrabb.it"},{"name":"igorklopov","email":"igor@klopov.com"},{"name":"jamo","email":"jamo@isotalo.fi"},{"name":"javivelasco","email":"javier.velasco86@gmail.com"},{"name":"leo","email":"leo@zeit.co"},{"name":"lipp","email":"gelipp@gmail.com"},{"name":"matheuss","email":"me@matheus.top"},{"name":"nkzawa","email":"naoyuki.kanezawa@gmail.com"},{"name":"olliv","email":"olli@zeit.co"},{"name":"pranaygp","email":"pranay.gp@gmail.com"},{"name":"qix","email":"i.am.qix@gmail.com"},{"name":"rauchg","email":"rauchg@gmail.com"},{"name":"sergiodxa","email":"sergiodxa@gmail.com"},{"name":"timneutkens","email":"tim@timneutkens.nl"},{"name":"tootallnate","email":"nathan@tootallnate.net"},{"name":"zeit-admin","email":"team@zeit.co"},{"name":"zeit-bot","email":"npm-bot@zeit.co"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/schemas_1.1.0_1527269413051_0.49254012537128644"},"_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":1527269413106,"_cnpm_publish_time":1527269413106,"dist-tags":{"latest":"2.38.0"}}