{"name":"@zeit/schemas","version":"2.27.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":"48170fca1f2f5ee3e2616b3e31d7d6e406a4015e","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@2.27.0","_nodeVersion":"16.15.0","_npmVersion":"8.19.1","dist":{"integrity":"sha512-WMxzEl3Q2EUH3AjDP04DZP7hGG7KOwCWnpZq6qojCPQJ6vGxFLJAjEh/biVqUxHShpOzZAr0M7eXdZhM5IekEw==","shasum":"7beceee6d0aceac3a35aff8ab3cfb7f6f8722439","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-2.27.0.tgz","fileCount":14,"unpackedSize":30169,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDq+tXhujAnJZSP31DE1/NpGhcWITWMj1vhOqnqYVOWygIgB40nXkdOiTWt73d2hO794KvdLUbC+UJtUPfm3CutCDM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjKlWYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmovBg/+JdReEBZsZWHlhVaMhg8/8m9XNfZQo+cqC2aa6EycBr7vlQKc\r\n8Awh0gs0wGGxvU67lyr5Jlu1q2vAAcKOSfxNA0H7C8YweX9Auzx48mrl/ec6\r\n4CzVdSLynlB/r8neWxuXZ4WmaB8z5XKnHnCwkIVLysRtVhJjqy3G3ViiflKH\r\nrjCjaMuoiiXdc4q7vdSmn9c8Ougj5GFbcuzIinEtKar3DOmJwoea9w2rrN0h\r\nu8nLd9/tivC/9RGFLan6S1yG7996YT5gb6vqmbtaCBT7T/5rwMfZZ++Fgw90\r\n6u7r8sgC9ZMiqhMxszq3yc1hke3mz6Xxk1dG/JJNE4Rw7Zt5AC3n8mB5hS1H\r\ndV4K3cjxXYNSrprzJGnPlxPYFqqNcsOwmjQxzpOS419X1gj2Z/o/5kEOXbC6\r\nw22iGEhkt8sx3R0hWLfZw19cF2Hg5FRzV2FVyDzpeInEuyq9dMVIbDW9BZ+B\r\nfO8F52z66kIzLOeucVPi/iYDK7Yde60D6pSPz0idxG9GAH84X893InJ376+o\r\nWA8OAU17+PGdf2ry3iVPC+u4o91g5s55D2P/9817NtjzuHvT3QWDBcUA/1o8\r\n9MMuplZVgZZ86lLrz/CUMC7LSc+sSyxzmmiMsSUgWDEO0Tn0Pl9OYuEA3nrZ\r\nSndJiKUbGI9yIiuAZEKkr40pPhmUwHhk9Kg=\r\n=9izd\r\n-----END PGP SIGNATURE-----\r\n","size":6621,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-2.27.0.tgz"},"_npmUser":{"name":"gdborton","email":"gdborton@gmail.com"},"directories":{},"maintainers":[{"name":"nwienert","email":"natewienert@gmail.com"},{"name":"gdborton","email":"gdborton@gmail.com"},{"name":"zeit-bot","email":"team@zeit.co"},{"name":"vercel-release-bot","email":"infra+release@vercel.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/schemas_2.27.0_1663718808594_0.15844075392133683"},"_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":1663718808773,"_cnpm_publish_time":1663718808773,"dist-tags":{"latest":"2.38.0"}}