{"name":"@zeit/schemas","version":"2.12.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":"f5e5fa7e0ed6f9f2de36f257712bdca2e999a708","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@2.12.0","_npmVersion":"6.4.1","_nodeVersion":"11.2.0","_npmUser":{"name":"fivepointseven","email":"fivepointseven@icloud.com"},"dist":{"integrity":"sha512-VSR4A+GLIw1C4tZo1yUrN2ZXfp/MRy82qOfamNx0z0EckkIOaX5aseCKEr2fA/JxV5g+kS44AW5F4Yy5ck0UxQ==","shasum":"6b2458324b854db8105a9dffdf52355eeaa4cf62","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-2.12.0.tgz","fileCount":15,"unpackedSize":76067,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcAEzNCRA9TVsSAnZWagAAPcQP/0jcZfPu9y8YK7vzuArp\nUy0Nd173ajSJTWfffiUdNY6CTqhnLWHGHnc8ZlbvY+lmwT6cpL7K+RC4zDPi\nI3CSjpvM1yfab3yAIzNByZu0vZejOsfirxZyDTFqFIzEFh79NZqM8i7KBxAp\njmzMywMtGZlP9oJ2MI4FaC6l74HCGwBvDJLxK5oclP1K2N8pGCDhLXh/KyWO\np8sgzjm5oLqzwsUXsjfyWojQtZSM8Ptk0iWePq/PMCmC90qkgB8sjM5jeNRP\nc8UOX9qQDfkyc19NsXqX81xmmk+awiHiPXdrKElljr8Fthv28TEdgtCR0RSA\n/0aLzSxtMCxQ3vqyrgjVhOn4qsnI4Y4PPNe4mnznfbHzGKY7e4PwgGjmVWya\naNah0+blsP91fiO2or0FmuvFNjPOVAhkdxw7Iw3Kq2GSiF+rt0phh6/DGeny\n96VSpE1R+28BwxSNUIjVqIOAvL+1/gN9PVZhp6ksSl9V0r5uSRMepbRIeh9u\nuw9FeA/sKmG9W4sMKf26nPCMQHWlMoly/EzZmF+fa98rCM8sHlK+tLJGVoOG\n7ZeiXeJPxnynfYfOng/to0UDJozyN3TJhTZC3uxSkA40Z0iKiQt9TGyMplzI\nAjcar2vfZ+ozUT0a2XYB028Fyicc4MrkU9JYEMmfG6yFRn0fI/VwOdTIRSuM\n+oE2\r\n=Y3N9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAQUq1hnsEeLwvjcmt8sbbkYztpIGawYtr+wwvQkCB8RAiAD1kNH728ojDSnZWs/1qS+JT2coHQGmYCEvyCDfIH6nA=="}],"size":21250,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-2.12.0.tgz"},"maintainers":[{"email":"arunoda.susiripala@gmail.com","name":"arunoda"},{"email":"thecodetheory@gmail.com","name":"codetheory"},{"email":"fivepointseven@icloud.com","name":"fivepointseven"},{"email":"guybedford@gmail.com","name":"guybedford"},{"email":"hharnisc@gmail.com","name":"hharnisc"},{"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":"joecohenr@gmail.com","name":"joecohens"},{"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":"ds303077135@gmail.com","name":"quietshu"},{"email":"rauchg@gmail.com","name":"rauchg"},{"email":"tim@timneutkens.nl","name":"timneutkens"},{"email":"nathan@tootallnate.net","name":"tootallnate"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/schemas_2.12.0_1543523532501_0.466397621664963"},"_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":1543523532733,"_cnpm_publish_time":1543523532733,"dist-tags":{"latest":"2.38.0"}}