{"name":"@zeit/schemas","version":"1.6.3","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":"0cf21913d0ac6b09960a783cd235be8dbde90747","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@1.6.3","_npmVersion":"6.1.0","_nodeVersion":"10.5.0","_npmUser":{"name":"pranaygp","email":"pranay.gp@gmail.com"},"dist":{"integrity":"sha512-G/Cnz8hVO9p7B5rkV41XiItTF3NlSYkMNf74NkqjRmeOa+mBsFK/IXOrcpE1PP6Ch6PhgLuK/UNjEgOZR4OYBw==","shasum":"dda6a1999873ad4bbbd501c80e200faab90d4ed4","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-1.6.3.tgz","fileCount":14,"unpackedSize":70177,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbRaC8CRA9TVsSAnZWagAAxqMQAJlpY2IV8UBOAQuYxUNS\nzfN4Rnl5dTdfwqABFTZTwn+0sFpl8BE9i9b1Ox2rMX2af3+6ISX2Hh7X/Fu4\nrM2aBQHWl7/ePPSirltROgQge7otErjdAQgxP3rZqo6Z3RQedDTqt38u2Ha4\n/maWvJutEyNBVHSfzLdfNYEUQKrSmFJ79RZCzqdP2+K6RNoXCRzQdDc1co4l\nh8tZ07H6yfbBPL/4PEL73z86OKLdJMcFR259PoONiJgHHlClagCWrNCIc/0t\notjXcBZsg7W/ug3qjpHceeDBMh6RZst5HJMmxEHIV9uVlw62q/5lZpDxe7Pj\ncTUATM9PUkCSLQuDPBopYxeDRCvWiFTbcCuMZOHVgevtETyPSPfj9ael+ktV\n1Ly0ClmE4YGPnScmPSWXiAn1th3nkwn0go6Ch9do2whO1WLd8sJUmBuk0ZVd\nCLlXhgZNbWJDNU34KszfnyWbudO5/rYfLpEzo7ydsNFn7ameoYEUA2C453N4\noCA0K/gHznzSR5x8rnrmuSPBf5KGX5kaQ6MDXO30oBwqHVPNpBhha3dzPuVR\nZPQpkbbtTVhOFD5zlMEM2jyFt7C9JmIOIhjR9puhXmn8i5xNkAugqFpo6zut\nPnMIvbece49WmCp5GJ8XvwrKhMmM2kqq8rSUpBDM9GsNN9sKF5m2zV2LOMJk\nHZex\r\n=X+ON\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHtB2a/xyjm4Bsd+afuGBnA8Wr/z8Apc+1Ab6IUw7oikAiANM7COoK7d193biPpfJXWEDm+4guKEH1fuZsEinKMpOA=="}],"size":20410,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-1.6.3.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.6.3_1531289788317_0.20828096442604038"},"_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":1531289788390,"_cnpm_publish_time":1531289788390,"dist-tags":{"latest":"2.38.0"}}