Skip to content

Commit 5c95df0

Browse files
authored
Merge branch 'master' into issue-471
2 parents 22a62b1 + 346f55c commit 5c95df0

File tree

2 files changed

+57
-3
lines changed

2 files changed

+57
-3
lines changed

ERRATA.md

Lines changed: 57 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ This document includes errata for the [Activity Streams](https://www.w3.org/TR/a
1010

1111
- Example 150 has `latitude` and `longitude` properties with string values.
1212
The range of these properties is `xsd:float`. A correct example would be:
13-
14-
```json
13+
14+
```json
1515
{
1616
"@context": "https://www.w3.org/ns/activitystreams",
1717
"type": "Place",
@@ -20,4 +20,58 @@ This document includes errata for the [Activity Streams](https://www.w3.org/TR/a
2020
"latitude": 37.7833
2121
}
2222
```
23-
23+
24+
- Example 80 has `Image` objects with `width` and `height` properties, which
25+
are only allowed on `Link` objects. One alternative is to use `Link` objects
26+
with the correct `height` and `width` as the `url` property for each `Image`
27+
object.
28+
29+
```json
30+
{
31+
"@context": "https://www.w3.org/ns/activitystreams",
32+
"summary": "A simple note",
33+
"type": "Note",
34+
"content": "A simple note",
35+
"icon": [
36+
{
37+
"type": "Image",
38+
"summary": "Note (16x16)",
39+
"url": {
40+
"type": "Link",
41+
"href": "http://example.org/note1.png",
42+
"width": 16,
43+
"height": 16
44+
}
45+
},
46+
{
47+
"type": "Image",
48+
"summary": "Note (32x32)",
49+
"url": {
50+
"type": "Link",
51+
"href": "http://example.org/note2.png",
52+
"width": 32,
53+
"height": 32
54+
}
55+
}
56+
]
57+
}
58+
```
59+
60+
- The range of the `units` property is given as an enumerated set of values.
61+
Due to a formatting error, some of these values are shown with an incorrect
62+
leading space character. The correct range is:
63+
64+
```text
65+
"cm" | "feet" | "inches" | "km" | "m" | "miles" | xsd:anyURI
66+
67+
- Example 58 includes a `summary` property on a `Mention` object, which is
68+
not allowed. A corrected example:
69+
70+
```json
71+
{
72+
"@context": "https://www.w3.org/ns/activitystreams",
73+
"type": "Mention",
74+
"href": "http://example.org/joe",
75+
"name": "Joe"
76+
}
77+
```
File renamed without changes.

0 commit comments

Comments
 (0)