{"name":"@zeit/schemas","version":"2.9.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":"cc989ec390d0eb8d14e23c8a18c75753f2975d99","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@2.9.0","_npmVersion":"5.6.0","_nodeVersion":"9.8.0","_npmUser":{"name":"arunoda","email":"arunoda.susiripala@gmail.com"},"dist":{"integrity":"sha512-jYyh0EEp+JLigvGn9Jc2EsA+DzzmgxJXaE02xVNvqkaXmlNpx+boBtOVkjC6791XDjo1hmuCPTgLOgnoUS00EQ==","shasum":"e2280144f957a3d7dd0f4c003475ccb16f1c29de","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-2.9.0.tgz","fileCount":15,"unpackedSize":74110,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb45sOCRA9TVsSAnZWagAAnsgP/2Cu17fzoGwv+ma4KGZr\nWTVPaKG2eJuWPovwkM/m5A4WSsyyOrJHpOJoAO9BJGbU/JdGI7NIC8zIdRcD\nIzmsVwW0g2bB9V4+f3aZjBUzDXut90Yw4fw2mdm3rqXFUkq0IX7+d/hVIEHp\nSodb9LE5x2LfCEWQkAVNdjabvDIZjFd4yB+VqM2a1BqkRbOWDi34UOImj8xX\neTVgdpmV78uQqnVyPkdMD9AR0Dk5V5m8+snLvCj8fyzOOn1MxPFq0zAuZzCW\n5deZHXqHNzb/2jKu/1pQVBa/hL9uuABkKZh9Xdq2qVFAkDPY4PTqMMx+h2Km\npjr7NBArt0y4McMv3OXSXI9epEflZ0q/vrf1s5zbxT2WbKWV6vK4xGoFJLIa\nUzsgwq/dMo+t6PCx/aZLfu6Cp6Jf8BpS5nBGLPwETREtmGoPvPKItb7IJCS4\neFG4FkvOMjdBZMrmaehPQjw8/mVdw073NW+Lt2EU8kP6knEvDQKVdPgWjy2y\nosRUijEaYKHdWbBAIUVPkSxA2IfwBZXgmyXR9IP0nBqMTN40cDl/1xHBJi26\nyTCdMoCB57iHim04DQ0MVi4E7KiLKXSUstwebNIrw71PtLs4OnC/lVuXmOex\ncfpNVXgFt8JTdqIPNld+6DOJ5Aig3aIa3wjC9GAxl/ydSKgDBnuTWrop3DIK\n5Bwr\r\n=3bso\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA82VM+hvWDE8sS/FxnMigbJwaT1jXVGbTeOqvEBHsE5AiEAtZEyyO6bbQKbpImiH6aVnCSsV1z5yImtr1cv7GGDwmM="}],"size":20955,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-2.9.0.tgz"},"maintainers":[{"email":"arunoda.susiripala@gmail.com","name":"arunoda"},{"email":"thecodetheory@gmail.com","name":"codetheory"},{"email":"fivepointseven@icloud.com","name":"fivepointseven"},{"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":"pranay.gp@gmail.com","name":"pranaygp"},{"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.9.0_1541643021218_0.8154710952993731"},"_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":1541643021378,"_cnpm_publish_time":1541643021378,"dist-tags":{"latest":"2.38.0"}}