This document includes errata for the Activity Streams and Activity Vocabulary documents.
- None yet reported.
-
Example 150 has
latitude
andlongitude
properties with string values. The range of these properties isxsd:float
. A correct example would be:{ "@context": "https://www.w3.org/ns/activitystreams", "type": "Place", "name": "San Francisco, CA", "longitude": 122.4167, "latitude": 37.7833 }
-
Example 80 has
Image
objects withwidth
andheight
properties, which are only allowed onLink
objects. One alternative is to useLink
objects with the correctheight
andwidth
as theurl
property for eachImage
object.{ "@context": "https://www.w3.org/ns/activitystreams", "summary": "A simple note", "type": "Note", "content": "A simple note", "icon": [ { "type": "Image", "summary": "Note (16x16)", "url": { "type": "Link", "href": "http://example.org/note1.png", "width": 16, "height": 16 } }, { "type": "Image", "summary": "Note (32x32)", "url": { "type": "Link", "href": "http://example.org/note2.png", "width": 32, "height": 32 } } ] }
-
The range of the
units
property is given as an enumerated set of values. Due to a formatting error, some of these values are shown with an incorrect leading space character. The correct range is:"cm" | "feet" | "inches" | "km" | "m" | "miles" | xsd:anyURI
-
Example 58 includes a
summary
property on aMention
object, which is not allowed. A corrected example:{ "@context": "https://www.w3.org/ns/activitystreams", "type": "Mention", "href": "http://example.org/joe", "name": "Joe" }
-
Unlike
latitude
andlongitude
, the domain of thealtitude
term is theObject
type. Thealtitude
term should be included in the list of properties of anObject
. Becausealtitude
is primarily documented as a property of aPlace
, publishers should not includealtitude
on objects that are not of typePlace
, and consumers should accept objects with this property that aren't of typePlace
. -
The domain of the
attributedTo
property is bothLink
andObject
.attributedTo
should be included in the list of properties of aLink
.