{"name":"@zeit/schemas","version":"1.5.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":"ec75659af31d917556a42e7ac37e916ea768e366","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@1.5.1","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"arunoda","email":"arunoda.susiripala@gmail.com"},"dist":{"integrity":"sha512-CMe78/oNcPe59VgxyrH/wKHkabjTmgo73z6IrqfMRZDE40g6U4oO0IRqFhh02YjsHuTk38p4TC0NebgHVZsrEQ==","shasum":"ce665a9caba7185bce07c27c9bab8b1ae2e60657","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-1.5.1.tgz","fileCount":13,"unpackedSize":65876,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbNbU8CRA9TVsSAnZWagAAM8gP/jCF6R//d6ZNwtu0YFi1\nowOae7vf/bPvM6TjvhnZIJyXfTE7W38fOIpT6TkV9eHtvGycz5+nuJIwLlUi\nSMr2hsIGbkXpSe09BGfUbhsq6B7pFbwUx2Fi0+mOB+GzGFqrteWTzCEvAIUL\nHexE7gIx7ku+SFdP2uY2y6m8QlwyiTjiqqvbG5cnH5dvfgnAZ1GypnnMpOTy\noMOPfuWIyU2Rah7mDnQBu7/dBprZlOz70vT3PJ/zLjjUwEjvjm1MavaJyQJA\niJvIgZAV5vgJWqJ1IWcUHkfPQw5qSbVbsU14O1l7GKpY5DHgPFQdeaDjJgdS\nWxhCglsmaiBpT6S6bLzWjOGhV9vzmSlVy7M2qpnUnYNM38zeaxVrN/HVmazQ\nYPMDdYNn77VHapQ0YOVmzUr/NS0CYnw++jpA1QxNH8o7jg8yJ2eeiphDboen\nKbMN9mIhQuzHQAeJYGaa2/hNMUPEubygJhXqBAc+94Nu8G3gBQH95+9UhTZA\na79x47PwcQpY3UVxSwHCUw3CuS0LreshELZc+e2zWHB4uOFeYbvN/9P+Tl4r\n+k+Q6le5SL4hasLmq6k6Zv6PKNN5cy7hRF+/8Be3vYQ4Fg5nytmzPtM8roCW\nvCqu8GtxjbYZeu+Gh3yZEcW8NxVPcnVuOE7b9z+hdE7bj96wr0GnCo1OlHJx\n8M5X\r\n=EHY5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDx+m2AfZ5QgqLqxVgYasV0VNQy017Im/6o8ZfzgdDXRAiB74/yHCCMGN2q9G9GtbHbTwgJKZRlBIDvbKogvHfVWBA=="}],"size":19722,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-1.5.1.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.5.1_1530246460530_0.5469008462987073"},"_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":1530246460604,"_cnpm_publish_time":1530246460604,"dist-tags":{"latest":"2.38.0"}}