-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Potential for adding more propeties to partOf
entry
#9
Comments
Hey @stephenwf We're going to help out with this issue in our next work cycle, if that's ok with you. |
There is some new features in the parser, but it's not yet ready! I'll try to explain with one of the test fixtures. {
"format": "image/jpeg",
"height": 3024,
"id": "https://iiif.io/api/image/3.0/example/reference/918ecd18c2592080851777620de9bcb5-gottingen/full/max/0/default.jpg",
"iiif-parser:hasPart": [
{
"@explicit": true,
"format": {},
"id": "https://iiif.io/api/image/3.0/example/reference/918ecd18c2592080851777620de9bcb5-gottingen/full/max/0/default.jpg",
"iiif-parser:partOf": "https://example.org/canvas-2",
"type": "Image",
},
{
"@explicit": true,
"format": {},
"height": {},
"id": "https://iiif.io/api/image/3.0/example/reference/918ecd18c2592080851777620de9bcb5-gottingen/full/max/0/default.jpg",
"iiif-parser:partOf": "https://example.org/canvas-1",
"service": {},
"type": "Image",
"width": {},
},
],
"service": [
{
"id": "https://iiif.io/api/image/3.0/example/reference/918ecd18c2592080851777620de9bcb5-gottingen",
"profile": "level1",
"type": "ImageService3",
},
],
"type": "Image",
"width": 4032,
} This is the format that will be in the v2 parser when you import a resource with the same ID more than once. The It uses a subset of JSON-LD Framing. The main parts are {
"@explicit": true,
"format": {},
"id": "https://iiif.io/api/image/3.0/example/reference/918ecd18c2592080851777620de9bcb5-gottingen/full/max/0/default.jpg",
"iiif-parser:partOf": "https://example.org/canvas-2",
"type": "Image",
} This would resolve to: {
"format": "image/jpeg",
"id": "https://iiif.io/api/image/3.0/example/reference/918ecd18c2592080851777620de9bcb5-gottingen/full/max/0/default.jpg",
"type": "Image"
} So in your example above, the Collection could have: {
"id": "https://acw5dcf49d.execute-api.us-east-1.amazonaws.com/dev/collections/iiif-image-collection",
"type": "Collection",
"iiif-parser:hasPart": [
{
"@explicit": true,
"id": "https://acw5dcf49d.execute-api.us-east-1.amazonaws.com/dev/collections/iiif-image-collection",
"iiif-parser:partOf": "https://example.org/manifest",
"type": "Collection",
"label": {},
"summary": {},
"homepage": {},
"thumbnail": {}
},
],
"..."
} And similarly, the role of However, there is still quite a bit of work and testing before the v2 parser is good to go. I think making an exception for |
Hey Stephen,
An idea I've had for a while is to be able to extend a
partOf
entry of a Manifest with some additional properties. Doing so would allow the Manifest to carry some information for the Collection it may be a part of.Currently, it seems like the
partOf
property strips outhomepage
and does an $UNSET forthumbnail
. I'd love to gauge your thoughts on this but I do wonder how possible it might be to allow some of these properties.The text was updated successfully, but these errors were encountered: