{"name":"@zeit/schemas","version":"2.28.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":"e22e4c6308b5c13f79ffee2cd7abab84ae9a7530","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@2.28.0","_nodeVersion":"16.15.0","_npmVersion":"8.19.1","dist":{"integrity":"sha512-LBZHqtqu5bNYJFcYMxUDwnt4QnjoH+2sUjbcNwuxo/mdwz7vfJ31LwVZphgBCnm9UNOH3C3lT1uH214Vt8x13g==","shasum":"cecb55add290111bcc56659ac8db97256e0610dc","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-2.28.0.tgz","fileCount":14,"unpackedSize":30216,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFBMidaFYo2O1zn5chxpnRpOQzJO6uzOZO2jwwmvkzqAIgDtV76zdGLWUMuUvDdgHDUeViG+/7Cor3hEUSREbMdDQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjK1FJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpUMg/+J+/O69O3D5p2f8JZpvZPRRycQXlkAwrhxOVG17KIv0pmOOn1\r\n2MoMK8DeEKJjiXupzm9osCQzYcVa9sE7g1WZGW7FhtVG9EV9cN0E8qfjtKb5\r\no+t3Ld5yXxwa8ROp1IvypKITu3C6mpZDbRcJzXbtumJ8DzDlrnipkrqe+jjp\r\ndnYH1YrwyZifrMYBxVxJ6VdynFbuSAFN9/vMeH6FgPrggk6u6/LGMlgw5rF4\r\n1sEPcqjYVREad9YQeh8VeIzY0ost80fp0g4jLgppFDiLBk+nP3GxfVSlHust\r\neIvKsHSakKJkAOLZYbwBvsKtPTQYVjwQv4fOOQhbSducnrNTyzvEDkwZBOoI\r\ns7O0o72LTIdJ806LkUQe3Wd0hkqzB1ussgKOZT51srlFw9lXOwSgHKh76s6U\r\np4x2KouDD6E+AXowvdB0+3cF1MKX/XsqloAM1suXxVXT+Acbv++I6LCUs455\r\nKDLmS/8tO6Nn3prc3GXYLT8Wt1UBUz/Ll6eZZOGi34IhceFMMq2M+o7+bnOp\r\nPKq24/cBMwHhidiiL4gEyzRuHEznPwRS1/MMqIl3HjKZXik4VNPn9n2hLd2H\r\n3Ed4Av+/fWj9SRU+pEJBctcuVUIbbqe/kKO9eUoeISN4a9u5DwTD96xrW8Li\r\ne/v2UAuSufksZ8o5VgwrsnD1Ve+Lsn19nss=\r\n=7QK4\r\n-----END PGP SIGNATURE-----\r\n","size":6628,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-2.28.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.28.0_1663783240757_0.25352426452425614"},"_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":1663783240985,"_cnpm_publish_time":1663783240985,"dist-tags":{"latest":"2.38.0"}}