COAR Notify
 
Loading...
Searching...
No Matches
coarnotify\core\activitystreams2 Namespace Reference

Classes

class  ActivityStream
 
class  ActivityStreamsTypes
 
class  Properties
 

Variables

const ACTIVITY_STREAMS_OBJECTS
 
const ACTIVITY_STREAMS_CONTEXT = "https://www.w3.org/ns/activitystreams"
 

Detailed Description

This module contains everything COAR Notify needs to know about ActivityStreams 2.0 https://www.w3.org/TR/activitystreams-core/

It provides knowledge of the essential AS properties and types, and a class to wrap ActivityStreams objects and provide a simple interface to work with them.

*NOTE** this is not a complete implementation of AS 2.0, it is only what is required to work with COAR Notify patterns.

Variable Documentation

◆ ACTIVITY_STREAMS_OBJECTS

const coarnotify::core::activitystreams2\ACTIVITY_STREAMS_OBJECTS
Initial value:
= [
ActivityStreamsTypes::ACTIVITY,
ActivityStreamsTypes::APPLICATION,
ActivityStreamsTypes::ARTICLE,
ActivityStreamsTypes::AUDIO,
ActivityStreamsTypes::COLLECTION,
ActivityStreamsTypes::COLLECTION_PAGE,
ActivityStreamsTypes::RELATIONSHIP,
ActivityStreamsTypes::DOCUMENT,
ActivityStreamsTypes::EVENT,
ActivityStreamsTypes::GROUP,
ActivityStreamsTypes::IMAGE,
ActivityStreamsTypes::INTRANSITIVE_ACTIVITY,
ActivityStreamsTypes::NOTE,
ActivityStreamsTypes::OBJECT,
ActivityStreamsTypes::ORDERED_COLLECTION,
ActivityStreamsTypes::ORDERED_COLLECTION_PAGE,
ActivityStreamsTypes::ORGANIZATION,
ActivityStreamsTypes::PAGE,
ActivityStreamsTypes::PERSON,
ActivityStreamsTypes::PLACE,
ActivityStreamsTypes::PROFILE,
ActivityStreamsTypes::QUESTION,
ActivityStreamsTypes::SERVICE,
ActivityStreamsTypes::TOMBSTONE,
ActivityStreamsTypes::VIDEO
]

The sub-list of ActivityStreams types that are also objects in AS 2.0