{"name":"@zeit/schemas","version":"2.0.1","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":"004f5c6ca246c73988afbaa363610027512f7a50","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@2.0.1","_npmVersion":"6.1.0","_nodeVersion":"10.7.0","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"integrity":"sha512-mQKYIY0T0L4FhzXSvIWSDoZgDFHCEf3TUgnQdsPA43vf6dR61y2VvfVPVQf/jcpnDzUlkr85Fd+xSHDllg//aQ==","shasum":"bb97939de8df425ac5261547c1604f34ba827f2d","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-2.0.1.tgz","fileCount":14,"unpackedSize":72801,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbXvNACRA9TVsSAnZWagAApb8QAJ7o5QE4O/Qczk5OX+Ov\n8tC5HmI4JITUfmDJhd6U0WfppoZaSpPVd2TdTUkQyDFGsBESdML8xqB9e02g\nMuYBbrLp09oKq7ok2x4zqD7CF+gVihtRJc1syaHNpbWYQlbpOKrk4MtDljf1\nEAuLZcLvQwr5xUkm7bjHkonyfbQZohm/HZHmbYTtoAIwXlrgO0lziXXWx8UZ\n9ZO8uafYTOj1cVTuH9Rjg7bPW12JCDLogdhsSbNDZGMiwcyxoPfnvEx5DpRB\nk3+j3oRJyeL+ajaOy8MNHCUHFQ8s/inCRE/eXTl/KkukiDyNQu36o4bXYEyg\nuatZzbKQSLsyFIbPXdX6q4sR6junj7WJyz68LWms0Ov8Qgx6ob6GJHCXvQHl\nNRBoYXLThX2EhQ32F345HeRl9l48HXXvsJH2iiEai3KVChiFgAozeZnV2NAm\nxZ9nFqXpS5QEYVWzdVGxBAz9lRvkc2xmtWdwdsGrNlTQ4UlybSVvvo6QJED3\nSz+5QjfRqV08kEO0Z6aChMZlAMXO40T/BuRDYyh7j3zWDmItJSmEsjen6cFo\nkX28KX71ovoaHpQsbZxTzy22LYtGeHWh6GVQMCIZVGUBgAx9kXu+dVQMUNhu\nkhV5Y2DrWkuc+T1sCg7DXmSpTIuSnNIiM/ADqdVp/d7xXsUxv6T/JXxOr91N\nx9AU\r\n=MVUw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEt+olFS2vvMjh2AACgmlZvQHiLM1pwnFJo0YVyA6ibmAiEAtAuB+44UtlH+c2kE8MJBKw7YfxLW4tH7K4Ol7FPYQ8U="}],"size":20867,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-2.0.1.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.1_1532949312006_0.19503892623352193"},"_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":1532949312115,"_cnpm_publish_time":1532949312115,"dist-tags":{"latest":"2.38.0"}}