{"name":"@zeit/schemas","version":"1.7.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":"9228a23b72ff7af446f15c9c5cef179e6ab41692","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@1.7.0","_npmVersion":"6.1.0","_nodeVersion":"10.7.0","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"integrity":"sha512-Ma2HHFqwZZ5WOEMcd/8RJj70O9jy2esTvu9oaYLJSkenELKrv6vgkGeM5jB8xLRTYocpcnd2rCfpyKyhBqVphQ==","shasum":"84624e270a0d420714be7279ffabc7e1745afc1a","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-1.7.0.tgz","fileCount":14,"unpackedSize":70587,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbUdRCCRA9TVsSAnZWagAAh9gQAIxgoBLzOdO8gKICNk3W\nz8wHOkyOYAxKtX31Hs9wreJhGhl7ZeF0gCfUrD2XUiaFULnZcJiiUJaIIcn/\nEh1yQMl9YjTkCe0uCXcCh/IpQDbwFAY1TxlfgC6qbBTpBUziE095f28CRmEx\n1e0b5XtX7TzEYlSqhBAEPb7WPNtwh3wy8f/S9/rc7Ts9AqzEn3c7upwVldoY\nRTrg4ZKtsUVL1+9pbUcXyDVpD6V83XOf4qI2lpJ8EfZZ0G3tQaT3ms7BwrrA\nr3tY9LH1f6tnSYNU+O81cAXD5y0bOfZDEMosPNp8I5lJzznAVT1+b2Fw0ho8\nBcA0SgZwFBkUTzsrzlU8E2fWJTd4Wmu1jQOazPDcNfNCmpQee8MfeeOniZaf\nEGpFbUP8piP9dmgrjnhSnVA9UaSlTLDoYBCJA3rqhR3+sNu+oBSWraHhd5MV\nC0U8AJ8Hru+pDOtKUhra11AlgixBjaHK4crPtQSw+FtuPxz9scJ+hdCRXyif\nTNE6st11VVs0qqr2wWc/2qrAuTWdhYlg2yG3NCeCcwcdZbgkdbr+U4VXVBii\nvVlmLiYXOBai8A9I+tSM/NITOfU0fZ68n8W/WWANiHIKtF5OcFxwhtGgRdZn\nXJeZtD9zPT3J21NzYLgAXcKwQaqsfCo0HmMV4EoEUQvBV1vaGwzZQktFMWcb\nyG+7\r\n=U1yn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEtG+T7xF5AT1tlHW8S95Q6lT5s9IuTMv2fekXkebN7iAiAsPC/kCC+npCPok1owoxNIM78EC8/z8tqG/7c1EGkqyA=="}],"size":20444,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-1.7.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_1.7.0_1532089409345_0.21314442657728816"},"_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":1532089410122,"_cnpm_publish_time":1532089410122,"dist-tags":{"latest":"2.38.0"}}