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-10-16 22:08:08 -0400
committerGitHub <noreply@github.com>2022-10-16 22:08:08 -0400
commit4abbc707a5919183aa8b5e2828fe12286d0f1ce7 (patch)
tree873ab1a316be90b79583cca3f354b2a012721ab1 /ext/data/schemas/dictionary-term-meta-bank-v3-schema.json
parentc93682f677725eb4690818e98a0ea80bd211386e (diff)
Use "const" instead of "enum" with one value (#2259)
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.json4
1 files changed, 2 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 a8e06d0d..eb4d3fed 100644
--- a/ext/data/schemas/dictionary-term-meta-bank-v3-schema.json
+++ b/ext/data/schemas/dictionary-term-meta-bank-v3-schema.json
@@ -49,7 +49,7 @@
{
"items": [
{},
- {"enum": ["freq"]},
+ {"const": "freq"},
{
"oneOf": [
{
@@ -81,7 +81,7 @@
{
"items": [
{},
- {"enum": ["pitch"]},
+ {"const": "pitch"},
{
"type": ["object"],
"description": "Pitch accent information for the term.",