Skip to content

Commit fe5b069

Browse files
author
Rob Sanderson
committed
updates
1 parent b7bad36 commit fe5b069

2 files changed

Lines changed: 51 additions & 14 deletions

File tree

source/presentation/4.0/model.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2644,7 +2644,12 @@ The value _MUST_ be a JSON Object with the `id` and `type` properties. The value
26442644

26452645
{% include api/code_header.html %}
26462646
``` json-doc
2647-
{ "source": "https://example.org/museum/images/1" }
2647+
{
2648+
"source": {
2649+
"@id": "https://example.org/museum/images/1",
2650+
"@type": "Image"
2651+
}
2652+
}
26482653
```
26492654

26502655

source/presentation/4/context.json

Lines changed: 45 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,16 @@
406406
"metadata": {
407407
"@type": "@id",
408408
"@id": "iiif_prezi:metadataEntries",
409-
"@container": "@list"
409+
"@container": "@list",
410+
"@context": {
411+
"value": {
412+
"@id": "rdf:value",
413+
"@container": ["@language", "@set"],
414+
"@context": {
415+
"none": "@none"
416+
}
417+
}
418+
}
410419
},
411420

412421
"motivation": {
@@ -498,7 +507,11 @@
498507
},
499508

500509
"quality": "iiif_prezi:quality",
501-
"quantityValue": "crm:P90_has_value",
510+
511+
"quantityValue": {
512+
"@id": "crm:P90_has_value",
513+
"type": "xsd:double"
514+
},
502515

503516
"refinedBy": {
504517
"@id": "oa:refinedBy",
@@ -515,7 +528,16 @@
515528

516529
"requiredStatement": {
517530
"@id": "iiif_prezi:requiredStatement",
518-
"@type": "@id"
531+
"@type": "@id",
532+
"@context": {
533+
"value": {
534+
"@id": "rdf:value",
535+
"@container": ["@language", "@set"],
536+
"@context": {
537+
"none": "@none"
538+
}
539+
}
540+
}
519541
},
520542

521543
"rights": {
@@ -714,17 +736,15 @@
714736
"unit": "crm:P91_has_unit",
715737

716738
"value": {
717-
"@id": "rdf:value",
718-
"@container": ["@language", "@set"],
719-
"@context": {
720-
"none": "@none"
721-
}
739+
"@id": "rdf:value"
722740
},
723741

724742
"version": "iiif_image:version",
743+
725744
"via": {
726745
"@id": "oa:via",
727-
"@type": "@id"
746+
"@type": "@id",
747+
"@container": "@list"
728748
},
729749

730750
"viewHeight": "iiif_prezi:viewHeight",
@@ -742,16 +762,28 @@
742762
},
743763

744764
"volume": {
745-
"@id": "iiif_prezi:volume"
765+
"@id": {
766+
"@id": "iiif_prezi:volume",
767+
"type": "xsd:double"
768+
}
746769
},
747770

748771
"width": {
749772
"@id": "exif:width",
750773
"@type": "xsd:integer"
751774
},
752775

753-
"x": "iiif_prezi:x",
754-
"y": "iiif_prezi:y",
755-
"z": "iiif_prezi:z"
776+
"x": {
777+
"@id": "iiif_prezi:x",
778+
"type": "xsd:double"
779+
},
780+
"y": {
781+
"@id": "iiif_prezi:y",
782+
"type": "xsd:double"
783+
},
784+
"z": {
785+
"@id": "iiif_prezi:z",
786+
"type": "xsd:double"
787+
}
756788
}
757789
}

0 commit comments

Comments
 (0)