{"name":"@zeit/schemas","version":"1.4.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":"42a3d9d7a53e16c6d518840a317982cb9fab8444","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@1.4.0","_npmVersion":"5.6.0","_nodeVersion":"10.2.1","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"integrity":"sha512-OX2uLQFLjHVble0XBB5Kcb1w2PpSycsOKKxZ3opWKSXHuBLhrylb2h0OsexYAp0axoyv4d8MqJjuPPxItvJcRA==","shasum":"d9be2319b0305b2e73a303b3c5e73f5d24805fba","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-1.4.0.tgz","fileCount":12,"unpackedSize":65297,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbKrxyCRA9TVsSAnZWagAAI3AP/0E02knHepvIywABBnIg\nKo1HUWmI/pQxnO8i1XoZdG7TDoS2v4Tfpbhk1ZGtvXCR9+13iWPpjrcj96hy\nNR+DejPRdjYcmM0+nnUs+XdJnPwIPIfARGL4m5h77m73dj3Oh9KdHump5ge6\ngUn4g28ITSOfguNHxIvFRCg/6cWgnbqfjH8UJl+g/sZoVg9QktbKZtSDqLv1\nx/hrXEVRrI9kpEjIPluxNQCZW/V0DJaPIB3+dwOVRzZEKg5c2o80QEzqHtwE\nkFPyJMciZsv3disArr1/jgzAz+1SpWHeKMarnBVw77iE/IcJtF7SAcEzlDrb\nt9dyS5cNyJrDXrwhWD9DcO3X96Pz1znRycdPYsJ/G/flbJCaMjW1tnuupWAO\nRCWUU85uVEVORdHSnkytRaQDx3V1MZRjyNNrzOC8DuUR3la4bvetU308kHrE\nsAiPj3B4YTteBz+2gbldMIGGXPjJi1YDoWD8+yQJpYPRzvzIp+Yhl5rZ4qP3\nCY2m97PkoP5yl+kxNdgEG1ESKRNPlfyHX/xGb+BnHwW8CJ8dJUZuSJQiSSeO\nlzF5AZyexo3mAKtp3c0UWXcrQP0qb6LBH5L5sz4kE2OIrKem/RRLE74WVnXe\nYxckT/bJk9IEon2igxfTEbqFb6hF47pE4DNKUUSx6KGUKLMFAcuP0RroD7e1\nCHLB\r\n=z63i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDF2lLHQv7/IQsQwminM8GVEROnzxpqaowveAd+ijbauAiBcp2qQjv7AZRWISnK4UT0QEaYr4cAQvLl2GhZpu6uEOQ=="}],"size":19511,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-1.4.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.4.0_1529527409690_0.11717730912272506"},"_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":1529527409773,"_cnpm_publish_time":1529527409773,"dist-tags":{"latest":"2.38.0"}}