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

Is id always mandatory for bodies and targets? In example 19 seems not. #452

Open
giacomomarchioro opened this issue Jul 26, 2023 · 0 comments

Comments

@giacomomarchioro
Copy link

Hi all,
I don't understand if id is mandatory for bodies and targets in:

3.2.1 External Web Resources

id : The IRI that identifies the Body or Target resource.
Bodies or Targets which are External Web Resources must have exactly 1 id with the value of the resource's IRI.

However in the example 19, there is no ID in both body and target body and target are without id:

EXAMPLE 19: Selectors

{
  "@context": "http://www.w3.org/ns/anno.jsonld",
  "id": "http://example.org/anno19",
  "type": "Annotation",
  "body": {
    "source": "http://example.org/page1",
    "selector": "http://example.org/paraselector1"
  },
  "target": {
    "source": "http://example.com/dataset1",
    "selector": "http://example.org/dataselector1"
  }
}

Thanks a lot for your help.

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