From 4deda7e607d56f64c2c06e0e1b662071bc96fe9a Mon Sep 17 00:00:00 2001 From: Hadrien Gardeur Date: Thu, 4 Jul 2024 16:32:56 +0200 Subject: [PATCH] Updated new properties to camel case --- profiles/divina.md | 10 +++++----- properties.md | 4 +++- schema/extensions/divina/properties.schema.json | 4 ++-- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/profiles/divina.md b/profiles/divina.md index a6ff0c4..04826b2 100644 --- a/profiles/divina.md +++ b/profiles/divina.md @@ -164,7 +164,7 @@ Some publications may contain spreads where the user needs to navigate back and In order to convey this information, this profile introduces a new property for Link Objects:
-
meaningful-spread
+
meaningfulSpread
Hint that the current resource should be presented in a spread to fully convey the meaning of its content.
@@ -205,7 +205,7 @@ In order to convey this information, this profile introduces a new property for "type": "image/jpeg", "properties": { "page": "right", - "meaningful-spread": true + "meaningfulSpread": true } }, { @@ -213,7 +213,7 @@ In order to convey this information, this profile introduces a new property for "type": "image/jpeg", "properties": { "page": "left", - "meaningful-spread": true + "meaningfulSpread": true } } ] @@ -227,7 +227,7 @@ For publications where a single continuous scroll is required to properly displa In order to override the default behaviour of displaying all images from the `readingOrder` in a single continuous scroll, this profile also introduces a new property for Link Objects:
-
break-scroll-before
+
breakScrollBefore
Specifies that an item in the reading order should break the current continuous scroll and start a new one.
@@ -258,7 +258,7 @@ In order to override the default behaviour of displaying all images from the `re "href": "episode2-image1.jpg", "type": "image/jpeg", "properties": { - "break-scroll-before": true + "breakScrollBefore": true } }, { diff --git a/properties.md b/properties.md index 0725902..d6cdf12 100644 --- a/properties.md +++ b/properties.md @@ -42,9 +42,11 @@ The `page` property is meant to provide a hint to reading systems that rely on s | Key | Semantics | Type | Values | Reference | | ----- | --------- | -------- | --------- | --------- | +| [`breakScrollBefore`](/profiles/divina.md#42-scrolled-publications) | Hint that the current resource should be presented in a spread to fully convey the meaning of its content. | Boolean | Defaults to `false` | [Divina Profile](/profiles/divina.md) | | [`contains`](/profiles/epub.md#contains) | Indentifies content contained in the linked resource, that cannot be strictly identified using a media type. | Array | `mathml`, `onix`, `remote-resources`, `js`, `svg` or `xmp` | [EPUB Profile](/profiles/epub.md#properties) | -| [`layout`](/profiles/epub.md#layout) | Hint about the nature of the layout for the linked resources. | String | `fixed` or `reflowable` | [EPUB Profile](/profiles/epub.md#properties) | | [`encrypted`](/modules/encryption.md) | Indicates how a given resource has been encrypted or obfuscated. | [Encryption Object](/modules/encryption.md#encryption-object) | See the definition of the Encryption Object | [Encryption Module](/modules/encryption.md) | +| [`layout`](/profiles/epub.md#layout) | Hint about the nature of the layout for the linked resources. | String | `fixed` or `reflowable` | [EPUB Profile](/profiles/epub.md#properties) | +| [`meaningfulSpread`](/profiles/divina.md#41-fixed-layout) | Specifies that an item in the reading order should break the current continuous scroll and start a new one. | Boolean | Defaults to `false` | [Divina Profile](/profiles/divina.md) | ## OPDS 2.0 diff --git a/schema/extensions/divina/properties.schema.json b/schema/extensions/divina/properties.schema.json index df936ae..ab0d450 100644 --- a/schema/extensions/divina/properties.schema.json +++ b/schema/extensions/divina/properties.schema.json @@ -4,12 +4,12 @@ "title": "Divina Profile - Link Properties", "type": "object", "properties": { - "break-scroll-before": { + "breakScrollBefore": { "description": "Specifies that an item in the reading order should break the current continuous scroll and start a new one.", "type": "boolean", "default": false }, - "meaningful-spread": { + "meaningfulSpread": { "description": "Hint that the current resource should be presented in a spread to fully convey the meaning of its content.", "type": "boolean", "default": false