From 4abbc707a5919183aa8b5e2828fe12286d0f1ce7 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 16 Oct 2022 22:08:08 -0400 Subject: Use "const" instead of "enum" with one value (#2259) --- ext/data/schemas/dictionary-term-bank-v3-schema.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ext/data/schemas/dictionary-term-bank-v3-schema.json') diff --git a/ext/data/schemas/dictionary-term-bank-v3-schema.json b/ext/data/schemas/dictionary-term-bank-v3-schema.json index a52c18e0..335144c7 100644 --- a/ext/data/schemas/dictionary-term-bank-v3-schema.json +++ b/ext/data/schemas/dictionary-term-bank-v3-schema.json @@ -27,7 +27,7 @@ "properties": { "tag": { "type": "string", - "enum": ["br"] + "const": "br" }, "data": { "$ref": "#/definitions/structuredContentData" @@ -364,7 +364,7 @@ "properties": { "type": { "type": "string", - "enum": ["text"] + "const": "text" }, "text": { "type": "string", @@ -381,7 +381,7 @@ "properties": { "type": { "type": "string", - "enum": ["structured-content"] + "const": "structured-content" }, "content": { "$ref": "#/definitions/structuredContent", @@ -398,7 +398,7 @@ "properties": { "type": { "type": "string", - "enum": ["image"] + "const": "image" }, "path": { "type": "string", -- cgit v1.2.3