Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 496 #549

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 56 additions & 3 deletions ERRATA.md
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -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"
}
}
```
34 changes: 17 additions & 17 deletions vocabulary/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ <h2>Core Types</h2>
<code><a>endTime</a></code> |
<code><a>generator</a></code> |
<code><a>icon</a></code> |
<code><a data-lt="image-term">image</a></code> |
<code><a href="#image-prop">image</a></code> |
<code><a>inReplyTo</a></code> |
<code><a>location</a></code> |
<code><a>preview</a></code> |
Expand Down Expand Up @@ -386,7 +386,7 @@ <h2>Core Types</h2>
<td>
<p>
<code><a data-lt="actor-term">actor</a></code> |
<code><a data-lt="object-term">object</a></code> |
<code><a href="#object-prop">object</a></code> |
<code><a>target</a></code> |
<code><a>result</a></code> |
<code><a>origin</a></code> |
Expand Down Expand Up @@ -430,7 +430,7 @@ <h2>Core Types</h2>
<td>
Instances of <code>IntransitiveActivity</code> are a subtype of
<code>Activity</code> representing intransitive actions. The
<code><a data-lt="object-term">object</a></code> property is
<code><a href="#object-prop">object</a></code> property is
therefore inappropriate for these activities.
</td>
</tr>
Expand Down Expand Up @@ -2322,7 +2322,7 @@ <h2>Object and Link Types</h2>
<p>
Describes a relationship between two individuals.
The <code><a>subject</a></code> and
<code><a data-lt="object-term">object</a></code> properties are
<code><a href="#object-prop">object</a></code> properties are
used to identify the connected individuals.
</p>
<p>
Expand All @@ -2338,8 +2338,8 @@ <h2>Object and Link Types</h2>
<td>Properties:</td>
<td>
<p><code><a>subject</a></code> |
<code><a data-lt="object-term">object</a></code> |
<code><a data-lt="relationship-term">relationship</a></code></p>
<code><a href="#object-prop">object</a></code> |
<code><a href="#relationship-prop">relationship</a></code></p>
<p>Inherits all properties from <code><a>Object</a></code>.</p>
</td>
</tr>
Expand Down Expand Up @@ -2835,7 +2835,7 @@ <h2>Properties</h2>
<code><a>closed</a></code> |
<code><a>origin</a></code> |
<code><a>next</a></code> |
<code><a data-lt="object-term">object</a></code> |
<code><a href="#object-prop">object</a></code> |
<code><a>prev</a></code> |
<code><a>preview</a></code> |
<code><a>result</a></code> |
Expand Down Expand Up @@ -2869,7 +2869,7 @@ <h2>Properties</h2>
<code><a>updated</a></code> |
<code><a>width</a></code> |
<code><a>subject</a></code> |
<code><a data-lt="relationship-term">relationship</a></code> |
<code><a href="#relationship-prop">relationship</a></code> |
<code><a>describes</a></code> |
<code><a>formerType</a></code> |
<code><a>deleted</a></code>
Expand Down Expand Up @@ -3556,7 +3556,7 @@ <h2>Properties</h2>

<tbody>
<tr>
<td rowspan="4"><dfn data-lt="image-term">image</dfn></td>
<td rowspan="4"><dfn id="image-prop">image</dfn></td>
<td style="width: 10%">URI:</td>
<td><code>https://www.w3.org/ns/activitystreams#image</code></td>
<td rowspan="4">
Expand Down Expand Up @@ -4092,7 +4092,7 @@ <h2>Properties</h2>

<tbody>
<tr>
<td rowspan="4"><dfn data-lt="object-term">object</dfn></td>
<td rowspan="4"><dfn id="object-prop">object</dfn></td>
<td style="width: 10%">URI:</td>
<td><code>https://www.w3.org/ns/activitystreams#object</code></td>
<td rowspan="4">
Expand Down Expand Up @@ -5591,7 +5591,7 @@ <h2>Properties</h2>

<tbody>
<tr>
<td rowspan="4"><dfn data-lt="relationship-term">relationship</dfn></td>
<td rowspan="4"><dfn id="relationship-prop">relationship</dfn></td>
<td style="width: 10%">URI:</td>
<td>
<code>https://www.w3.org/ns/activitystreams#relationship</code>
Expand Down Expand Up @@ -5622,7 +5622,7 @@ <h2>Properties</h2>
<code>relationship</code> property identifies the kind of
relationship that exists between
<code><a>subject</a></code> and
<code><a data-lt="object-term">object</a></code>.
<code><a href="#object-prop">object</a></code>.

</td>
</tr>
Expand Down Expand Up @@ -5981,17 +5981,17 @@ <h3>Representing Relationships Between Entities</h3>
</div>

<p>
The <code><a data-lt="relationship-term">relationship</a></code>
The <code><a href="#relationship-prop">relationship</a></code>
property specifies the kind of relationship that exists between the
two individuals identified by the
<code><a>subject</a></code> and
<code><a data-lt="object-term">object</a></code> properties. Used together,
<code><a href="#object-prop">object</a></code> properties. Used together,
these three properties form what is commonly known as a
"<a href="http://patterns.dataincubator.org/book/reified-statement.html">reified statement</a>"
where <code><a data-lt="subject">subject</a></code> identifies the
subject, <code><a data-lt="relationship-term">relationship</a></code>
subject, <code><a href="#relationship-prop">relationship</a></code>
identifies the predicate, and
<code><a data-lt="object-term">object</a></code> identifies the
<code><a href="#object-prop">object</a></code> identifies the
object.
</p>

Expand Down Expand Up @@ -6871,7 +6871,7 @@ <h2>Changelog</h2>

<ul>
<li>
Removed the four normative <code><a>relationship</a></code> values for
Removed the four normative <code><a href="#relationship-prop">relationship</a></code> values for
lack of implementation. Changed examples to use terms from the
<a href="http://vocab.org/relationship/">Relationship</a> vocabulary.
</li>
Expand Down