summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/wwwroot/schemas/i18n.json
blob: 36c04890b68f06f49a4a53216ac7ffdb65611694 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "https://smapi.io/schemas/i18n.json",
    "title": "SMAPI i18n file",
    "description": "A translation file for a SMAPI mod or content pack.",
    "@documentationUrl": "https://stardewvalleywiki.com/Modding:Modder_Guide/APIs/Translation",

    "allowComments": true,
    "allowTrailingCommas": true,

    "type": "object",
    "properties": {
        "$schema": {
            "title": "Schema",
            "description": "A reference to this JSON schema. Not part of the actual format, but useful for validation tools.",
            "type": "string",
            "const": "https://smapi.io/schemas/i18n.json"
        }
    },

    "additionalProperties": {
        "type": "string",
        "@errorMessages": {
            "type": "Invalid property. Translation files can only contain text property values."
        }
    }
}