Skip to content

Commit 6ceabee

Browse files
committed
hardware support tags
1 parent d618b92 commit 6ceabee

2 files changed

Lines changed: 15 additions & 41 deletions

File tree

entries/bannerprinter/game.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"slug": "bannerprinter",
1717
"tags": [
1818
"Open Source",
19-
"gbprinter"
19+
"hw:gbprinter"
2020
],
2121
"title": "Bannerprinter",
2222
"typetag": "tool"

game-schema-d4.json

Lines changed: 14 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,14 @@
44
"title": "Game object",
55
"description": "A game in the Homebrew Hub database",
66
"type": "object",
7-
"properties":
8-
{
9-
"slug":
10-
{
7+
"properties": {
8+
"slug": {
119
"description": "A unique string identifier for a game",
1210
"type": "string",
1311
"pattern": "^[a-z0-9._-]+$"
1412
},
15-
"developer":
16-
{
17-
"oneOf":
18-
[
13+
"developer": {
14+
"oneOf": [
1915
{
2016
"type": "string",
2117
"description": "A name, username or nickname representing the developer(s)"
@@ -28,57 +24,37 @@
2824
}
2925
]
3026
},
31-
"description":
32-
{
27+
"description": {
3328
"type": "string",
3429
"description": "A text description about the entry (e.g. Instructions, lore, ..)"
3530
},
36-
"title":
37-
{
31+
"title": {
3832
"type": "string",
3933
"description": "Full name of the game"
4034
},
41-
"platform":
42-
{
35+
"platform": {
4336
"type": "string",
4437
"description": "Target console",
45-
"enum":
46-
[
47-
"GB",
48-
"GBC",
49-
"GBA"
50-
]
38+
"enum": ["GB", "GBC", "GBA"]
5139
},
52-
"typetag":
53-
{
40+
"typetag": {
5441
"type": "string",
5542
"description": "Type of the software",
56-
"enum":
57-
[
58-
"game",
59-
"tool",
60-
"demo",
61-
"hackrom",
62-
"music"
63-
]
43+
"enum": ["game", "tool", "demo", "hackrom", "music"]
6444
},
65-
"gameLicense":
66-
{
45+
"gameLicense": {
6746
"description": "License under which the software is released",
6847
"$ref": "#/definitions/license"
6948
},
70-
"assetsLicense":
71-
{
49+
"assetsLicense": {
7250
"description": "License under which the game assets are released",
7351
"$ref": "#/definitions/license"
7452
},
75-
"video":
76-
{
53+
"video": {
7754
"description": "URL of a gameplay or trailer video",
7855
"type": "string"
7956
},
80-
"date":
81-
{
57+
"date": {
8258
"type": "string",
8359
"format": "date",
8460
"description": "The date the entry was first released"
@@ -123,9 +99,7 @@
12399
{
124100
"type": "string",
125101
"enum": [
126-
// The homebrew makes use of the Game Boy Camera (Pocket Camera) accessory
127102
"hw:gbprinter",
128-
// The homebrew makes use of the Game Boy Printer (Pocket Printer) accessory
129103
"hw:gbcamera"
130104
]
131105
}

0 commit comments

Comments
 (0)