new-horizons/NewHorizons/Schemas/translation_schema.json
2022-07-26 12:33:06 -04:00

60 lines
1.6 KiB
JSON

{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Translation Schema",
"type": "object",
"additionalProperties": false,
"properties": {
"DialogueDictionary": {
"type": "object",
"description": "Translation table for dialogue",
"additionalProperties": {
"type": "string"
}
},
"ShipLogDictionary": {
"type": "object",
"description": "Translation table for Ship Log (entries, facts, etc)",
"additionalProperties": {
"type": "string"
}
},
"UIDictionary": {
"type": "object",
"description": "Translation table for UI elements",
"additionalProperties": {
"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"
}
}