aboutsummaryrefslogtreecommitdiff
path: root/ext/data/schemas/dictionary-kanji-meta-bank-v3-schema.json
blob: 49f7c8138eacd64bc99b5298095d01039c1d0fb2 (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
{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "array",
    "description": "Custom metadata for kanji characters.",
    "additionalItems": {
        "type": "array",
        "description": "Metadata about a single kanji character.",
        "minItems": 3,
        "items": [
            {
                "type": "string",
                "minLength": 1
            },
            {
                "type": "string",
                "enum": ["freq"],
                "description": "Type of data. \"freq\" corresponds to frequency information."
            },
            {
                "type": ["number"],
                "description": "Data for the character."
            }
        ]
    }
}