This document includes errata for the Activity Streams and Activity Vocabulary documents.
- None yet reported.
-
Example 150 has
latitudeandlongitudeproperties 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
Imageobjects withwidthandheightproperties, which are only allowed onLinkobjects. One alternative is to useLinkobjects with the correctheightandwidthas theurlproperty for eachImageobject.{ "@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
unitsproperty 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
summaryproperty on aMentionobject, which is not allowed. A corrected example:{ "@context": "https://www.w3.org/ns/activitystreams", "type": "Mention", "href": "http://example.org/joe", "name": "Joe" } -
Unlike
latitudeandlongitude, the domain of thealtitudeterm is theObjecttype. Thealtitudeterm should be included in the list of properties of anObject. Becausealtitudeis primarily documented as a property of aPlace, publishers should not includealtitudeon objects that are not of typePlace, and consumers should accept objects with this property that aren't of typePlace. -
The domain of the
attributedToproperty is bothLinkandObject.attributedToshould be included in the list of properties of aLink. -
The range of the
formerTypeproperty of theTombstonetype is the same as that of thetypeproperty, which isxsd:anyURI. Consumers SHOULD acceptformerTypevalues that are of typeObjectas well asxsd:anyURI.