Skip to content

Commit 2144404

Browse files
committed
Merge remote-tracking branch 'origin/evanp-errata-type-and-id-in-compact-uris'
2 parents d1984e4 + f4dc0b8 commit 2144404

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

ERRATA.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,23 @@ This document includes errata for the [Activity Streams](https://www.w3.org/TR/a
1313
as2-partial-time = time-hour ":" time-minute [":" time-second [time-secfrac]]
1414
```
1515

16+
- 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:
17+
18+
```json
19+
{
20+
"@context": {
21+
"ex": "http://example.org/",
22+
"term": {
23+
"@type": "@id",
24+
"@id": "ex:term"
25+
}
26+
},
27+
"term": "ex:Foo"
28+
}
29+
```
30+
31+
- 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.''
32+
1633
## Activity Vocabulary
1734

1835
- Example 150 has `latitude` and `longitude` properties with string values.
@@ -193,7 +210,7 @@ This document includes errata for the [Activity Streams](https://www.w3.org/TR/a
193210
- In Section 4, the range of the `formerType` property is given as `Object`. The property should have the same range as the `type` property for which it forms a replacement for deleted `Tombstone` objects.
194211

195212
- Example 75 erroneously includes a `summary` property on a `Link` object. The corrected example:
196-
213+
197214
```json
198215
{
199216
"@context": "https://www.w3.org/ns/activitystreams",

0 commit comments

Comments
 (0)