You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: game-schema-d4.json
+50-6Lines changed: 50 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -124,26 +124,70 @@
124
124
},
125
125
"repository": {
126
126
"type": "string",
127
-
"description": "Repository or URL where the source can be found",
127
+
"description": "Repository or URL where the source code can be found",
128
128
"format": "uri"
129
129
},
130
130
"website": {
131
+
"oneOf": [
132
+
{
133
+
"type": "string",
134
+
"format": "uri"
135
+
},
136
+
{
137
+
"type": "array",
138
+
"items": {
139
+
"type": "string",
140
+
"format": "uri"
141
+
}
142
+
},
143
+
{
144
+
"type": "object",
145
+
"properties": {
146
+
"title": {
147
+
"type": "string",
148
+
"description": "The optional title of the link."
149
+
},
150
+
"type": {
151
+
"type": "string",
152
+
"description": "The optional type of the link, indicating the media type or link relation."
153
+
},
154
+
"url": {
155
+
"type": "string",
156
+
"format": "uri",
157
+
"description": "The URL of the link."
158
+
}
159
+
},
160
+
"required": ["url"]
161
+
}
162
+
],
163
+
"description": "Website(s) related to the game, which can be provided as either a single URL or an array of URLs."
164
+
},
165
+
"physical-release": {
131
166
"type": "string",
132
167
"format": "uri",
133
-
"description": "Game website or page"
168
+
"description": "If the entry has/had a physical edition available, provide here a link to where this edition can be purchased or more information about it can be found."
134
169
},
135
170
"wip": {
136
171
"type": "boolean",
137
172
"description": "Flag a game as work-in-progress (not yet completely stable/bugfree)"
138
173
},
139
-
"play": {
174
+
"commercial": {
175
+
"type": "boolean",
176
+
"description": "Flag the entry as a commercial release"
177
+
},
178
+
"use-requirements": {
140
179
"type": "object",
141
180
"properties": {
142
-
"enable": {
181
+
"disabledownloads": {
182
+
"type": "boolean",
183
+
"description": "Disable downloads for all the attached files to the entry"
184
+
},
185
+
"disableplay": {
143
186
"type": "boolean",
144
-
"description": "Allow or not the game to be played directly on the website"
187
+
"description": "Allow or not the game to be played directly on the website through an emulator"
145
188
}
146
-
}
189
+
},
190
+
"description": "Global preferences aimed at potential users of the database (e.g. the Homebrew Hub frontend). Those values ovverride the ones set to the single files."
0 commit comments