Skip to content

Commit 3ec894a

Browse files
committed
Add Third Party API Field to server metadata
1 parent 794c6b9 commit 3ec894a

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

mappings/metadata.example.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,8 @@
2828
"website": "https://goldenpvp.net",
2929
"socials": {
3030
"twitter": "GoldenPvPNet"
31-
}
31+
},
32+
"thirdPartyAPIs": [
33+
"Apollo"
34+
]
3235
}

mappings/metadata.schema.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,13 @@
118118
"type": "string"
119119
}
120120
}
121+
},
122+
"thirdPartyAPIs": {
123+
"type": "array",
124+
"uniqueItems": true,
125+
"items": {
126+
"$ref": "#/definitions/ThirdPartyAPI"
127+
}
121128
}
122129
},
123130
"definitions": {
@@ -202,6 +209,12 @@
202209
"Roleplay",
203210
"Adventure"
204211
]
212+
},
213+
"ThirdPartyAPI": {
214+
"type": "string",
215+
"enum": [
216+
"Apollo"
217+
]
205218
}
206219
}
207220
}

0 commit comments

Comments
 (0)