Skip to content

Commit fa4c839

Browse files
committed
Add AS2 context to Example 60
Per issue #441, example 60 is missing its AS2 context. This change adds an erratum to correct this mistake. Once accepted, we can also merge to the editor's version of the spec itself.
1 parent e707026 commit fa4c839

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

ERRATA.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,33 @@ This document includes errata for the [Activity Streams](https://www.w3.org/TR/a
7979

8080
- Unlike `latitude` and `longitude`, the domain of the `altitude` term is the `Object` type. The `altitude` term should be included in the list of properties of an `Object`. Because `altitude` is primarily documented as a property of a `Place`, publishers should not include `altitude` on objects that are not of type `Place`, and consumers should accept objects with this property that aren't of type `Place`.
8181

82+
- Example 60, for the `Tombstone` type, is missing the `@context` property. The correct example should be:
83+
84+
```json
85+
{
86+
"@context": "https://www.w3.org/ns/activitystreams",
87+
"type": "OrderedCollection",
88+
"totalItems": 3,
89+
"name": "Vacation photos 2016",
90+
"orderedItems": [
91+
{
92+
"type": "Image",
93+
"id": "http://image.example/1"
94+
},
95+
{
96+
"type": "Tombstone",
97+
"formerType": "Image",
98+
"id": "http://image.example/2",
99+
"deleted": "2016-03-17T00:00:00Z"
100+
},
101+
{
102+
"type": "Image",
103+
"id": "http://image.example/3"
104+
}
105+
]
106+
}
107+
```
108+
82109
- The domain of the `attributedTo` property is both `Link` and `Object`. `attributedTo` should be included in the list of properties of a `Link`.
83110

84111
- Example 102 is missing a `type` property on the `Link` value of the `url` property. For clarity, the example should read:

0 commit comments

Comments
 (0)