Skip to content
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

A selector within SpecificResource may not exist #170

Open
jptmoore opened this issue Aug 30, 2024 · 0 comments
Open

A selector within SpecificResource may not exist #170

jptmoore opened this issue Aug 30, 2024 · 0 comments

Comments

@jptmoore
Copy link

Currently the schema specifies that both source and selector are required in SpecificResource.

The Web Annotation Data Model says that there MAY be 0 or more selector relationships associated with a Specific Resource so the annotation body could be:

{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "http://example.org/anno18",
"type": "Annotation",
"body": {
"type": "SpecificResource",
"purpose": "tagging",
"source": "http://example.org/city1"
},
"target": {
"id": "http://example.org/photo1",
"type": "Image"
}
}

or as shown in the cookbook recipe https://iiif.io/api/cookbook/recipe/0022-linking-with-a-hotspot/manifest.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant