summaryrefslogtreecommitdiff
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>2021-05-30 16:22:25 -0400
committerGitHub <noreply@github.com>2021-05-30 16:22:25 -0400
commit6da81d59c34e58454ad12afe34d363b0c1e33bc7 (patch)
tree3e3956b13675c9bb49e25246f231f0bcde8eff6d /ext/data/schemas/dictionary-term-meta-bank-v3-schema.json
parent5bf82a5b81ef172d544da9c5c25492577270e8aa (diff)
Update schema descriptions to be less redundant (#1721)
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.json18
1 files changed, 9 insertions, 9 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 ffffb546..6483ce01 100644
--- a/ext/data/schemas/dictionary-term-meta-bank-v3-schema.json
+++ b/ext/data/schemas/dictionary-term-meta-bank-v3-schema.json
@@ -1,15 +1,15 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "array",
- "description": "Custom metadata for terms/expressions.",
+ "description": "Custom metadata for terms.",
"additionalItems": {
"type": "array",
- "description": "Metadata about a single term/expression.",
+ "description": "Metadata about a single term.",
"minItems": 3,
"items": [
{
"type": "string",
- "description": "Term or expression."
+ "description": "The text for the term."
},
{
"type": "string",
@@ -17,7 +17,7 @@
"description": "Type of data. \"freq\" corresponds to frequency information; \"pitch\" corresponds to pitch information."
},
{
- "description": "Data for the term/expression."
+ "description": "Data for the term."
}
],
"oneOf": [
@@ -29,7 +29,7 @@
"oneOf": [
{
"type": ["string", "number"],
- "description": "Frequency information for the term or expression."
+ "description": "Frequency information for the term."
},
{
"type": ["object"],
@@ -41,11 +41,11 @@
"properties": {
"reading": {
"type": "string",
- "description": "Reading for the term or expression."
+ "description": "Reading for the term."
},
"frequency": {
"type": ["string", "number"],
- "description": "Frequency information for the term or expression."
+ "description": "Frequency information for the term."
}
}
}
@@ -59,7 +59,7 @@
{"enum": ["pitch"]},
{
"type": ["object"],
- "description": "Pitch accent information for the term or expression.",
+ "description": "Pitch accent information for the term.",
"required": [
"reading",
"pitches"
@@ -68,7 +68,7 @@
"properties": {
"reading": {
"type": "string",
- "description": "Reading for the term or expression."
+ "description": "Reading for the term."
},
"pitches": {
"type": "array",