| { |
| "$id": "https://github.com/bazelbuild/bazel-central-registry/modules/metadata.schema.json", |
| "title": "Metadata for a Bazel module", |
| "type": "object", |
| "properties": { |
| "$schema": { "type": "string" }, |
| "homepage": {"type": "string"}, |
| "maintainers": { |
| "description": "Individuals who can be notified when the module requires human attention", |
| "type": "array", |
| "minItems": 1, |
| "items": { |
| "type": "object", |
| "properties": { |
| "github": { |
| "type": "string", |
| "description": "maintainer's github username" |
| }, |
| "email": { |
| "type": "string", |
| "description": "maintainer's email address" |
| }, |
| "name": { |
| "type": "string", |
| "description": "maintainer's name" |
| } |
| } |
| } |
| }, |
| "repository": { |
| "type": "array", |
| "items": { |
| "description": "repository, typically in the form github:[github org]/[github repo]", |
| "type": "string" |
| } |
| }, |
| "versions": { |
| "type": "array", |
| "items": { |
| "description": "semver version", |
| "type": "string" |
| } |
| }, |
| "yanked_versions": { |
| "type": "object", |
| "additionalProperties": true |
| } |
| }, |
| "additionalProperties": false, |
| "required": ["homepage", "versions", "maintainers"] |
| } |