summaryrefslogtreecommitdiff
path: root/ext/bg/data/dictionary-term-meta-bank-v3-schema.json
blob: 1cc0557fdeb48a52ad19e0aec47234459d8bf5aa (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 terms/expressions.",
    "additionalItems": {
        "type": "array",
        "description": "Metadata about a single term/expression.",
        "minItems": 3,
        "items": [
            {
                "type": "string",
                "description": "Term or expression."
            },
            {
                "type": "string",
                "enum": ["freq"],
                "description": "Type of data. \"freq\" corresponds to frequency information."
            },
            {
                "type": ["string", "number"],
                "description": "Data for the term/expression."
            }
        ]
    }
}