Skip to content

Restricting Activity Streams Documents to Object and subtypes #694

@evanp

Description

@evanp

In Section 2:

An Activity Streams Document is a JSON document whose root value is an Activity Streams Object of any type, including a Collection, and whose MIME media type is " application/activity+json".

"JSON document" and "root value" here might need to be better tied to RFC 8259, which uses the term "JSON text".

It would be good to have an idea of what an "Object of any type" might mean. Is this a JSON object with a "type" property that includes Object or any of its subtypes? Should we note multityping here? Maybe we should refer to the type hierarchy.

Since Object and Link are disjoint, this means that a Link or its subtypes (Mention, Hashtag) as a top-level object would not be an AS Document.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Next versionThings that should probably be resolved in a next version of AS2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions