{"name":"@zeit/schemas","version":"1.2.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.2.13","@zeit/git-hooks":"0.1.4","ajv":"6.5.0","eslint":"4.19.1"},"eslintConfig":{"extends":["@zeit/eslint-config-node"]},"git":{"pre-commit":"lint-staged"},"gitHead":"e0cc0a14d9c7243c529a9d9e1048802643ab7569","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@1.2.0","_npmVersion":"5.6.0","_nodeVersion":"10.2.1","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"integrity":"sha512-iceEQm4zFjgAVUPAj8Wto62xUJxOxicXULWFD2q9Z2Rwi1pVnz1QlDMfNTuNZUULmV7/0xFpOthf8JK8xpTYZA==","shasum":"89e47b2f2bd41cdb52f54ff23038ccd9b1eb30da","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-1.2.0.tgz","fileCount":10,"unpackedSize":59924,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGAukCRA9TVsSAnZWagAAQ9IP/jFaXdrJGzOQ5iryv9/N\n1y8mqGqju9OnGWCPIiJcre/pna4smF8/RUGGGXPRBbIoKM20+rwdwz/cVCWZ\nZ7MfHyyz+vfgXDKB2Q0pVqNhNBD4jxUtQ5frxkckS5vmyrq/UfdVbtvTte5M\nqa74XRliHbRV/H5sX3+ZxgIBDwu4eGpwZAXowD0htCeQJu0AVGNn+TgMunxm\nK6gHdgJQIQc+kBjePKJg0rveSs8Um5148/7PSM4uYnDXsIGu0drYkAMcfrOm\nHm3l+7XTxlesbgEOUD47+VcAbDf8iP2Ov1zcYm8eHr1a+1RtAVqLJQz3/mOX\nwpE51MZYlHJvjmpTK3zVTL0QhEUPJyUy6yqyX/7faGFDw515a+cotXqDnKAD\n8gdFZygp52PnChVadyp1O5YJ41MqkJ57iyorxXMea9sO0FPU8r/Hs8MJNQ3H\nyb/r1M89fVwjlt8etIRH8rSU0deGTaWc34qgyI/JrBUdng5EyATVLHZLB3c9\nP2c0kOPTdHwj2qtEor06efXfnUT8FUnUrqJXefxU3n+EUYx+Ar7CuoxLII3i\nfMFyYqKjboRL+4rGh1wJcfcaoe8wd1uJRq3vMi75SMgw/iKAky8R2ncDtbrc\nlriSbl+ldbM295DI/38nGIIrjFTg9v3OlLast0ZVTqq/xzLEJTOF9COOK0Lc\nypg1\r\n=JWv/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGy9gKP+2vRQnKNMfQCLdSzoOV0zBEtwazxHK+F9mdiDAiEAjh9rzEuoxRBbr850Zz5bCrlQKjvhDKKGE0WO2ox/ln0="}],"size":18712,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-1.2.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.2.0_1528302499928_0.6877419089525842"},"_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":1528302500010,"_cnpm_publish_time":1528302500010,"dist-tags":{"latest":"2.38.0"}}