Skip to content

Incorrect JSON-LD: Missing '#' from the end of @vocab param in Core Example 2 #510

@TGNThump

Description

@TGNThump

Please Indicate One:

  • Editorial
  • Question
  • Feedback
  • Blocking Issue
  • Non-Blocking Issue

Please Describe the Issue:

https://www.w3.org/TR/activitystreams-core/#ex2-context should be

{
  "@context": {
     "@vocab": "https://www.w3.org/ns/activitystreams#",
     "ext": "https://canine-extension.example/terms/",
     "@language": "en"
  },
  "summary": "A note",
  "type": "Note",
  "content": "My dog has fleas.",
  "ext:nose": 0,
  "ext:smell": "terrible"
}

instead of

{
  "@context": {
     "@vocab": "https://www.w3.org/ns/activitystreams",
     "ext": "https://canine-extension.example/terms/",
     "@language": "en"
  },
  "summary": "A note",
  "type": "Note",
  "content": "My dog has fleas.",
  "ext:nose": 0,
  "ext:smell": "terrible"
}

as it does not expand correctly as JSON-LD without the # on the end of the @vocab context parameter.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions