You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A short textual description or summary of the resource that the property is attached to, intended to be conveyed to the user when the `metadata`fields are not being displayed.
203
+
##### summary
204
+
A short textual summary of this resource, intended to be conveyed to the user when the `metadata`pairs for the resource are not being displayed. This could be used as a snippet for item level search results, for limited screen real-estate environments, or an alternative in the user interface for when the `metadata` is not being rendered.
205
205
206
206
The value of the property _MUST_ be a JSON object, as described in the [languages][languages-prezi30] section.
207
207
208
-
* A Collection _SHOULD_ have one or more `description`s.<br/>
209
-
Clients _SHOULD_ render `description` on a Collection.
210
-
* A Manifest _SHOULD_ have one or more `description`s.
211
-
Clients _SHOULD_ render `description` on a Manifest.
212
-
* A Canvas _MAY_ have one or more `description`s.<br/>
213
-
Clients _SHOULD_ render `description` on a Canvas.
214
-
* Other resource types _MAY_ have one or more `description`.<br/>
215
-
Clients _MAY_ render `description` on other resource types.
208
+
* A Collection _SHOULD_ have one or more `summary`s.<br/>
209
+
Clients _SHOULD_ render `summary` on a Collection.
210
+
* A Manifest _SHOULD_ have one or more `summmary`s.
211
+
Clients _SHOULD_ render `summary` on a Manifest.
212
+
* A Canvas _MAY_ have one or more `summary`s.<br/>
213
+
Clients _SHOULD_ render `summary` on a Canvas.
214
+
* Other resource types _MAY_ have one or more `summary`s.<br/>
215
+
Clients _MAY_ render `summary` on other resource types.
216
216
217
217
```json-doc
218
-
{"description": {"en": ["This is a summary of the object."]}}
218
+
{"summary": {"en": ["This is a summary of the object."]}}
219
219
```
220
220
221
221
##### thumbnail
@@ -832,7 +832,7 @@ Any of the properties in the API that can have multiple values _MUST_ always be
832
832
833
833
### 4.4. Language of Property Values
834
834
835
-
Language _MAY_ be associated with strings that are intended to be displayed to the user for the `label`, `description`, `attribution` fields, plus the `label` and `value` fields of the `metadata` construction.
835
+
Language _MAY_ be associated with strings that are intended to be displayed to the user for the `label`, `summary`, `attribution` fields, plus the `label` and `value` fields of the `metadata` construction.
836
836
837
837
The values of these fields _MUST_ be JSON objects, with the keys being the [RFC 5646][rfc5646] language code for the language, or if the language is either not known or the string does not have a language, then the key must be `"@none"`. The associated values _MUST_ be arrays of strings, where each string is the content in the given language.
838
838
@@ -862,7 +862,7 @@ Note that this does not apply to embedded textual bodies in Annotations, which u
862
862
863
863
### 4.5. HTML Markup in Property Values
864
864
865
-
Minimal HTML markup _MAY_ be included in the `description`, `attribution` properties and the `value` property of a `label`/`value` pair in `metadata`. It _MUST NOT_ be used in `label` or other properties. This is included to allow manifest creators to add links and simple formatting instructions to blocks of text. The content _MUST_ be well-formed XML and therefore must be wrapped in an element such as `p` or `span`. There _MUST NOT_ be whitespace on either side of the HTML string, and thus the first character in the string _MUST_ be a '<' character and the last character _MUST_ be '>', allowing a consuming application to test whether the value is HTML or plain text using these. To avoid a non-HTML string matching this, it is _RECOMMENDED_ that an additional whitespace character be added to the end of the value in situations where plain text happens to start and end this way.
865
+
Minimal HTML markup _MAY_ be included in the `summary`, `attribution` properties and the `value` property of a `label`/`value` pair in `metadata`. It _MUST NOT_ be used in `label` or other properties. This is included to allow manifest creators to add links and simple formatting instructions to blocks of text. The content _MUST_ be well-formed XML and therefore must be wrapped in an element such as `p` or `span`. There _MUST NOT_ be whitespace on either side of the HTML string, and thus the first character in the string _MUST_ be a '<' character and the last character _MUST_ be '>', allowing a consuming application to test whether the value is HTML or plain text using these. To avoid a non-HTML string matching this, it is _RECOMMENDED_ that an additional whitespace character be added to the end of the value in situations where plain text happens to start and end this way.
866
866
867
867
In order to avoid HTML or script injection attacks, clients _MUST_ remove:
868
868
@@ -875,7 +875,7 @@ In order to avoid HTML or script injection attacks, clients _MUST_ remove:
875
875
Clients _SHOULD_ allow only `a`, `b`, `br`, `i`, `img`, `p`, `small`, `span`, `sub` and `sup` tags. Clients _MAY_ choose to remove any and all tags, therefore it _SHOULD NOT_ be assumed that the formatting will always be rendered.
@@ -1161,7 +1161,7 @@ The content resource is linked in the `body` of the Annotation. The content reso
1161
1161
1162
1162
Although it might seem redundant, the URI of the Canvas _MUST_ be repeated in the `target` field of the Annotation. This is to ensure consistency with Annotations that target only part of the resource, described in more detail below, and to remain faithful to the Web Annotation specification, where `target` is mandatory.
1163
1163
1164
-
The type of the content resource _MUST_ be included, and _SHOULD_ be taken from the table listed under the definition of `type`. The format of the resource _SHOULD_ be included and, if so, _SHOULD_ be the media type that is returned when the resource is dereferenced. The content resources _MAY_ also have any of the other fields defined in this specification, including commonly `label`, `description`, `metadata`, `license` and `attribution`.
1164
+
The type of the content resource _MUST_ be included, and _SHOULD_ be taken from the table listed under the definition of `type`. The format of the resource _SHOULD_ be included and, if so, _SHOULD_ be the media type that is returned when the resource is dereferenced. The content resources _MAY_ also have any of the other fields defined in this specification, including commonly `label`, `summary`, `metadata`, `license` and `attribution`.
1165
1165
1166
1166
Additional features of the [Web Annotation][webanno] data model _MAY_ also be used, such as selecting a segment of the Canvas or content resource, or embedding the comment or transcription within the Annotation. The use of these advanced features sometimes results in situations where the `target` is not a content resource, but instead a `SpecificResource`, a `Choice`, or other non-content object. Implementations should check the `type` of the resource and not assume that it is always content to be rendered.
1167
1167
@@ -1313,7 +1313,6 @@ The intended usage of collections is to allow clients to:
1313
1313
* Visualize lists or hierarchies of related manifests.
1314
1314
* Provide navigation through a list or hierarchy of available manifests.
1315
1315
1316
-
1317
1316
An empty collection, with no member resources, is allowed but discouraged.
1318
1317
1319
1318
An example collection document:
@@ -1327,8 +1326,8 @@ An example collection document:
1327
1326
"id": "http://example.org/iiif/collection/top",
1328
1327
"type": "Collection",
1329
1328
"label": {"en": ["Top Level Collection for Example Organization"]},
1329
+
"summary": {"en": ["Short summary of the Collection"]},
1330
1330
"behavior": ["top"],
1331
-
"description": {"en": ["Description of Collection"]},
1332
1331
"attribution": {"en": ["Provided by Example Organization"]},
1333
1332
1334
1333
"items": []
@@ -1517,7 +1516,7 @@ It is possible to include Image API service descriptions within the manifest, an
0 commit comments