forked from SchemaStore/schemastore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
all-contributors.json
210 lines (210 loc) · 6 KB
/
all-contributors.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"definitions": {},
"description": "The configuration file used by the All Contributors CLI and GitHub bot.\nhttps://allcontributors.org/docs/en/bot/configuration",
"id": "https://json.schemastore.org/base-04.json",
"properties": {
"projectName": {
"title": "Name of the project",
"type": "string",
"minLength": 0
},
"projectOwner": {
"title": "Name of the user the project is hosted by",
"type": "string",
"minLength": 0
},
"repoType": {
"title": "Type of repository",
"enum": ["github", "gitlab"],
"default": "github"
},
"repoHost": {
"title": "Points to the repository hostname",
"description": "Change it if you use a self-hosted repository.\nDefault: https://github.com if repoType is github, and https://gitlab.com if repoType is gitlab",
"type": "string",
"minLength": 0
},
"files": {
"title": "Array of files to update",
"type": "array",
"items": {
"type": "string",
"minLength": 0
},
"default": ["README.md"]
},
"imageSize": {
"title": "Size (in px) of the user's avatar",
"type": "number",
"minimum": 0,
"default": 100
},
"commit": {
"title": "Auto-commit badge when adding contributors",
"type": "boolean",
"default": false
},
"commitConvention": {
"title": "Commit convention",
"enum": [
"angular",
"atom",
"ember",
"eslint",
"jshint",
"gitmoji",
"none"
],
"default": "angular"
},
"commitType": {
"description": "UNDOCUMENTED: Sets Conventional Commits commit type to be used by the all contributors bot. See https://www.conventionalcommits.org.",
"type": "string",
"default": "docs"
},
"contributorsPerLine": {
"title": "Maximum number of columns for the contributors table",
"type": "number",
"minimum": 0,
"default": 7
},
"contributorsSortAlphabetically": {
"title": "true: Sort alphabetically. false: Display in order of addition.",
"type": "boolean",
"default": false
},
"badgeTemplate": {
"title": "Your own lodash template to generate the badge",
"type": "string",
"minLength": 0
},
"contributorTemplate": {
"title": "Your own lodash template to generate the contributor",
"type": "string",
"minLength": 0
},
"types": {
"title": "Custom symbols or link templates for contribution types (can override the documented types)",
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"symbol": {
"title": "Symbol to use for the contribution type",
"type": "string",
"minLength": 0
},
"description": {
"title": "Description of the contribution type",
"type": "string",
"minLength": 0
},
"link": {
"title": "Link to use for the contribution type",
"type": "string",
"minLength": 0
}
}
}
},
"linkToUsage": {
"title": "Adds a footer with link to usage",
"type": "boolean",
"default": true
},
"skipCi": {
"title": "Makes the CI ignore the commit",
"type": "boolean",
"default": true
},
"contributors": {
"title": "List of contributors for this project",
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"login": {
"title": "Github username of the contributor",
"type": "string",
"minLength": 0
},
"name": {
"title": "Name of the contributor",
"type": "string",
"minLength": 0
},
"avatar_url": {
"title": "URL of the contributor's avatar",
"type": "string",
"format": "uri",
"minLength": 0
},
"profile": {
"title": "URL of the contributor's profile page or website",
"type": "string",
"format": "uri",
"minLength": 0
},
"contributions": {
"title": "Array of contributions made by the contributor",
"type": "array",
"minItems": 1,
"items": {
"anyOf": [
{
"type": "string",
"enum": [
"a11y",
"audio",
"blog",
"bug",
"business",
"code",
"content",
"data",
"design",
"doc",
"eventOrganizing",
"example",
"financial",
"fundingFinding",
"ideas",
"infra",
"maintenance",
"mentoring",
"platform",
"plugin",
"projectManagement",
"promotion",
"question",
"research",
"review",
"security",
"talk",
"test",
"tool",
"translation",
"tutorial",
"userTesting",
"video"
]
},
{
"type": "string",
"minLength": 0
}
]
}
}
},
"required": ["login", "name", "avatar_url", "profile", "contributions"]
}
}
},
"required": ["projectName", "projectOwner"],
"title": "All Contributors configuration file",
"type": "object"
}