Skip to content

Commit 25b3e0e

Browse files
authored
Merge pull request #56 from IIIF/add_format_to_manifests
Add format to model painting annotations, in some cases correct format mime type
2 parents 1d5fc52 + 3136a9a commit 25b3e0e

27 files changed

+69
-38
lines changed

manifests/10_content_state/whale_comment_scope_content_state.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"motivation": ["painting"],
2121
"body": {
2222
"id": "https://raw.githubusercontent.com/IIIF/3d/main/assets/whale/whale_mandible.glb",
23-
"type": "Model"
23+
"type": "Model",
24+
"format": "model/gltf-binary"
2425
},
2526
"target": {
2627
"type": "SpecificResource",
@@ -46,7 +47,8 @@
4647
"motivation": ["painting"],
4748
"body": {
4849
"id": "https://raw.githubusercontent.com/IIIF/3d/main/assets/whale/whale_cranium.glb",
49-
"type": "Model"
50+
"type": "Model",
51+
"format": "model/gltf-binary"
5052
},
5153
"target": {
5254
"type": "SpecificResource",

manifests/1_basic_model_in_scene/model_origin.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"motivation": ["painting"],
2121
"body": {
2222
"id": "https://raw.githubusercontent.com/IIIF/3d/main/assets/astronaut/astronaut.glb",
23-
"type": "Model"
23+
"type": "Model",
24+
"format": "model/gltf-binary"
2425
},
2526
"target": "https://example.org/iiif/scene1/page/p1/1"
2627
}

manifests/1_basic_model_in_scene/model_origin_bgcolor.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"motivation": ["painting"],
2222
"body": {
2323
"id": "https://raw.githubusercontent.com/IIIF/3d/main/assets/astronaut/astronaut.glb",
24-
"type": "Model"
24+
"type": "Model",
25+
"format": "model/gltf-binary"
2526
},
2627
"target": "https://example.org/iiif/scene1/page/p1/1"
2728
}

manifests/2_cameras/perspective_camera.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"motivation": ["painting"],
2121
"body": {
2222
"id": "https://raw.githubusercontent.com/IIIF/3d/main/assets/astronaut/astronaut.glb",
23-
"type": "Model"
23+
"type": "Model",
24+
"format": "model/gltf-binary"
2425
},
2526
"target": "https://example.org/iiif/scene1/page/p1/1"
2627
},

manifests/2_cameras/positioned_camera_lookat_anno.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"motivation": ["painting"],
2222
"body": {
2323
"id": "https://raw.githubusercontent.com/IIIF/3d/main/assets/astronaut/astronaut.glb",
24-
"type": "Model"
24+
"type": "Model",
25+
"format": "model/gltf-binary"
2526
},
2627
"target": "https://example.org/iiif/scene1/page/p1/1"
2728
},

manifests/2_cameras/positioned_camera_lookat_point.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"motivation": ["painting"],
2222
"body": {
2323
"id": "https://raw.githubusercontent.com/IIIF/3d/main/assets/astronaut/astronaut.glb",
24-
"type": "Model"
24+
"type": "Model",
25+
"format": "model/gltf-binary"
2526
},
2627
"target": "https://example.org/iiif/scene1/page/p1/1"
2728
},

manifests/2_cameras/zz_choice_of_cameras.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"motivation": ["painting"],
2424
"body": {
2525
"id": "https://raw.githubusercontent.com/IIIF/3d/main/assets/astronaut/astronaut.glb",
26-
"type": "Model"
26+
"type": "Model",
27+
"format": "model/gltf-binary"
2728
},
2829
"target": "https://example.org/iiif/scene1/page/p1/1"
2930
},

manifests/2_cameras/zz_orthographic_camera.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"motivation": ["painting"],
2020
"body": {
2121
"id": "https://raw.githubusercontent.com/IIIF/3d/main/assets/astronaut/astronaut.glb",
22-
"type": "Model"
22+
"type": "Model",
23+
"format": "model/gltf-binary"
2324
},
2425
"target": "https://example.org/iiif/scene1/page/p1/1"
2526
},

manifests/3_lights/ambient_green_light.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"motivation": ["painting"],
2121
"body": {
2222
"id": "https://raw.githubusercontent.com/IIIF/3d/main/assets/astronaut/astronaut.glb",
23-
"type": "Model"
23+
"type": "Model",
24+
"format": "model/gltf-binary"
2425
},
2526
"target": "https://example.org/iiif/scene1/page/p1/1"
2627
},

manifests/3_lights/direction_light_lookat_positioned.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"motivation": ["painting"],
2222
"body": {
2323
"id": "https://raw.githubusercontent.com/IIIF/3d/main/assets/astronaut/astronaut.glb",
24-
"type": "Model"
24+
"type": "Model",
25+
"format": "model/gltf-binary"
2526
},
2627
"target": "https://example.org/iiif/scene1/page/p1/1"
2728
},

0 commit comments

Comments
 (0)