{"name":"@zeit/schemas","version":"2.37.0","author":{"name":"leo"},"license":"MIT","_id":"@zeit/schemas@2.37.0","maintainers":[{"name":"gdborton","email":"gdborton@gmail.com"},{"name":"matheuss","email":"matheus.frndes@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"}],"homepage":"https://github.com/zeit/schemas#readme","bugs":{"url":"https://github.com/zeit/schemas/issues"},"git":{"pre-commit":"lint-staged"},"dist":{"shasum":"83132fa80f7079d9feb0a01cc6d7326505566638","tarball":"http://registry-npm.ywwl.com/@zeit/schemas/download/@zeit/schemas-2.37.0.tgz","fileCount":15,"integrity":"sha512-ZVmClWuzkeLeh6MpicHsOoNRx+gJmVe8/oHh4XJeeFEEYg9CSwGGakueW97TiK2RXwAX+Y3i+7ZyX9MlWDzNSg==","signatures":[{"sig":"MEUCIQD669aqhBQe0+SFeX20prW6voMC8+CbelkSp7Q1fMBruAIgJqBDYfmY9Lvf0sZnT4dr4jvmODJQkM0t8d0uR4qD21M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34358,"size":7327,"noattachment":false,"key":"/@zeit/schemas/-/@zeit/schemas-2.37.0.tgz"},"gitHead":"d175500f1fb6886709fbcd7526ea4d547b8799ed","scripts":{"lint":"zeit-eslint --ext .jsx,.js .","test":"yarn run lint && best --verbose","lint-staged":"git diff --diff-filter=ACMRT --cached --name-only '*.js' '*.jsx' | xargs zeit-eslint"},"_npmUser":{"name":"vercel-release-bot","email":"infra+release@vercel.com"},"repository":{"url":"git+https://github.com/zeit/schemas.git","type":"git"},"_npmVersion":"10.7.0","description":"All schemas used for validation that are shared between our projects","directories":{},"_nodeVersion":"18.20.4","eslintConfig":{"extends":["@zeit/eslint-config-node"]},"_hasShrinkwrap":false,"devDependencies":{"ajv":"6.5.1","eslint":"4.19.1","@zeit/best":"0.4.3","@zeit/git-hooks":"0.1.4","@zeit/eslint-config-node":"0.3.0"},"_npmOperationalInternal":{"tmp":"tmp/schemas_2.37.0_1726518829121_0.8330133491540679","host":"s3://npm-registry-packages"},"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":1726518829266,"_cnpm_publish_time":1726518829266,"dist-tags":{"latest":"2.38.0"}}