{"id":14155561,"url":"https://github.com/vercel/schemas","last_synced_at":"2025-04-05T13:05:54.714Z","repository":{"id":41133006,"uuid":"133646860","full_name":"vercel/schemas","owner":"vercel","description":"All schemas used for validation that are shared between our projects","archived":false,"fork":false,"pushed_at":"2025-01-10T13:08:02.000Z","size":152,"stargazers_count":84,"open_issues_count":8,"forks_count":27,"subscribers_count":60,"default_branch":"main","last_synced_at":"2025-03-29T12:05:48.427Z","etag":null,"topics":["ajv","json","schemas","validation"],"latest_commit_sha":null,"homepage":"https://npmjs.com/@zeit/schemas","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vercel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-05-16T10:03:45.000Z","updated_at":"2025-03-01T17:31:54.000Z","dependencies_parsed_at":"2023-12-20T07:55:11.700Z","dependency_job_id":"1fb8fb5a-60c2-4dc3-b8dc-ebe3ee8ce36e","html_url":"https://github.com/vercel/schemas","commit_stats":{"total_commits":146,"total_committers":32,"mean_commits":4.5625,"dds":0.7191780821917808,"last_synced_commit":"c505b67a23a5b5b739209ffeeba1d9c44bd72b67"},"previous_names":["zeit/schemas"],"tags_count":51,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vercel%2Fschemas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vercel%2Fschemas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vercel%2Fschemas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vercel%2Fschemas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vercel","download_url":"https://codeload.github.com/vercel/schemas/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247339155,"owners_count":20923014,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ajv","json","schemas","validation"],"created_at":"2024-08-17T08:03:56.225Z","updated_at":"2025-04-05T13:05:54.695Z","avatar_url":"https://github.com/vercel.png","language":"JavaScript","funding_links":[],"categories":["json","JavaScript"],"sub_categories":[],"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, \u003cobject-to-validate\u003e);\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvercel%2Fschemas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvercel%2Fschemas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvercel%2Fschemas/lists"}