aboutsummaryrefslogtreecommitdiff
path: root/ext/data
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-09-26 11:08:25 -0400
committerGitHub <noreply@github.com>2021-09-26 11:08:25 -0400
commit6694a9d9c3a6770ee744310056cadd3567386f3f (patch)
tree1ff0d9c57a4c6931171f897e102c2092981d0bc3 /ext/data
parentc15683d206c3bcfbaa1fa81f1c57836a34974e83 (diff)
Enable frequency dictionaries to specify the frequency mode (#1944)
Diffstat (limited to 'ext/data')
-rw-r--r--ext/data/schemas/dictionary-index-schema.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/data/schemas/dictionary-index-schema.json b/ext/data/schemas/dictionary-index-schema.json
index c2f095c7..a8ca0f23 100644
--- a/ext/data/schemas/dictionary-index-schema.json
+++ b/ext/data/schemas/dictionary-index-schema.json
@@ -46,6 +46,10 @@
"type": "string",
"description": "Attribution information for the dictionary data."
},
+ "frequencyMode": {
+ "type": "string",
+ "enum": ["occurrence-based", "rank-based"]
+ },
"tagMeta": {
"type": "object",
"description": "Tag information for terms and kanji. This object is obsolete and individual tag files should be used instead.",