aboutsummaryrefslogtreecommitdiff
path: root/ext/data/schemas/dictionary-term-meta-bank-v3-schema.json
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2022-05-16 19:56:02 -0400
committerGitHub <noreply@github.com>2022-05-16 19:56:02 -0400
commit84c9231a5e9733a6300d2edf1718b520467d7dc5 (patch)
treed5d914a4ad8ce22bea12ac009890b9c47789bced /ext/data/schemas/dictionary-term-meta-bank-v3-schema.json
parent8b206e4d0458892d30661353bfb95c6dcefe5b67 (diff)
Update some JSON schemas to be more compliant to the spec (#2136)
Diffstat (limited to 'ext/data/schemas/dictionary-term-meta-bank-v3-schema.json')
-rw-r--r--ext/data/schemas/dictionary-term-meta-bank-v3-schema.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/data/schemas/dictionary-term-meta-bank-v3-schema.json b/ext/data/schemas/dictionary-term-meta-bank-v3-schema.json
index 96f2e54b..a8e06d0d 100644
--- a/ext/data/schemas/dictionary-term-meta-bank-v3-schema.json
+++ b/ext/data/schemas/dictionary-term-meta-bank-v3-schema.json
@@ -26,10 +26,11 @@
},
"type": "array",
"description": "Custom metadata for terms.",
- "additionalItems": {
+ "items": {
"type": "array",
"description": "Metadata about a single term.",
"minItems": 3,
+ "additionalItems": false,
"items": [
{
"type": "string",
@@ -97,7 +98,7 @@
"pitches": {
"type": "array",
"description": "List of different pitch accent information for the term and reading combination.",
- "additionalItems": {
+ "items": {
"type": "object",
"required": [
"position"