-
Notifications
You must be signed in to change notification settings - Fork 2
/
repositories-schema.json
79 lines (79 loc) · 2.05 KB
/
repositories-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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"$id": "https://example.com/repositories.json",
"$schema": "http://json-schema.org/schema#",
"description": "A representation of GitHub Repositories",
"type": "array",
"items": {
"$ref": "#/$defs/repository"
},
"uniqueItems": true,
"$defs": {
"repository": {
"type": "object",
"required": [
"name",
"owner",
"isArchived",
"isPrivate",
"w3cjson"
],
"properties": {
"name": {
"type": "string",
"description": "The name of the repository."
},
"homepageUrl": {
"type": "string",
"description": "The homepage URL of the repository."
},
"description": {
"type": "string",
"description": "The description of the repository."
},
"isArchived": {
"type": "boolean",
"description": "True if the repository has been archived, false otherwise."
},
"isPrivate": {
"type": "boolean",
"description": "True if the repository is a private repository, false otherwise."
},
"owner": {
"type": "object",
"required": [
"login"
],
"login": {
"type": "string",
"description": "The login name of the owner."
},
"description": "Repository owner."
},
"w3cjson": {
"type": "object",
"required": [
"group"
],
"group": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "string",
"pattern": "(wg|ig|cg|bg|other)/[^/]+"
},
"description": "List of group shortnames, matching the W3C DB."
},
"repo-type": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "string",
"pattern": "\\w+(-\\w+)*"
},
"description": "List of repository types."
}
}
}
}
}
}