{"name":"@zeit/schemas","version":"2.0.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":"51c37458c2bd007af287bbb43f554df862778d2c","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@2.0.0","_npmVersion":"6.1.0","_nodeVersion":"10.7.0","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"integrity":"sha512-sZwPfAP8Kvt985hpOSZ3SXTYh+QIY7tLvEetOa5JUBBo4ldH4Ppmp8Fah9HYjXZ4LFdThwwTqPrth15yYa5pJA==","shasum":"cde224621d138f370ae735231de1823fb2225179","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-2.0.0.tgz","fileCount":14,"unpackedSize":72536,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbXur5CRA9TVsSAnZWagAAhL0P/1Vv7/YO6z9nJV5danvI\nqMPXgxnAq1ZmaA0XJ9Ffmkmmich331Kllfvo4fQ7bvJ+2TwjxtBZR3FKZ/ry\nFrqvht44ZCoFrhzCHzV78X4ugFNa5HEv43IWAGz3Q8Z2373MvKGkFz6jY4oT\nzfYCtLZp0TBmcnbo5LtS9Gf9ijDznOuuLuwFxq0mHyb2XxxpnTyf0YE3Dhjc\nIvkALG68Fb5syCcWgBzxdpBeXXGlQh3kMthPkcdNTX6O9jAZkjapXjF5lRne\n+S+L+cjSy+1c4h0wo8nG4kuk0kiU11ZEg1vpQVFcLodd7eursbwHOKDMt6E2\nf4gQWFdIY0Kh4kfze9JBjarLdyU7MsRKIGS5c+eNZEwt4rmfI9H6Ms/9oNF1\ndE3/4ixnDTUYlpBE96jI6boZwd2qSXTKCFXRj8Nj73+AbMWAIA8+1qrJIfYL\nd+GmoI7GP3XzgBhLZz+BG7kbuXu2FxpAoQ2+FhCLuBJpbnYs6LIiSWg578KN\nKzZTP04gOLcUvW7QdOindrfEBXIuKLPTQ5TqE8UbWUAFcMpz/yTyzHOUsmZx\nERgRV+VYHQiC+9vgA3b3a2bg5ApIHINhEUDseYgoJlK39Xf9EK/mE+tKlVoa\nJkpvJMhv2NVRlfBhzzv+IGMCXUNwKy1q4GZ2FdovlwgOLyRdt89H/0ZYjNze\nGdAW\r\n=CF1C\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDc4T5E3N1shHf7b4gL7hCV9ATml9tSMbJ4pRSagHMTGQIgaqFmgjP+d+k4k4cBKDuuRF4x/IXZbHnzcb8DAjCHAr8="}],"size":20805,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-2.0.0.tgz"},"maintainers":[{"email":"arunoda.susiripala@gmail.com","name":"arunoda"},{"email":"thecodetheory@gmail.com","name":"codetheory"},{"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":"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":"pranay.gp@gmail.com","name":"pranaygp"},{"email":"rauchg@gmail.com","name":"rauchg"},{"email":"sergiodxa@gmail.com","name":"sergiodxa"},{"email":"tim@timneutkens.nl","name":"timneutkens"},{"email":"nathan@tootallnate.net","name":"tootallnate"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/schemas_2.0.0_1532947193331_0.9302380678444482"},"_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":1532947193435,"_cnpm_publish_time":1532947193435,"dist-tags":{"latest":"2.38.0"}}