{"name":"@zeit/schemas","version":"1.3.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":"a7a4aa2ac469e8f5ca995323a092eebcac706752","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@1.3.0","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"dist":{"integrity":"sha512-Wj8OGvONb9ou1nsFOvs3/OpDjb89vLWxIq7J+UdyjFPWc2T1JUrqQPYhpSzKT7POOg8ZwSY68VzA5t6DuZfrtw==","shasum":"ba6033b84bf3ba53e792b465f02687c0b7d28f44","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-1.3.0.tgz","fileCount":12,"unpackedSize":64342,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbKGJsCRA9TVsSAnZWagAAItIP/1PZ5YStDR3JtT+Thw8W\nLantL6eqDzk9DLmaUcmXnF7eOa4peO+3wKHOVMZGeQCKh87/ew6IZrvlVJ8g\ns6F03roIsDZGcDYtN00019TblETWqDFl0qly0wyBF0o4QVrXYcGPFusRcr24\nu+tRauG0Or0fnhA/nhDtVrY2CFphBERXNpcQERI/b0KRuryKba2X8dJKDmXp\nCTNJMa+4EkpNiyMF4cB3oJHeasDgJjc0N7IVJ4Wfw+74FDsnVNOX74VFayu/\nAJzVLL2IP0+Qv9eTj4griKRB2dipr0Ym5UEoA+EMUjzAWonBIWi6jp6/c9Gq\nbpRL5t3sEgt0TAvxjVJgvgOv7gtyIMLJc/AqQ7N79TSswh2M3iBBf3C+u/MP\nXR3ufo+rZ/RWcHxqBOJ3YNAhwTWm8q3IbGyjJw9k5k2l6GrLIquSQRtjbn3X\nfqvTzyxZ9xNRFDDpG98DfJCiutqF/3EQlBAIavSZB4mzSDVs1f9o0VmJNB+m\niwJLlinuRAn/jv3w4BB1H0MAQNjOhPQNS4EX7IJJzEnXKaBSKDM4D/T3FI0X\nz7Ryk0wmdRI3sTg4cF0QR7cF9TBN2hzmDeqVpl/WZHPuulh4WlQOELobA4/m\nEH0GqSE5TB3tFD947lI2wFXbzKWPlgrjCOHyGIInooPu+K7oCKWrD101dIp8\nB72x\r\n=ScXk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBgLyt6EBYqXLSqCtMtghK5MOvYyrkBOixUKQ6jznmpmAiAz9UH7uPGgk6SuOAv8mJ/JP7TotKaPm0NPaiAxFNZJ6w=="}],"size":19339,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-1.3.0.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.3.0_1529373291788_0.8207031691643145"},"_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":1529373291856,"_cnpm_publish_time":1529373291856,"dist-tags":{"latest":"2.38.0"}}