{"name":"@zeit/schemas","version":"2.1.1","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":"d49f677ea1ea141d24cbaa898ed0c9dc27e408c2","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@2.1.1","_npmVersion":"6.1.0","_nodeVersion":"10.5.0","_npmUser":{"name":"pranaygp","email":"pranay.gp@gmail.com"},"dist":{"integrity":"sha512-7uBms9Uwzq1GnLK7ar4FvhUONW5PuuASBomeMJ5rREMYxWdm2R0/5iXH2gUm8uqVT1x8U51CGuoaF40Tc0xoJA==","shasum":"bca9d84df177c85f2d2a7dad37512f384761b23d","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-2.1.1.tgz","fileCount":14,"unpackedSize":72186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbfpsCRA9TVsSAnZWagAADPQP/RiJp0TzCbqR+U/cIN0r\nV3y+y9YKt2TqYRhre6djnp4r7YnIlP8AcMNm3zKEJ7kTZB3CSF4mmHKvFPRv\nZuEcAbtj5K4bdkg1i8OHNkxEb4+NRo0Jch2NARal3jxiWeoZZQdGLdsRj3n9\nv61kFB+VaQQ4ynTbzOgltYQ0ojb3plCftz6im4ISHTrPXfS0hi7cGmXN2Ibz\nmkKNDhgM4jjtjLuwTCONkSzwTkoZdzw1Gc34rBv42EPZ3XJ8KJbh8RMHrkuM\n/m0tw1BU51FN6GuOVi77rMHsJFoqRI8CWpfmfO0EG3MoH6nyPlrnoaOOED8E\nph9/mR+Kb5Y6F+p8tLSkf9qJ0/TEfRyOhedbFg8R6kvySnrDWl4q6FNCwIB+\nQGWvxG9j6d9+QDPuhPT2mfKNwTDsgF1tRUyTghv6ylKYKdbw8dQUvw/FZasw\n91PYHAoEbxo1/cv0DxYyU/zzZgqnMIpDDuW9Bu3FZ4hGigGrZh4UXgjwcde4\nhkXBuyPLRdNeXz/kLOKzx9CbuB9VapOKB5ky6MH26R+bPGgrgX2Wppy4Sm3Z\nytgOguU/XDYWHfhTWNDn9McgZi422OYEwozvjA9K3ghxLBR9EqmNdaigi9fD\nBz8T3NQkzwJQaB2G5HpQMukZEqkOGb8vQ2xcMwLnCLwZUOZ/oagSQCEzAOic\np9wz\r\n=/kgI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDlt45qPu1afUHFYFkV6AKbjpVNQai36QGHu14hofpkiAiAwuLNF+6yvMZXCTKukB+DtKkd7rpDhn5lcWXmEKFIRfw=="}],"size":20681,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-2.1.1.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.1.1_1533934188448_0.08663574148725162"},"_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":1533934188565,"_cnpm_publish_time":1533934188565,"dist-tags":{"latest":"2.38.0"}}