https://ns.adobe.com/xdm/external/activity-streams-2/collection
A Collection
is a subtype of [Object](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-object)
that represents ordered or unordered sets of [Object](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-object) or [Link](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-link)
instances. Refer to the Activity Streams 2.0 Core specification for a complete description of the Collection
type.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Experimental | No | Forbidden | Permitted | external/activity-streams-2/collection.schema.json |
- Collection
https://ns.adobe.com/xdm/external/activity-streams-2/collection
- Object
https://ns.adobe.com/xdm/external/activity-streams-2/object
- Collection Page
https://ns.adobe.com/xdm/external/activity-streams-2/collection-page
- Link
https://ns.adobe.com/xdm/external/activity-streams-2/link
- Object
{
"@context": {
"activitystreams": "http://www.w3.org/ns/activitystreams#"
},
"activitystreams:summary": "Sally's notes",
"@type": "http://www.w3.org/ns/activitystreams#Collection",
"activitystreams:totalItems": 2,
"activitystreams:items": [
{
"@type": "http://www.w3.org/ns/activitystreams#Note",
"activitystreams:name": "A Simple Note"
},
{
"@type": "http://www.w3.org/ns/activitystreams#Note",
"activitystreams:name": "Another Simple Note"
}
]
}
Identifies a resource attached or related to an object that potentially requires special handling. The intent is to provide a model that is at least semantically similar to attachments in email. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:attachment
- is optional
- type: complex
- defined in Object
One of the following conditions need to be fulfilled.
Any following options needs to be fulfilled.
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
- Object –
https://ns.adobe.com/xdm/external/activity-streams-2/object
- Link –
https://ns.adobe.com/xdm/external/activity-streams-2/link
Array type:
All items must be of the type:
Unknown type anyOf
.
{
"items": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/object",
"$linkVal": "Object",
"$linkPath": "object.schema.md"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/link",
"$linkVal": "Link",
"$linkPath": "link.schema.md"
}
],
"type": "anyOf"
},
"type": "array"
}
Identifies one or more entities to which this object is attributed. The attributed entities might not be Actors. For instance, an object might be attributed to the completion of another activity. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:attributedTo
- is optional
- type: complex
- defined in Object
One of the following conditions need to be fulfilled.
Any following options needs to be fulfilled.
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
- Object –
https://ns.adobe.com/xdm/external/activity-streams-2/object
- Link –
https://ns.adobe.com/xdm/external/activity-streams-2/link
Array type:
All items must be of the type:
Unknown type anyOf
.
{
"items": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/object",
"$linkVal": "Object",
"$linkPath": "object.schema.md"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/link",
"$linkVal": "Link",
"$linkPath": "link.schema.md"
}
],
"type": "anyOf"
},
"type": "array"
}
Identifies one or more entities that represent the total population of entities for which the object can considered to be relevant. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:audience
- is optional
- type: complex
- defined in Object
One of the following conditions need to be fulfilled.
Any following options needs to be fulfilled.
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
- Object –
https://ns.adobe.com/xdm/external/activity-streams-2/object
- Link –
https://ns.adobe.com/xdm/external/activity-streams-2/link
Array type:
All items must be of the type:
Unknown type anyOf
.
{
"items": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/object",
"$linkVal": "Object",
"$linkPath": "object.schema.md"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/link",
"$linkVal": "Link",
"$linkPath": "link.schema.md"
}
],
"type": "anyOf"
},
"type": "array"
}
Identifies one or more Objects that are part of the private secondary audience of this Object. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:bcc
- is optional
- type: complex
- defined in Object
One of the following conditions need to be fulfilled.
Any following options needs to be fulfilled.
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
- Object –
https://ns.adobe.com/xdm/external/activity-streams-2/object
- Link –
https://ns.adobe.com/xdm/external/activity-streams-2/link
Array type:
All items must be of the type:
Unknown type anyOf
.
{
"items": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/object",
"$linkVal": "Object",
"$linkPath": "object.schema.md"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/link",
"$linkVal": "Link",
"$linkPath": "link.schema.md"
}
],
"type": "anyOf"
},
"type": "array"
}
Identifies an Object that is part of the private primary audience of this Object. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:bto
- is optional
- type: complex
- defined in Object
One of the following conditions need to be fulfilled.
Any following options needs to be fulfilled.
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
- Object –
https://ns.adobe.com/xdm/external/activity-streams-2/object
- Link –
https://ns.adobe.com/xdm/external/activity-streams-2/link
Array type:
All items must be of the type:
Unknown type anyOf
.
{
"items": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/object",
"$linkVal": "Object",
"$linkPath": "object.schema.md"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/link",
"$linkVal": "Link",
"$linkPath": "link.schema.md"
}
],
"type": "anyOf"
},
"type": "array"
}
Identifies an Object that is part of the public secondary audience of this Object. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:cc
- is optional
- type: complex
- defined in Object
One of the following conditions need to be fulfilled.
Any following options needs to be fulfilled.
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
- Object –
https://ns.adobe.com/xdm/external/activity-streams-2/object
- Link –
https://ns.adobe.com/xdm/external/activity-streams-2/link
Array type:
All items must be of the type:
Unknown type anyOf
.
{
"items": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/object",
"$linkVal": "Object",
"$linkPath": "object.schema.md"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/link",
"$linkVal": "Link",
"$linkPath": "link.schema.md"
}
],
"type": "anyOf"
},
"type": "array"
}
The content or textual representation of the Object encoded as a JSON string. By default, the value of content is HTML. The mediaType property can be used in the object to indicate a different content type. The content may be expressed using multiple language-tagged values. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:content
- is optional
- type: complex
- defined in Object
One of the following conditions need to be fulfilled.
string
- RDF Language Tagged String –
https://ns.adobe.com/xdm/external/activity-streams-2/rdf-langstring
Identifies the context within which the object exists or an activity was performed. The notion of 'context' used is intentionally vague. The intended function is to serve as a means of grouping objects and activities that share a common originating context or purpose. An example could be all activities relating to a common project or event. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:context
- is optional
- type: complex
- defined in Object
One of the following conditions need to be fulfilled.
Any following options needs to be fulfilled.
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
- Object –
https://ns.adobe.com/xdm/external/activity-streams-2/object
- Link –
https://ns.adobe.com/xdm/external/activity-streams-2/link
Array type:
All items must be of the type:
Unknown type anyOf
.
{
"items": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/object",
"$linkVal": "Object",
"$linkPath": "object.schema.md"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/link",
"$linkVal": "Link",
"$linkPath": "link.schema.md"
}
],
"type": "anyOf"
},
"type": "array"
}
In a paged Collection, indicates the page that contains the most recently updated member items. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:current
- is optional
- type: complex
- defined in this schema
Any following options needs to be fulfilled.
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
- Collection Page –
https://ns.adobe.com/xdm/external/activity-streams-2/collection-page
- Link –
https://ns.adobe.com/xdm/external/activity-streams-2/link
XSD Duration according to specification
activitystreams:duration
- is optional
- type:
string
- defined in Object
string
All instances must conform to this regular expression (test examples here):
^[-]?P(?!$)(?:\d+Y)?(?:\d+M)?(?:\d+D)?(?:T(?!$)(?:\d+H)?(?:\d+M)?(?:\d+(?:\.\d+)?S)?)?$
The date and time describing the actual or expected ending time of the object. When used with an Activity object, for instance, the endTime property specifies the moment the activity concluded or is expected to conclude. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:endTime
- is optional
- type:
string
- defined in Object
string
- format:
date-time
– date and time (according to RFC 3339, section 5.6)
In a paged Collection, indicates the furthest preceeding page of items in the collection. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:first
- is optional
- type: complex
- defined in this schema
Any following options needs to be fulfilled.
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
- Collection Page –
https://ns.adobe.com/xdm/external/activity-streams-2/collection-page
- Link –
https://ns.adobe.com/xdm/external/activity-streams-2/link
Identifies the entity (e.g. an application) that generated the object. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:generator
- is optional
- type: complex
- defined in Object
One of the following conditions need to be fulfilled.
Any following options needs to be fulfilled.
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
- Object –
https://ns.adobe.com/xdm/external/activity-streams-2/object
- Link –
https://ns.adobe.com/xdm/external/activity-streams-2/link
Array type:
All items must be of the type:
Unknown type anyOf
.
{
"items": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/object",
"$linkVal": "Object",
"$linkPath": "object.schema.md"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/link",
"$linkVal": "Link",
"$linkPath": "link.schema.md"
}
],
"type": "anyOf"
},
"type": "array"
}
Indicates an entity that describes an icon for this object. The image should have an aspect ratio of one (horizontal) to one (vertical) and should be suitable for presentation at a small size. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:icon
- is optional
- type: complex
- defined in Object
One of the following conditions need to be fulfilled.
Any following options needs to be fulfilled.
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
- Image Document –
https://ns.adobe.com/xdm/external/activity-streams-2/image
- Link –
https://ns.adobe.com/xdm/external/activity-streams-2/link
Array type:
All items must be of the type:
Unknown type anyOf
.
{
"items": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/image",
"$linkVal": "Image Document",
"$linkPath": "image.schema.md"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/link",
"$linkVal": "Link",
"$linkPath": "link.schema.md"
}
],
"type": "anyOf"
},
"type": "array"
}
Indicates an entity that describes an image for this object. Unlike the icon property, there are no aspect ratio or display size limitations assumed. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:image
- is optional
- type: complex
- defined in Object
One of the following conditions need to be fulfilled.
Any following options needs to be fulfilled.
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
- Image Document –
https://ns.adobe.com/xdm/external/activity-streams-2/image
- Link –
https://ns.adobe.com/xdm/external/activity-streams-2/link
Array type:
All items must be of the type:
Unknown type anyOf
.
{
"items": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/image",
"$linkVal": "Image Document",
"$linkPath": "image.schema.md"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/link",
"$linkVal": "Link",
"$linkPath": "link.schema.md"
}
],
"type": "anyOf"
},
"type": "array"
}
Indicates one or more entities for which this object is considered a response. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:inReplyTo
- is optional
- type: complex
- defined in Object
One of the following conditions need to be fulfilled.
Any following options needs to be fulfilled.
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
- Object –
https://ns.adobe.com/xdm/external/activity-streams-2/object
- Link –
https://ns.adobe.com/xdm/external/activity-streams-2/link
Array type:
All items must be of the type:
Unknown type anyOf
.
{
"items": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/object",
"$linkVal": "Object",
"$linkPath": "object.schema.md"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/link",
"$linkVal": "Link",
"$linkPath": "link.schema.md"
}
],
"type": "anyOf"
},
"type": "array"
}
Identifies the items contained in a collection. The items might be ordered or unordered. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:items
- is optional
- type: complex
- defined in this schema
One of the following conditions need to be fulfilled.
Any following options needs to be fulfilled.
- Object –
https://ns.adobe.com/xdm/external/activity-streams-2/object
- Link –
https://ns.adobe.com/xdm/external/activity-streams-2/link
Array type:
All items must be of the type:
Unknown type anyOf
.
{
"items": {
"anyOf": [
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/object",
"$linkVal": "Object",
"$linkPath": "object.schema.md"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/link",
"$linkVal": "Link",
"$linkPath": "link.schema.md"
}
],
"type": "anyOf"
},
"type": "array"
}
In a paged Collection, indicates the furthest proceeding page of the collection. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:last
- is optional
- type: complex
- defined in this schema
Any following options needs to be fulfilled.
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
- Collection Page –
https://ns.adobe.com/xdm/external/activity-streams-2/collection-page
- Link –
https://ns.adobe.com/xdm/external/activity-streams-2/link
Indicates one or more physical or logical locations associated with the object. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:location
- is optional
- type: complex
- defined in Object
One of the following conditions need to be fulfilled.
Any following options needs to be fulfilled.
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
- Object –
https://ns.adobe.com/xdm/external/activity-streams-2/object
- Link –
https://ns.adobe.com/xdm/external/activity-streams-2/link
Array type:
All items must be of the type:
Unknown type anyOf
.
{
"items": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/object",
"$linkVal": "Object",
"$linkPath": "object.schema.md"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/link",
"$linkVal": "Link",
"$linkPath": "link.schema.md"
}
],
"type": "anyOf"
},
"type": "array"
}
When used on a Link, identifies the MIME media type of the referenced resource. When used on an Object, identifies the MIME media type of the value of the content property. If not specified, the content property is assumed to contain text/html content. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:mediaType
- is optional
- type:
string
- defined in Object
string
All instances must conform to this regular expression (test examples here):
\w+\/[-.\w]+(?:\+[-.\w]+)?
A simple, human-readable, plain-text name for the object. HTML markup must not be included. The name may be expressed using multiple language-tagged values. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:name
- is optional
- type: complex
- defined in Object
One of the following conditions need to be fulfilled.
string
- RDF Language Tagged String –
https://ns.adobe.com/xdm/external/activity-streams-2/rdf-langstring
Identifies an entity that provides a preview of this object. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:preview
- is optional
- type: complex
- defined in Object
One of the following conditions need to be fulfilled.
Any following options needs to be fulfilled.
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
- Object –
https://ns.adobe.com/xdm/external/activity-streams-2/object
- Link –
https://ns.adobe.com/xdm/external/activity-streams-2/link
Array type:
All items must be of the type:
Unknown type anyOf
.
{
"items": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/object",
"$linkVal": "Object",
"$linkPath": "object.schema.md"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/link",
"$linkVal": "Link",
"$linkPath": "link.schema.md"
}
],
"type": "anyOf"
},
"type": "array"
}
The date and time at which the object was published Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:published
- is optional
- type:
string
- defined in Object
string
- format:
date-time
– date and time (according to RFC 3339, section 5.6)
Identifies a Collection containing objects considered to be responses to this object. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:replies
- is optional
- type: Collection
- defined in Object
- Collection –
https://ns.adobe.com/xdm/external/activity-streams-2/collection
The date and time describing the actual or expected starting time of the object. When used with an Activity object, for instance, the startTime property specifies the moment the activity began or is scheduled to begin. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:startTime
- is optional
- type:
string
- defined in Object
string
- format:
date-time
– date and time (according to RFC 3339, section 5.6)
A natural language summarization of the object encoded as HTML. Multiple language tagged summaries may be provided. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:summary
- is optional
- type: complex
- defined in Object
One of the following conditions need to be fulfilled.
string
- RDF Language Tagged String –
https://ns.adobe.com/xdm/external/activity-streams-2/rdf-langstring
One or more 'tags' that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:tag
- is optional
- type: complex
- defined in Object
One of the following conditions need to be fulfilled.
Any following options needs to be fulfilled.
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
- Object –
https://ns.adobe.com/xdm/external/activity-streams-2/object
- Link –
https://ns.adobe.com/xdm/external/activity-streams-2/link
Array type:
All items must be of the type:
Unknown type anyOf
.
{
"items": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/object",
"$linkVal": "Object",
"$linkPath": "object.schema.md"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/link",
"$linkVal": "Link",
"$linkPath": "link.schema.md"
}
],
"type": "anyOf"
},
"type": "array"
}
Identifies an entity considered to be part of the public primary audience of an Object. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:to
- is optional
- type: complex
- defined in Object
One of the following conditions need to be fulfilled.
Any following options needs to be fulfilled.
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
- Object –
https://ns.adobe.com/xdm/external/activity-streams-2/object
- Link –
https://ns.adobe.com/xdm/external/activity-streams-2/link
Array type:
All items must be of the type:
Unknown type anyOf
.
{
"items": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/object",
"$linkVal": "Object",
"$linkPath": "object.schema.md"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/link",
"$linkVal": "Link",
"$linkPath": "link.schema.md"
}
],
"type": "anyOf"
},
"type": "array"
}
A non-negative integer specifying the total number of objects contained by the logical view of the collection. This number might not reflect the actual number of items serialized within the Collection object instance. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:totalItems
- is optional
- type:
integer
- defined in this schema
integer
- minimum value:
0
The date and time at which the object was updated Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:updated
- is optional
- type:
string
- defined in Object
string
- format:
date-time
– date and time (according to RFC 3339, section 5.6)
Identifies one or more links to representations of the object. Refer to the Activity Streams 2.0 Core document for a complete description.
activitystreams:url
- is optional
- type: complex
- defined in Object
One of the following conditions need to be fulfilled.
Any following options needs to be fulfilled.
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
- Link –
https://ns.adobe.com/xdm/external/activity-streams-2/link
Array type:
All items must be of the type:
Unknown type anyOf
.
{
"items": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{
"$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/link",
"$linkVal": "Link",
"$linkPath": "link.schema.md"
}
],
"type": "anyOf"
},
"type": "array"
}