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

Update ERRATA.md to note lack of aliases for @type and @id #546

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
17 changes: 16 additions & 1 deletion ERRATA.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,22 @@ This document includes errata for the [Activity Streams](https://www.w3.org/TR/a

## Activity Streams

- None yet reported.
- Example 29 uses `id` as an alias for the `@id` property even though the Activity Streams 2.0 context has not been used, so that alias is not set up. The correct code would be:

```json
{
"@context": {
"ex": "http://example.org/",
"term": {
"@type": "@id",
"@id": "ex:term"
}
},
"term": "ex:Foo"
}
```

- Section 5.1 incorrectly refers to the `id` alias for the `@id` property, and the `type` alias of the `@type` property. Paragraph 4 should read, in part, ''In JSON-LD, Compact URI expansion of values applies to properties explicitly defined as "@type": "@id" in the @context definition.''

## Activity Vocabulary

Expand Down