From 029f42f3bc5687e7f5a9fe2eb30f568422e899f0 Mon Sep 17 00:00:00 2001 From: Moose1301 <40875577+Moose1301@users.noreply.github.com> Date: Sat, 11 Jan 2025 16:58:18 -0500 Subject: [PATCH] Add Third Party API Field to server metadata (#98) --- mappings/metadata.example.json | 5 ++++- mappings/metadata.schema.json | 13 +++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/mappings/metadata.example.json b/mappings/metadata.example.json index a2ad82f..9b7e19c 100644 --- a/mappings/metadata.example.json +++ b/mappings/metadata.example.json @@ -28,5 +28,8 @@ "website": "https://goldenpvp.net", "socials": { "twitter": "GoldenPvPNet" - } + }, + "thirdPartyAPIs": [ + "Apollo" + ] } \ No newline at end of file diff --git a/mappings/metadata.schema.json b/mappings/metadata.schema.json index 59bcadd..eeae76c 100644 --- a/mappings/metadata.schema.json +++ b/mappings/metadata.schema.json @@ -118,6 +118,13 @@ "type": "string" } } + }, + "thirdPartyAPIs": { + "type": "array", + "uniqueItems": true, + "items": { + "$ref": "#/definitions/ThirdPartyAPI" + } } }, "definitions": { @@ -202,6 +209,12 @@ "Roleplay", "Adventure" ] + }, + "ThirdPartyAPI": { + "type": "string", + "enum": [ + "Apollo" + ] } } }