{"name":"@zeit/schemas","version":"2.0.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":"1f3eba15bae8d368a2b3b889ff3e87ee71e63643","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@2.0.3","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"dist":{"integrity":"sha512-xqyl+WMBLMw5qBFfpv6g1eJy+4cV3MQ6oQTiF5MgTqLFDFuWvBNqA44Fd0rPwXS1+e+I6herPS2VldhzmvrI4w==","shasum":"b53851ee0bdd26fc72885d871e2b32cc4a2db028","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-2.0.3.tgz","fileCount":14,"unpackedSize":71703,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYmnRCRA9TVsSAnZWagAALWwP/jZd3b4sCXcLwsyMJXRl\nKbTNyZ5qhrnxYaXN1dTDuXdbJgccS5uvmQMdOBYKt6wnaJnoTAIh2sj54Yap\nEFnjcQliqekNgAr6FqwkZb6y7q31cCFtSOkWkber7l8fWipdy0W4WoakSvNN\n9ZrBb9t840ZUA9nxzQh4PcBHDgDQ2rfm1wlW3WXnMXOAJkvZBmSYi8Xl1hxd\nIipEdSAAfA40NdhCBXSTneUgWKrwXfJuJIFG+JhmKpv2cAKkU5/I8zVNaBin\nMjy3KM5KFz18NFtwnxR0Sglflvp8i4LOtiickdR/1Ze6tkFBIlxJN3psSbP8\nwaNIhO57QQKrm55JKWoEzhn+GyFNFanUOA4+EzldHhKnUb5R6oQH3Z6Q8978\np5FQfNZfd66pgJFJPc04PUsRnTMj96btbNWytFFzVEle1MqW86V8W8P+XHNy\nVrTQqApbwoA+Bx6L/v1dhMUnsSX2DOMPF3896pz9uS1GKYp74ND3hhktiE4a\nABkC84/mQosAgggm83I6mV7/UqhpRXvsR1ZUEXzmtuctrQ4W39SIdRtJm+rz\nR3cs8fJ/HmKdsSJl8Q8ysK5QMf1w4FWJ4fSPAHg4rZ6UFMBDpux/l1Ynfyn0\nvUeYzQ2MIpkPSEXs8v8jQwFCvR1X9/+aYkgxBeNM0Bp4LPvlEwSw42XnI0hL\nh7fp\r\n=wgDt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhe+wSmwnjrn3fcdGlzNZhjumN+eyJo3XPENloYYChawIhAMi52txG017mO2mTBqFfATlrS8/fdxXtlKJPEQmcJ9HT"}],"size":20644,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-2.0.3.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.0.3_1533176272613_0.05716894882631163"},"_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":1533176272725,"_cnpm_publish_time":1533176272725,"dist-tags":{"latest":"2.38.0"}}