Skip to content

Commit

Permalink
Add Third Party API Field to server metadata (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
Moose1301 authored Jan 11, 2025
1 parent 794c6b9 commit 029f42f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mappings/metadata.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,8 @@
"website": "https://goldenpvp.net",
"socials": {
"twitter": "GoldenPvPNet"
}
},
"thirdPartyAPIs": [
"Apollo"
]
}
13 changes: 13 additions & 0 deletions mappings/metadata.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,13 @@
"type": "string"
}
}
},
"thirdPartyAPIs": {
"type": "array",
"uniqueItems": true,
"items": {
"$ref": "#/definitions/ThirdPartyAPI"
}
}
},
"definitions": {
Expand Down Expand Up @@ -202,6 +209,12 @@
"Roleplay",
"Adventure"
]
},
"ThirdPartyAPI": {
"type": "string",
"enum": [
"Apollo"
]
}
}
}

0 comments on commit 029f42f

Please sign in to comment.