Skip to content

Commit 161e95e

Browse files
committed
fix: JSON formatting in erratum for example 102
1 parent 9a2d78e commit 161e95e

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

ERRATA.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This document includes errata for the [Activity Streams](https://www.w3.org/TR/a
2525
are only allowed on `Link` objects. One alternative is to use `Link` objects
2626
with the correct `height` and `width` as the `url` property for each `Image`
2727
object.
28-
28+
2929
```json
3030
{
3131
"@context": "https://www.w3.org/ns/activitystreams",
@@ -60,14 +60,14 @@ This document includes errata for the [Activity Streams](https://www.w3.org/TR/a
6060
- The range of the `units` property is given as an enumerated set of values.
6161
Due to a formatting error, some of these values are shown with an incorrect
6262
leading space character. The correct range is:
63-
63+
6464
```text
6565
"cm" | "feet" | "inches" | "km" | "m" | "miles" | xsd:anyURI
6666
```
6767

6868
- Example 58 includes a `summary` property on a `Mention` object, which is
6969
not allowed. A corrected example:
70-
70+
7171
```json
7272
{
7373
"@context": "https://www.w3.org/ns/activitystreams",
@@ -129,24 +129,24 @@ This document includes errata for the [Activity Streams](https://www.w3.org/TR/a
129129
}
130130
}
131131
```
132-
132+
133133
- Example 102 is missing a `type` property on the `Link` value of the `url` property. For clarity, the example should read:
134134

135-
```json
136-
{
137-
"@context": "https://www.w3.org/ns/activitystreams",
138-
"type": "Video",
139-
"name": "Cool New Movie",
140-
"duration": "PT2H30M",
141-
"preview": {
142-
"type": "Video",
143-
"name": "Trailer",
144-
"duration": "PT1M",
145-
"url": {
146-
"type": "Link",
147-
"href": "http://example.org/trailer.mkv",
148-
"mediaType": "video/mkv"
135+
```json
136+
{
137+
"@context": "https://www.w3.org/ns/activitystreams",
138+
"type": "Video",
139+
"name": "Cool New Movie",
140+
"duration": "PT2H30M",
141+
"preview": {
142+
"type": "Video",
143+
"name": "Trailer",
144+
"duration": "PT1M",
145+
"url": {
146+
"type": "Link",
147+
"href": "http://example.org/trailer.mkv",
148+
"mediaType": "video/mkv"
149+
}
150+
}
149151
}
150-
}
151-
}
152-
```
152+
```

0 commit comments

Comments
 (0)