{"name":"@zeit/schemas","version":"2.1.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":"22e9479ec934f7fd2d8fb55b268841bca64a1315","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@2.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"arunoda","email":"arunoda.susiripala@gmail.com"},"dist":{"integrity":"sha512-fh3p9q91R0a303o7VK/s+7eyslP6TS4y15cO5nvvepndpY64C9dXAeBVHZdp6tsZuxUlqoF28scb8AoYr3LQGA==","shasum":"7666dd2184a829df033f496a5a1bc0b5608110a5","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-2.1.0.tgz","fileCount":14,"unpackedSize":72177,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaJNcCRA9TVsSAnZWagAAW/UP/3vYP3EhMNUnfI43A9dH\nOuzNVuE/7klmYR7upAc3lIwjOhY4Tglp5lcOuDvTVvmFk4BfJSMXZeeiUutC\nGhBEmg1XZtwkSO3Q4piIQ8Rv3UH4RKVD3Y6UxBqnV5IwXdJlwNnsiArM/xcR\nmjXvforB3AzSd8dQNtEsyT0pCxu0IycBmoClaMiltuISYBwh9J46U8Hro5VK\nxeZdzHpIIQ9G9zzsWmT3SgNwg3HVQq8Rq1fGYbM2BdWnkwqIF4Kvid5msyw/\n5kbbUGAyHBOMkk2zul0PN2Z+5Ci/wovM58yWuyihAm4JYbk6vPnQ25AclHaG\nvxMITIhat0R6sm9euCoR9oT+rMBbmedhJ3/KQtrTfXXJsX/34irYKvcSauYd\nY34j+2OA729rx3uaYnHPppc6s6D7w4eb5RdzSbrLS116fNzCCN1L2rBsbMXR\nGKze9Mq0qbM8YV7DcE96zQ53pr1q8AiBp+tcYj/VIfmTesouL3kv2p7z1UC5\nwSoLSr0jjqrLNXy8PseBJE17refY5diL6Y7XnmeG9bDj9o0aCFNHwkqowv8Q\nSCMIwD+xfDh7EPReET/GXxT1oKL6lcYYvDl/tRe5n3bCpVuzCfG2r7e+J1Ip\ntM0sW3godQg07HzDLE8tJAlqHvxunU1cejZu+mjl7CNz6864m5H0H6d/BCW2\nPbYW\r\n=Po74\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvcNze6a+29GCKFuvkXXEypELVKbADfHuJJDhNnd6wcwIgZgLLEykvsGB+ZBIZ5/87BnoYx6o62iXB7Y8Yr1q7M5g="}],"size":20691,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-2.1.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.1.0_1533580122150_0.1806494096910789"},"_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":1533580123857,"_cnpm_publish_time":1533580123857,"dist-tags":{"latest":"2.38.0"}}