summaryrefslogtreecommitdiff
path: root/ext/data/schemas/dictionary-term-bank-v3-schema.json
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-05-18 17:41:27 -0400
committerGitHub <noreply@github.com>2021-05-18 17:41:27 -0400
commitf3cf4d10c711037c99c185dd0b46dac9f5d69794 (patch)
treef8689d0f64118c8b8b7d991bc50d57f98d3c711f /ext/data/schemas/dictionary-term-bank-v3-schema.json
parent76276e78dac387df66384a10bc1179c90ebd93fe (diff)
Dictionary image display refactoring (#1687)
* Generalize image definition generation * Enable optional aspect ratio * Move styles * Update styles * Add more options for collapsing images * Add image options for collapsing * Improve layout for images that are collapsed
Diffstat (limited to 'ext/data/schemas/dictionary-term-bank-v3-schema.json')
-rw-r--r--ext/data/schemas/dictionary-term-bank-v3-schema.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/data/schemas/dictionary-term-bank-v3-schema.json b/ext/data/schemas/dictionary-term-bank-v3-schema.json
index 4790e561..2289dfd6 100644
--- a/ext/data/schemas/dictionary-term-bank-v3-schema.json
+++ b/ext/data/schemas/dictionary-term-bank-v3-schema.json
@@ -104,6 +104,16 @@
"type": "boolean",
"description": "Whether or not the image should appear pixelated at sizes larger than the image's native resolution.",
"default": false
+ },
+ "collapsed": {
+ "type": "boolean",
+ "description": "Whether or not the image is collapsed by default.",
+ "default": false
+ },
+ "collapsible": {
+ "type": "boolean",
+ "description": "Whether or not the image can be collapsed.",
+ "default": true
}
}
}