From ea952b32ba261aa14dfa1c23576cc7bff028abd0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 7 Jul 2022 19:34:48 +0000 Subject: [PATCH] Updated Schemas --- NewHorizons/Schemas/translation_schema.json | 23 +++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/NewHorizons/Schemas/translation_schema.json b/NewHorizons/Schemas/translation_schema.json index 02564aee..92a114ef 100644 --- a/NewHorizons/Schemas/translation_schema.json +++ b/NewHorizons/Schemas/translation_schema.json @@ -25,11 +25,34 @@ "type": "string" } }, + "AchievementTranslations": { + "type": "object", + "description": "Translation table for achievements. The key is the unique ID of the achievement", + "additionalProperties": { + "$ref": "#/definitions/AchievementTranslationInfo" + } + }, "$schema": { "type": "string", "description": "The schema to validate with" } }, + "definitions": { + "AchievementTranslationInfo": { + "type": "object", + "additionalProperties": false, + "properties": { + "Name": { + "type": "string", + "description": "The name of the achievement." + }, + "Description": { + "type": "string", + "description": "The short description for this achievement." + } + } + } + }, "$docs": { "title": "Translation Schema", "description": "Schema for a translation file in New Horizons"