File tree Expand file tree Collapse file tree 1 file changed +35
-1
lines changed Expand file tree Collapse file tree 1 file changed +35
-1
lines changed Original file line number Diff line number Diff line change @@ -8,4 +8,38 @@ This document includes errata for the [Activity Streams](https://www.w3.org/TR/a
8
8
9
9
## Activity Vocabulary
10
10
11
- - None yet reported.
11
+ - Example 80 has ` Image ` objects with ` width ` and ` height ` properties, which
12
+ are only allowed on ` Link ` objects. One alternative is to use ` Link ` objects
13
+ with the correct ` height ` and ` width ` as the ` url ` property for each ` Image `
14
+ object.
15
+
16
+ ``` json
17
+ {
18
+ "@context" : " https://www.w3.org/ns/activitystreams" ,
19
+ "summary" : " A simple note" ,
20
+ "type" : " Note" ,
21
+ "content" : " A simple note" ,
22
+ "icon" : [
23
+ {
24
+ "type" : " Image" ,
25
+ "summary" : " Note (16x16)" ,
26
+ "url" : {
27
+ "type" : " Link" ,
28
+ "href" : " http://example.org/note1.png" ,
29
+ "width" : 16 ,
30
+ "height" : 16
31
+ }
32
+ },
33
+ {
34
+ "type" : " Image" ,
35
+ "summary" : " Note (32x32)" ,
36
+ "url" : {
37
+ "type" : " Link" ,
38
+ "href" : " http://example.org/note2.png" ,
39
+ "width" : 32 ,
40
+ "height" : 32
41
+ }
42
+ }
43
+ ]
44
+ }
45
+ ```
You can’t perform that action at this time.
0 commit comments