diff --git a/ERRATA.md b/ERRATA.md index 24ed307..ac2e904 100644 --- a/ERRATA.md +++ b/ERRATA.md @@ -25,7 +25,7 @@ This document includes errata for the [Activity Streams](https://www.w3.org/TR/a are only allowed on `Link` objects. One alternative is to use `Link` objects with the correct `height` and `width` as the `url` property for each `Image` object. - + ```json { "@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 - 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: - + ```text "cm" | "feet" | "inches" | "km" | "m" | "miles" | xsd:anyURI ``` - Example 58 includes a `summary` property on a `Mention` object, which is not allowed. A corrected example: - + ```json { "@context": "https://www.w3.org/ns/activitystreams", @@ -80,3 +80,56 @@ This document includes errata for the [Activity Streams](https://www.w3.org/TR/a - Unlike `latitude` and `longitude`, the domain of the `altitude` term is the `Object` type. The `altitude` term should be included in the list of properties of an `Object`. Because `altitude` is primarily documented as a property of a `Place`, publishers should not include `altitude` on objects that are not of type `Place`, and consumers should accept objects with this property that aren't of type `Place`. - The domain of the `attributedTo` property is both `Link` and `Object`. `attributedTo` should be included in the list of properties of a `Link`. + + - Example 75 erroneously includes a `summary` property on a `Link` object. The corrected example: + + ```json + { + "@context": "https://www.w3.org/ns/activitystreams", + "summary": "Sally's blog posts", + "type": "Collection", + "totalItems": 3, + "current": { + "type": "Link", + "name": "Most Recent Items", + "href": "http://example.org/collection" + }, + "items": [ + "http://example.org/posts/1", + "http://example.org/posts/2", + "http://example.org/posts/3" + ] + } + ``` + + - Example 77 erroneously includes a `summary` property on a `Link` object. The corrected example: + + ```json + { + "@context": "https://www.w3.org/ns/activitystreams", + "summary": "Sally's blog posts", + "type": "Collection", + "totalItems": 3, + "first": { + "type": "Link", + "name": "First Page", + "href": "http://example.org/collection?page=0" + } + } + ``` + + - Example 87 erroneously includes a `summary` property on a `Link` object. The corrected example: + + ```json + { + "@context": "https://www.w3.org/ns/activitystreams", + "summary": "A collection", + "type": "Collection", + "totalItems": 5, + "last": { + "type": "Link", + "name": "Last Page", + "href": "http://example.org/collection?page=1" + } + } + ``` diff --git a/vocabulary/index.html b/vocabulary/index.html index c2d391c..96111aa 100644 --- a/vocabulary/index.html +++ b/vocabulary/index.html @@ -265,7 +265,7 @@

Core Types

endTime | generator | icon | - image | + image | inReplyTo | location | preview | @@ -386,7 +386,7 @@

Core Types

actor | - object | + object | target | result | origin | @@ -430,7 +430,7 @@

Core Types

Instances of IntransitiveActivity are a subtype of Activity representing intransitive actions. The - object property is + object property is therefore inappropriate for these activities. @@ -2322,7 +2322,7 @@

Object and Link Types

Describes a relationship between two individuals. The subject and - object properties are + object properties are used to identify the connected individuals.

@@ -2338,8 +2338,8 @@

Object and Link Types

Properties:

subject | - object | - relationship

+ object | + relationship

Inherits all properties from Object.

@@ -2835,7 +2835,7 @@

Properties

closed | origin | next | - object | + object | prev | preview | result | @@ -2869,7 +2869,7 @@

Properties

updated | width | subject | - relationship | + relationship | describes | formerType | deleted @@ -3556,7 +3556,7 @@

Properties

- image + image URI: https://www.w3.org/ns/activitystreams#image @@ -4092,7 +4092,7 @@

Properties

- object + object URI: https://www.w3.org/ns/activitystreams#object @@ -5591,7 +5591,7 @@

Properties

- relationship + relationship URI: https://www.w3.org/ns/activitystreams#relationship @@ -5622,7 +5622,7 @@

Properties

relationship property identifies the kind of relationship that exists between subject and - object. + object. @@ -5981,17 +5981,17 @@

Representing Relationships Between Entities

- The relationship + The relationship property specifies the kind of relationship that exists between the two individuals identified by the subject and - object properties. Used together, + object properties. Used together, these three properties form what is commonly known as a "reified statement" where subject identifies the - subject, relationship + subject, relationship identifies the predicate, and - object identifies the + object identifies the object.

@@ -6871,7 +6871,7 @@

Changelog