Skip to content

Use of "@vocab": "_:" in ActivityStreams 2.0 (at least) #183

Closed
@BigBlueHat

Description

@BigBlueHat

I've been digging through as many @context files as I can find "in the wild"--especially ones in wide/popular/deployed usage--in hopes of better informing our changes and "upgrade" planning.

While digging, I uncovered this use of @vocab at the top of the ActivityStreams context file:

{
  "@context": {
    "@vocab": "_:",
    "...etc...": "...etc..."
  }
}

This ultimately means that anything not defined in ActivityStreams 2.0's Vocabulary or not covered by an additional "extension" context definition will be mapped into a blank node.

There's some well informed discussion of the risks, rewards, and reasoning behind their choice:
w3c/activitystreams-testing#4
(follow links there to past issues/resolutions).

Most of the discussions center around extensibility and some of those issues relate to the current work going into @protected (and friends).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions