{"name":"@zeit/schemas","version":"2.11.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":"7554057e2e6cffcc06e1e55b2247975252b3e012","bugs":{"url":"https://github.com/zeit/schemas/issues"},"homepage":"https://github.com/zeit/schemas#readme","_id":"@zeit/schemas@2.11.0","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"tootallnate","email":"nathan@tootallnate.net"},"dist":{"integrity":"sha512-qS2dVqL8L8AQGoZ5J9F3RxQYiBzeJQu4JuQPekKxMH3A17DlZ5tnNn38jv0F/PxMvW17xU4xkVbXN6wYUDR4gg==","shasum":"05a3f72ac395bb81ed289f788da52b5c7e2b6195","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-2.11.0.tgz","fileCount":15,"unpackedSize":75620,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7fUyCRA9TVsSAnZWagAAZoYP+QGB8tQG4aDNgRCvHgOn\nUGCE/h3X0f4VojiyLbBPpiocYssKJjO1vkjigGr+1tf2otqCMO8p+WGp8pJh\nFJAHBXHF1DX3C5hDRA6H7NGc5q2JTErB/B0mEpXL9IGD3RVMYJQYY8J6cF+V\nGRsj2S+T7/jkJslUBwGIxhyLE36jbIMt7avtvTHTtrrfYN3mDaJdKjGGf4zP\nfWLjXO4pdu1uJsg+kgyJyp3y9NKd6Gj6HxP8ZBPwDJvOfPSt8rNCAfP7Tgtq\nFhT/X992vmRBzXNMgCL78+4hq5FY+l5KkAf241lwC37wO5n2qZYq+vpB9mEu\nGl+xOgf5KvGkkUwt4o2tiWLqemdZ+afgvUwvBxrBhvJJj16YRU4DeE+Okhqy\npLmiVxSA99taymaN/VIt7ncLdcpHSKndZ7UxZAW4tc6ouFI1TNXeOFnRyy3i\ncc3tU1cyJlslbzSpVNMtbolVyIgyjvjbVrpRlb51Llt87c0OtVlXY5cifKL+\nU9qcdJ28URgx3w5hdf/O+A6qHwBxV4zs1Mk9WbIubNjXRxjBew+6TSXjk1wK\nLKMscwfiKrvkkJBP4P5mydrJW8OK2dTroxK4PNIW2PUAjRSGMzRO3Nmd0lbi\nwTdCamjSIxNnTSQQsn06yfoVBQVCjUD15asp6CIZj24zRvkHJnLZ/Yux/0RB\nxVid\r\n=QmLH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFLmh2HGTLPPVC2cdcYZ+I5ts1aJP+CCsGDoWyIp5bICAiEA18X4CJAKlReMArhudsdkBsAPAqOUBWilm3AedCtpYWI="}],"size":21165,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-2.11.0.tgz"},"maintainers":[{"email":"arunoda.susiripala@gmail.com","name":"arunoda"},{"email":"thecodetheory@gmail.com","name":"codetheory"},{"email":"fivepointseven@icloud.com","name":"fivepointseven"},{"email":"guybedford@gmail.com","name":"guybedford"},{"email":"hharnisc@gmail.com","name":"hharnisc"},{"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":"joecohenr@gmail.com","name":"joecohens"},{"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":"ds303077135@gmail.com","name":"quietshu"},{"email":"rauchg@gmail.com","name":"rauchg"},{"email":"tim@timneutkens.nl","name":"timneutkens"},{"email":"nathan@tootallnate.net","name":"tootallnate"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/schemas_2.11.0_1542321457839_0.8653692490067848"},"_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":1542321457983,"_cnpm_publish_time":1542321457983,"dist-tags":{"latest":"2.38.0"}}