-
Notifications
You must be signed in to change notification settings - Fork 356
/
metadata.schema.json
56 lines (56 loc) · 1.69 KB
/
metadata.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"$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",
"pattern": "^[-a-zA-Z0-9]*$"
},
"email": {
"type": "string",
"description": "maintainer's email address"
},
"name": {
"type": "string",
"description": "maintainer's name"
},
"do_not_notify": {
"type": "boolean",
"description": "when set to true, this maintainer won't be notified by new PRs, but still has approver rights"
}
}
}
},
"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"]
}