aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-17 19:46:22 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-22 12:09:34 -0500
commit86d0fb664361251287e6327bc10c6d56c6af5c8c (patch)
tree2abd991c00681178f45587de511cb98983841617
parent62d4f68412687fc27340f3807258d09d1a6c4b10 (diff)
Require format to be 1, 2, or 3
-rw-r--r--ext/bg/data/dictionary-index-schema.json6
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/bg/data/dictionary-index-schema.json b/ext/bg/data/dictionary-index-schema.json
index fa1a696b..9311f14c 100644
--- a/ext/bg/data/dictionary-index-schema.json
+++ b/ext/bg/data/dictionary-index-schema.json
@@ -22,11 +22,13 @@
},
"format": {
"type": "integer",
- "description": "Format of data found in the JSON data files."
+ "description": "Format of data found in the JSON data files.",
+ "enum": [1, 2, 3]
},
"version": {
"type": "integer",
- "description": "Alias for format."
+ "description": "Alias for format.",
+ "enum": [1, 2, 3]
},
"tagMeta": {
"type": "object",