aboutsummaryrefslogtreecommitdiff
path: root/ext/data/schemas
diff options
context:
space:
mode:
Diffstat (limited to 'ext/data/schemas')
-rw-r--r--ext/data/schemas/dictionary-term-bank-v3-schema.json20
-rw-r--r--ext/data/schemas/options-schema.json7
2 files changed, 25 insertions, 2 deletions
diff --git a/ext/data/schemas/dictionary-term-bank-v3-schema.json b/ext/data/schemas/dictionary-term-bank-v3-schema.json
index 8243f2a7..066229c3 100644
--- a/ext/data/schemas/dictionary-term-bank-v3-schema.json
+++ b/ext/data/schemas/dictionary-term-bank-v3-schema.json
@@ -400,7 +400,7 @@
},
{
"type": "string",
- "description": "String of space-separated rule identifiers for the definition which is used to validate delinflection. Valid rule identifiers are: v1: ichidan verb; v5: godan verb; vs: suru verb; vk: kuru verb; adj-i: i-adjective. An empty string corresponds to words which aren't inflected, such as nouns."
+ "description": "String of space-separated rule identifiers for the definition which is used to validate deinflection. An empty string should be used for words which aren't inflected."
},
{
"type": "number",
@@ -535,6 +535,24 @@
}
}
]
+ },
+ {
+ "type": "array",
+ "description": "Deinflection of the term to an uninflected term.",
+ "items": [
+ {
+ "type": "string",
+ "description": "The uninflected term."
+ },
+ {
+ "type": "array",
+ "description": "A chain of inflection rules that produced the inflected term",
+ "items": {
+ "type": "string",
+ "description": "A single inflection rule."
+ }
+ }
+ ]
}
]
}
diff --git a/ext/data/schemas/options-schema.json b/ext/data/schemas/options-schema.json
index 8cf00400..24f3a6b0 100644
--- a/ext/data/schemas/options-schema.json
+++ b/ext/data/schemas/options-schema.json
@@ -823,7 +823,8 @@
"enabled",
"allowSecondarySearches",
"definitionsCollapsible",
- "partsOfSpeechFilter"
+ "partsOfSpeechFilter",
+ "useDeinflections"
],
"properties": {
"name": {
@@ -850,6 +851,10 @@
"partsOfSpeechFilter": {
"type": "boolean",
"default": true
+ },
+ "useDeinflections": {
+ "type": "boolean",
+ "default": true
}
}
}