aboutsummaryrefslogtreecommitdiff
path: root/ext/bg
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-05 14:45:37 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-05 14:46:45 -0400
commitcd831d88cc822e4292bf6d9d97f46f38f52455fa (patch)
tree4ce10b1a98101edfe7c9f193e90ec0ef586be11f /ext/bg
parent3df78904cf734da208c6fd1b6ae1cd6612323148 (diff)
Update schema to include additional fields
Diffstat (limited to 'ext/bg')
-rw-r--r--ext/bg/data/dictionary-index-schema.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/ext/bg/data/dictionary-index-schema.json b/ext/bg/data/dictionary-index-schema.json
index 9311f14c..09cff711 100644
--- a/ext/bg/data/dictionary-index-schema.json
+++ b/ext/bg/data/dictionary-index-schema.json
@@ -30,6 +30,22 @@
"description": "Alias for format.",
"enum": [1, 2, 3]
},
+ "author": {
+ "type": "string",
+ "description": "Creator of the dictionary."
+ },
+ "url": {
+ "type": "string",
+ "description": "URL for the source of the dictionary."
+ },
+ "description": {
+ "type": "string",
+ "description": "Description of the dictionary data."
+ },
+ "attribution": {
+ "type": "string",
+ "description": "Attribution information for the dictionary data."
+ },
"tagMeta": {
"type": "object",
"description": "Tag information for terms and kanji. This object is obsolete and individual tag files should be used instead.",