翻译者:Yuyan Jiang
原文链接:https://iiif.io/api/cookbook/recipe/0029-metadata-anywhere/

任何资源上的元数据
专题首页 | 专题列表

用例

通常,向最终用户提供有关资源的描述性元数据(如创建者、日期、主题标题和物理或上下文描述的信息)是很有用的。元数据可以描述整个资源,但也可以在更精细的级别上应用,以提供有关资源部分的信息,如单个图像或页面、页面区域或注释。
实施说明
该属性用于提供作为数组的描述性元数据的有序列表,每个条目都以一对可读性和数组提供。属性和属性的值必须是 JSON 对象。这些值将由客户端以标签/值对显示给用户。有关更多信息,请参阅 IIIF 演示 API元数据部分。
限制
所有用于向用户演示的描述性属性必须使用属性值的语言部分概述的语言地图,并在国际化和多语言内容配方中进行演示。这些条目的内容仅用于演示:不应推断描述性语义。有关如何包含支持发现的结构化元数据的信息,请参阅“链接到结构元数据“配方。
样例
在本示例中,我们有两个画布,每个画布都带有同一幅画[i]的不同照片:一张使用自然光,另一张使用X射线图像。元数据在”清单”级别提供,以传达有关资源的信息,并在每个画布上提供额外的元数据,以提供特定于图像的详细信息。
JSON-LD | 在Universal Viewer中查看 | 在Mirador中查看

  1. {
  2. "@context": "http://iiif.io/api/presentation/3/context.json",
  3. "id": "https://iiif.io/api/cookbook/recipe/0029-metadata-anywhere/manifest.json",
  4. "type": "Manifest",
  5. "label": {
  6. "en": [
  7. "John Dee performing an experiment before Queen Elizabeth I."
  8. ]
  9. },
  10. "metadata": [
  11. {
  12. "label": {
  13. "en": [
  14. "Creator"
  15. ]
  16. },
  17. "value": {
  18. "en": [
  19. "Glindoni, Henry Gillard, 1852-1913"
  20. ]
  21. }
  22. },
  23. {
  24. "label": {
  25. "en": [
  26. "Date"
  27. ]
  28. },
  29. "value": {
  30. "en": [
  31. "1800-1899"
  32. ]
  33. }
  34. },
  35. {
  36. "label": {
  37. "en": [
  38. "Physical Description"
  39. ]
  40. },
  41. "value": {
  42. "en": [
  43. "1 painting : oil on canvas ; canvas 152 x 244.4 cm"
  44. ]
  45. }
  46. },
  47. {
  48. "label": {
  49. "en": [
  50. "Reference"
  51. ]
  52. },
  53. "value": {
  54. "en": [
  55. "Wellcome Library no. 47369i"
  56. ]
  57. }
  58. }
  59. ],
  60. "requiredStatement": {
  61. "label": {
  62. "en": [
  63. "Attribution"
  64. ]
  65. },
  66. "value": {
  67. "en": [
  68. "Wellcome Collection. Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)"
  69. ]
  70. }
  71. },
  72. "items": [
  73. {
  74. "id": "https://iiif.io/api/cookbook/recipe/0029-metadata-anywhere/canvas/p1",
  75. "type": "Canvas",
  76. "label": {
  77. "en": [
  78. "Painting under natural light"
  79. ]
  80. },
  81. "height": 1271,
  82. "width": 2000,
  83. "metadata": [
  84. {
  85. "label": {
  86. "en": [
  87. "Description"
  88. ]
  89. },
  90. "value": {
  91. "en": [
  92. "The scene is the house at Mortlake of Dr John Dee (1527-1608). At the court of Queen Elizabeth I, Dee was revered for the range of his scientific knowledge, which embraced the fields of mathematics, navigation, geography, alchemy/chemistry, medicine and optics. In the painting he is showing the effect of combining two elements, either to cause combustion or to extinguish it. Behind him is his assistant Edward Kelly, wearing a long skullcap to conceal the fact that his ears had been cropped as a punishment for forgery."
  93. ]
  94. }
  95. }
  96. ],
  97. "items": [
  98. {
  99. "id": "https://iiif.io/api/cookbook/recipe/0029-metadata-anywhere/page/p1/1",
  100. "type": "AnnotationPage",
  101. "items": [
  102. {
  103. "id": "https://iiif.io/api/cookbook/recipe/0029-metadata-anywhere/annotation/p0001-image",
  104. "type": "Annotation",
  105. "motivation": "painting",
  106. "body": {
  107. "id": "https://iiif.io/api/image/3.0/example/reference/421e65be2ce95439b3ad6ef1f2ab87a9-dee-natural/full/max/0/default.jpg",
  108. "type": "Image",
  109. "format": "image/jpeg",
  110. "height": 1271,
  111. "width": 2000,
  112. "service": [
  113. {
  114. "id": "https://iiif.io/api/image/3.0/example/reference/421e65be2ce95439b3ad6ef1f2ab87a9-dee-natural",
  115. "profile": "level1",
  116. "type": "ImageService3"
  117. }
  118. ]
  119. },
  120. "target": "https://iiif.io/api/cookbook/recipe/0029-metadata-anywhere/canvas/p1"
  121. }
  122. ]
  123. }
  124. ]
  125. },
  126. {
  127. "id": "https://iiif.io/api/cookbook/recipe/0029-metadata-anywhere/canvas/p2",
  128. "type": "Canvas",
  129. "label": {
  130. "en": [
  131. "X-ray view of painting"
  132. ]
  133. },
  134. "height": 1271,
  135. "width": 2000,
  136. "metadata": [
  137. {
  138. "label": {
  139. "en": [
  140. "Description"
  141. ]
  142. },
  143. "value": {
  144. "en": [
  145. "The painting originally showed Dee standing in a circle of skulls on the floor, stretching from the floor area in front of the Queen (on the left) to the floor near Edward Kelly (on the right). The skulls were at an early stage painted over, but have since become visible. Another pentimento is visible in the tapestry on the right: shelves containing monstrous animals are visible behind it. The pentimenti were clarified when the painting was X-rayed in 2015."
  146. ]
  147. }
  148. }
  149. ],
  150. "items": [
  151. {
  152. "id": "https://iiif.io/api/cookbook/recipe/0029-metadata-anywhere/page/p2/1",
  153. "type": "AnnotationPage",
  154. "items": [
  155. {
  156. "id": "https://iiif.io/api/cookbook/recipe/0029-metadata-anywhere/annotation/p0002-image",
  157. "type": "Annotation",
  158. "motivation": "painting",
  159. "body": {
  160. "id": "https://iiif.io/api/image/3.0/example/reference/421e65be2ce95439b3ad6ef1f2ab87a9-dee-xray/full/max/0/default.jpg",
  161. "type": "Image",
  162. "format": "image/jpeg",
  163. "height": 1271,
  164. "width": 2000,
  165. "service": [
  166. {
  167. "id": "https://iiif.io/api/image/3.0/example/reference/421e65be2ce95439b3ad6ef1f2ab87a9-dee-xray",
  168. "profile": "level1",
  169. "type": "ImageService3"
  170. }
  171. ]
  172. },
  173. "target": "https://iiif.io/api/cookbook/recipe/0029-metadata-anywhere/canvas/p2"
  174. }
  175. ]
  176. }
  177. ]
  178. }
  179. ]
  180. }

相关专题
o 国际化和多语言内容
o 使用语言映射显示多个值
o 链接到结构元数据


[i]图片来源:亨利·吉拉德·格林多尼 (Henry Gillard Glindoni) 的油画《John Dee performing an experiment before Queen Elizabeth I. 》。Wellcome Collection 遵守CC BY-NC 4.0