{"name":"@zeit/schemas","version":"2.30.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":"adcc762b3458361663db0edbd1e97d72a2395166","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@2.30.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-NmxKtTgrLhvSCm2s1qxdOvwR3yh6zfV/nvhXMaNOKmDGJs3JIgUe2IuYrhuOeSl/GXs3YCrtpxmjryCeq+T7tA==","shasum":"6a34a35fc79241aebf0500cbe95965be5f1bcc5b","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-2.30.0.tgz","fileCount":15,"unpackedSize":32059,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnFNc/lO7rV/FkWiG/pmWVeGvqhKibkNVI+vynQoPKDQIgcbfMkTM6m2U7itn0FBoXeAzof/mWmGfZfXW4he/n7PA="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQYIoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoCWw/+N7ENJtPpEAlHd9kmvXYdRBv+gJPeH/r8u4AHLVGfI+sUM9z9\r\nMbXWl++cq+8VvJxZFDl71vdyY3ivJCcEklIRpN1NSdievdY7+hOy386wWSdP\r\nEPy7uU3nhle8aqhpFIUA+VvIJ593SozxaoYa7xtSHPO1rTmpNw4EoV8qvnvR\r\nSEU6T1Dilaf6jwUEruUgo2uh0nd0KCAn+KA6mOcy6fcInxBGBvaZ5Hmjn3b0\r\ny02xkLYuZow4TG9QL/IUttUWCXxEZa5q87gvStES9GB6sZvBXWUZIvMA3Ezl\r\nk8g3VyS6cHFIZjl7TcmTzoYb9ObC0SPjpnFE7XH3oAgw6YW0Y8srhp6n+rN5\r\noi3CddBpjvBp0jyFnuwfhdHD4MBPbGF+fzUqmFkrQCdMV4UNQtt2hFdzCkfz\r\nMOcHaHW9cPuGzU/J03doZvgBjkqg9g7ImP4udBTJ289sW/QMTZN8ms/VOy0O\r\nB5NpZKS2ALcz7NYy6yap+V0hD8OM4l8bnLIRCGmvrWu1vV5uNwNK3vBcgS+X\r\nwX1M1Msfmn2zgBdIMLEOcevt0QzhyGILRQUG08XSLm8OFvgoo3DzpH0I2Ja8\r\nESceCmzAI/6h68RkY/b3+hn/kq+VyXwGLEXSyAY1SW2Sj6Ih/FaFVCdUKJ4P\r\nCptzK2rbxe9rHHDectWWXN7+AxGaQTS3yrY=\r\n=xJqh\r\n-----END PGP SIGNATURE-----\r\n","size":7013,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-2.30.0.tgz"},"_npmUser":{"name":"vercel-release-bot","email":"infra+release@vercel.com"},"directories":{},"maintainers":[{"name":"nwienert","email":"natewienert@gmail.com"},{"name":"gdborton","email":"gdborton@gmail.com"},{"name":"matt.straka","email":"matt.j.straka@gmail.com"},{"name":"nick.tracey","email":"nick.tracey@vercel.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.30.0_1682014760651_0.7877315480763436"},"_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":1682014760870,"_cnpm_publish_time":1682014760870,"dist-tags":{"latest":"2.38.0"}}