Skip to content
Open
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
13 changes: 7 additions & 6 deletions core/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -627,21 +627,22 @@ <h2>Model</h2>
</p>

<p>
Every JSON object in an Activity Streams 2.0 document is either an
<code><a>Object</a></code> or a <code><a>Link</a></code>. All other types
defined in the Activity Vocabulary, as well as all extension types, are
derived from these two base types.
All other types

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Saying "all" and then immediately proceeding to "one exception" (which implies there are more) is problematic. There might be something better than "Nearly all", like "Virtually all", "With a few exceptions, all", etc.

Suggested change
All other types
Nearly all other types

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"All other types" is correct"; I guess the real problem is that "One exception" is not really an exception. It's more of a note on disjointness. I'm noticing now that Links is actually already mentioned in the list as the 2nd item.

There is a possibility that the next paragraph may be reworked or removed entirely, as it's part of other issues. I'll remove lines 636-637 to avoid further confusion.

defined in the Activity Vocabulary are
extensions of these base types.
</p>

<p>
The <code>Link</code> base type is disjoint with
the <code>Object</code> base type,
so JSON objects having both types are logical contradictions.
A JSON object in the Activity Streams 2.0 document is a
<code><a>Link</a></code> if either: (a) the object contains a
<code>type</code> property whose value includes "<code>Link</code>" or
(b) any of the types included in the value of the <code>type</code>
property are defined as extensions of <a>Link</a> (see
<a href="https://www.w3.org/TR/activitystreams-vocabulary/#dfn-mention">Mention</a> for
instance); otherwise the JSON object is considered an instance
or extension of <code><a>Object</a></code>.
instance).
</p>

<section id="object">
Expand Down