forked from bazelbuild/bazel-central-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.schema.json
52 lines (52 loc) · 1.49 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
{
"$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"
}
}
}
},
"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"]
}