summaryrefslogtreecommitdiff
path: root/ext/data/schemas
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-07-15 22:39:33 -0400
committerGitHub <noreply@github.com>2021-07-15 22:39:33 -0400
commit41fc76d6fd6af9a880ac8b75e7b03afd1395780a (patch)
tree902d1d44e83123fdc2fc4eefda9923c9ac500aac /ext/data/schemas
parent25d74140ce9843b4bcb86b1b2bbf644602cdb3d0 (diff)
Devoice and nasal pronunciation info (#1832)
* Update schema to support information about nasal and devoiced mora * Expose nasalPositions and devoicePositions in dictionary entry data * Expose nasalPositions, devoicePositions in grouped pitch info * Update display generator * Update test dictionary data * Update test data
Diffstat (limited to 'ext/data/schemas')
-rw-r--r--ext/data/schemas/dictionary-term-meta-bank-v3-schema.json34
1 files changed, 34 insertions, 0 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 6483ce01..8eb9d343 100644
--- a/ext/data/schemas/dictionary-term-meta-bank-v3-schema.json
+++ b/ext/data/schemas/dictionary-term-meta-bank-v3-schema.json
@@ -85,6 +85,40 @@
"description": "Mora position of the pitch accent downstep. A value of 0 indicates that the word does not have a downstep (heiban).",
"minimum": 0
},
+ "nasal": {
+ "oneOf": [
+ {
+ "type": "integer",
+ "description": "Position of a mora with nasal sound.",
+ "minimum": 0
+ },
+ {
+ "type": "array",
+ "description": "Positions of morae with nasal sound.",
+ "items": {
+ "type": "integer",
+ "minimum": 0
+ }
+ }
+ ]
+ },
+ "devoice": {
+ "oneOf": [
+ {
+ "type": "integer",
+ "description": "Position of a mora with devoiced sound.",
+ "minimum": 0
+ },
+ {
+ "type": "array",
+ "description": "Positions of morae with devoiced sound.",
+ "items": {
+ "type": "integer",
+ "minimum": 0
+ }
+ }
+ ]
+ },
"tags": {
"type": "array",
"description": "List of tags for this pitch accent.",