{"name":"@zeit/schemas","version":"1.0.0","description":"All schemas used for validation that are shared between our projects","scripts":{"test":"yarn run lint","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/eslint-config-node":"0.2.13","@zeit/git-hooks":"0.1.4","eslint":"4.19.1"},"eslintConfig":{"extends":["@zeit/eslint-config-node"]},"git":{"pre-commit":"lint-staged"},"gitHead":"4e54490da50c99af5537b57c6e2192d22441a494","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"integrity":"sha512-BtqKhIOKHm4d65eGeTI9hHTZ10EPGer8TQmtwlrCjjbq6MwL8+UqUWauge/K0iidjyhZODeOLbzdS+8qS1/huA==","shasum":"bfd779cba5a86428ef241c6218e78b96d2b9c216","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-1.0.0.tgz","fileCount":9,"unpackedSize":34851,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/BJPCRA9TVsSAnZWagAAGlIP/iMONDsruM0y8HBsKimZ\nwXcbVEOQIN7khodawZ+3zOq5lsbqtGVFfZJEz2pyxGEaGzX0oW0e8WIKPND/\nA3CKmsuUAAEbUSQ5MphufE88xw4WnoV3Nx2U/+VRl2mDqLIYE29483JwKs8M\n6Nwxs0gBGn1zWx6tq5SApjS1vDZnoUoQlQiv3E5zLjWnZl38elvKuOE6tC40\n7tfPseNnoiIGceV+mjH0edjnkPBkhZeZcRPCMyJU3y+qXBA7JBMNMTXPLAKA\nzJTlXJUHl9FyQk54hCRxScu2uEXVKDWrzvNtscXQLXEdQKwFuo1Mc0qZXWQ5\nwqTjO57TDN9zCvpwhdRcuAKg+W3bSWZ7dtm8rCvO13YophsT1/HkrpVNZeTy\ncbbucvcLTpBO1UyojCND3mdw28Gkv8MZmuYCi3zw47WfmRo7LtjYeLIacYB6\nSsQ8gUhccc31j8RjH1PM0tCYeDnol5BnB2wbcEJdXxslLjbvWbkf/6daB4P2\nyjJNJ1eXLaRZaXag3L/yVfkAb1TL8roAEDXPn8FGj6qpuZYjYsm99lX9w/jB\nE13k8XjS/r+eNS3QSRe6wkUFdw8hEnaXKNsco0KfJkHeZXNZ98xiu/CphlDX\nvCxt+oj3vTWxF02X17vH5UTqeaKgpQ7zUDbhgqjo8FZVfiCKlORsZ4DS7Z5F\nUTYl\r\n=yfHI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGIgSm3QiQvAPp0TjzqkBnTUO7T9Jfszca+I+IeH9UnEAiByITE7Vb7iICUaojfr4NavVYpx3jEXFvbtl/mMci3pWQ=="}],"size":12118,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-1.0.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.0.0_1526469198264_0.16608988457243967"},"_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":1526469198347,"_cnpm_publish_time":1526469198347,"dist-tags":{"latest":"2.38.0"}}