Skip to content

Latest commit

 

History

History
1868 lines (982 loc) · 40.5 KB

collection.schema.md

File metadata and controls

1868 lines (982 loc) · 40.5 KB

Collection Schema

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

Schema Hierarchy

  • 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

Collection Example

{
  "@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"
    }
  ]
}

Collection Properties

Property Type Required Defined by
activitystreams:attachment complex Optional Object
activitystreams:attributedTo complex Optional Object
activitystreams:audience complex Optional Object
activitystreams:bcc complex Optional Object
activitystreams:bto complex Optional Object
activitystreams:cc complex Optional Object
activitystreams:content complex Optional Object
activitystreams:context complex Optional Object
activitystreams:current complex Optional Collection (this schema)
activitystreams:duration string Optional Object
activitystreams:endTime string Optional Object
activitystreams:first complex Optional Collection (this schema)
activitystreams:generator complex Optional Object
activitystreams:icon complex Optional Object
activitystreams:image complex Optional Object
activitystreams:inReplyTo complex Optional Object
activitystreams:items complex Optional Collection (this schema)
activitystreams:last complex Optional Collection (this schema)
activitystreams:location complex Optional Object
activitystreams:mediaType string Optional Object
activitystreams:name complex Optional Object
activitystreams:preview complex Optional Object
activitystreams:published string Optional Object
activitystreams:replies Collection Optional Object
activitystreams:startTime string Optional Object
activitystreams:summary complex Optional Object
activitystreams:tag complex Optional Object
activitystreams:to complex Optional Object
activitystreams:totalItems integer Optional Collection (this schema)
activitystreams:updated string Optional Object
activitystreams:url complex Optional Object
* any Additional this schema allows additional properties

activitystreams:attachment

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

activitystreams:attachment Type

One of the following conditions need to be fulfilled.

Condition 1

Any following options needs to be fulfilled.

Option 1

string

  • format: uri – Uniformous Resource Identifier (according to RFC3986)

Option 2

  • Objecthttps://ns.adobe.com/xdm/external/activity-streams-2/object

Option 3

  • Linkhttps://ns.adobe.com/xdm/external/activity-streams-2/link

Condition 2

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"
}

activitystreams:attributedTo

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

activitystreams:attributedTo Type

One of the following conditions need to be fulfilled.

Condition 1

Any following options needs to be fulfilled.

Option 1

string

  • format: uri – Uniformous Resource Identifier (according to RFC3986)

Option 2

  • Objecthttps://ns.adobe.com/xdm/external/activity-streams-2/object

Option 3

  • Linkhttps://ns.adobe.com/xdm/external/activity-streams-2/link

Condition 2

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"
}

activitystreams:audience

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

activitystreams:audience Type

One of the following conditions need to be fulfilled.

Condition 1

Any following options needs to be fulfilled.

Option 1

string

  • format: uri – Uniformous Resource Identifier (according to RFC3986)

Option 2

  • Objecthttps://ns.adobe.com/xdm/external/activity-streams-2/object

Option 3

  • Linkhttps://ns.adobe.com/xdm/external/activity-streams-2/link

Condition 2

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"
}

activitystreams:bcc

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

activitystreams:bcc Type

One of the following conditions need to be fulfilled.

Condition 1

Any following options needs to be fulfilled.

Option 1

string

  • format: uri – Uniformous Resource Identifier (according to RFC3986)

Option 2

  • Objecthttps://ns.adobe.com/xdm/external/activity-streams-2/object

Option 3

  • Linkhttps://ns.adobe.com/xdm/external/activity-streams-2/link

Condition 2

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"
}

activitystreams:bto

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

activitystreams:bto Type

One of the following conditions need to be fulfilled.

Condition 1

Any following options needs to be fulfilled.

Option 1

string

  • format: uri – Uniformous Resource Identifier (according to RFC3986)

Option 2

  • Objecthttps://ns.adobe.com/xdm/external/activity-streams-2/object

Option 3

  • Linkhttps://ns.adobe.com/xdm/external/activity-streams-2/link

Condition 2

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"
}

activitystreams:cc

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

activitystreams:cc Type

One of the following conditions need to be fulfilled.

Condition 1

Any following options needs to be fulfilled.

Option 1

string

  • format: uri – Uniformous Resource Identifier (according to RFC3986)

Option 2

  • Objecthttps://ns.adobe.com/xdm/external/activity-streams-2/object

Option 3

  • Linkhttps://ns.adobe.com/xdm/external/activity-streams-2/link

Condition 2

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"
}

activitystreams:content

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

activitystreams:content Type

One of the following conditions need to be fulfilled.

Condition 1

string

Condition 2

activitystreams:context

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

activitystreams:context Type

One of the following conditions need to be fulfilled.

Condition 1

Any following options needs to be fulfilled.

Option 1

string

  • format: uri – Uniformous Resource Identifier (according to RFC3986)

Option 2

  • Objecthttps://ns.adobe.com/xdm/external/activity-streams-2/object

Option 3

  • Linkhttps://ns.adobe.com/xdm/external/activity-streams-2/link

Condition 2

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"
}

activitystreams:current

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

activitystreams:current Type

Any following options needs to be fulfilled.

Option 1

string

  • format: uri – Uniformous Resource Identifier (according to RFC3986)

Option 2

  • Collection Pagehttps://ns.adobe.com/xdm/external/activity-streams-2/collection-page

Option 3

  • Linkhttps://ns.adobe.com/xdm/external/activity-streams-2/link

activitystreams:duration

XSD Duration

XSD Duration according to specification

activitystreams:duration

  • is optional
  • type: string
  • defined in Object

activitystreams:duration Type

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)?)?$

activitystreams:endTime

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

activitystreams:endTime Type

string

activitystreams:first

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

activitystreams:first Type

Any following options needs to be fulfilled.

Option 1

string

  • format: uri – Uniformous Resource Identifier (according to RFC3986)

Option 2

  • Collection Pagehttps://ns.adobe.com/xdm/external/activity-streams-2/collection-page

Option 3

  • Linkhttps://ns.adobe.com/xdm/external/activity-streams-2/link

activitystreams:generator

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

activitystreams:generator Type

One of the following conditions need to be fulfilled.

Condition 1

Any following options needs to be fulfilled.

Option 1

string

  • format: uri – Uniformous Resource Identifier (according to RFC3986)

Option 2

  • Objecthttps://ns.adobe.com/xdm/external/activity-streams-2/object

Option 3

  • Linkhttps://ns.adobe.com/xdm/external/activity-streams-2/link

Condition 2

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"
}

activitystreams:icon

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

activitystreams:icon Type

One of the following conditions need to be fulfilled.

Condition 1

Any following options needs to be fulfilled.

Option 1

string

  • format: uri – Uniformous Resource Identifier (according to RFC3986)

Option 2

  • Image Documenthttps://ns.adobe.com/xdm/external/activity-streams-2/image

Option 3

  • Linkhttps://ns.adobe.com/xdm/external/activity-streams-2/link

Condition 2

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"
}

activitystreams:image

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

activitystreams:image Type

One of the following conditions need to be fulfilled.

Condition 1

Any following options needs to be fulfilled.

Option 1

string

  • format: uri – Uniformous Resource Identifier (according to RFC3986)

Option 2

  • Image Documenthttps://ns.adobe.com/xdm/external/activity-streams-2/image

Option 3

  • Linkhttps://ns.adobe.com/xdm/external/activity-streams-2/link

Condition 2

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"
}

activitystreams:inReplyTo

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

activitystreams:inReplyTo Type

One of the following conditions need to be fulfilled.

Condition 1

Any following options needs to be fulfilled.

Option 1

string

  • format: uri – Uniformous Resource Identifier (according to RFC3986)

Option 2

  • Objecthttps://ns.adobe.com/xdm/external/activity-streams-2/object

Option 3

  • Linkhttps://ns.adobe.com/xdm/external/activity-streams-2/link

Condition 2

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"
}

activitystreams:items

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

activitystreams:items Type

One of the following conditions need to be fulfilled.

Condition 1

Any following options needs to be fulfilled.

Option 1

  • Objecthttps://ns.adobe.com/xdm/external/activity-streams-2/object

Option 2

  • Linkhttps://ns.adobe.com/xdm/external/activity-streams-2/link

Condition 2

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"
}

activitystreams:last

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

activitystreams:last Type

Any following options needs to be fulfilled.

Option 1

string

  • format: uri – Uniformous Resource Identifier (according to RFC3986)

Option 2

  • Collection Pagehttps://ns.adobe.com/xdm/external/activity-streams-2/collection-page

Option 3

  • Linkhttps://ns.adobe.com/xdm/external/activity-streams-2/link

activitystreams:location

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

activitystreams:location Type

One of the following conditions need to be fulfilled.

Condition 1

Any following options needs to be fulfilled.

Option 1

string

  • format: uri – Uniformous Resource Identifier (according to RFC3986)

Option 2

  • Objecthttps://ns.adobe.com/xdm/external/activity-streams-2/object

Option 3

  • Linkhttps://ns.adobe.com/xdm/external/activity-streams-2/link

Condition 2

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"
}

activitystreams:mediaType

MIME Media Type

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

activitystreams:mediaType Type

string

All instances must conform to this regular expression (test examples here):

\w+\/[-.\w]+(?:\+[-.\w]+)?

activitystreams:name

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

activitystreams:name Type

One of the following conditions need to be fulfilled.

Condition 1

string

Condition 2

activitystreams:preview

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

activitystreams:preview Type

One of the following conditions need to be fulfilled.

Condition 1

Any following options needs to be fulfilled.

Option 1

string

  • format: uri – Uniformous Resource Identifier (according to RFC3986)

Option 2

  • Objecthttps://ns.adobe.com/xdm/external/activity-streams-2/object

Option 3

  • Linkhttps://ns.adobe.com/xdm/external/activity-streams-2/link

Condition 2

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"
}

activitystreams:published

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

activitystreams:published Type

string

activitystreams:replies

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

activitystreams:replies Type

  • Collectionhttps://ns.adobe.com/xdm/external/activity-streams-2/collection

activitystreams:startTime

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

activitystreams:startTime Type

string

activitystreams:summary

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

activitystreams:summary Type

One of the following conditions need to be fulfilled.

Condition 1

string

Condition 2

activitystreams:tag

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

activitystreams:tag Type

One of the following conditions need to be fulfilled.

Condition 1

Any following options needs to be fulfilled.

Option 1

string

  • format: uri – Uniformous Resource Identifier (according to RFC3986)

Option 2

  • Objecthttps://ns.adobe.com/xdm/external/activity-streams-2/object

Option 3

  • Linkhttps://ns.adobe.com/xdm/external/activity-streams-2/link

Condition 2

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"
}

activitystreams:to

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

activitystreams:to Type

One of the following conditions need to be fulfilled.

Condition 1

Any following options needs to be fulfilled.

Option 1

string

  • format: uri – Uniformous Resource Identifier (according to RFC3986)

Option 2

  • Objecthttps://ns.adobe.com/xdm/external/activity-streams-2/object

Option 3

  • Linkhttps://ns.adobe.com/xdm/external/activity-streams-2/link

Condition 2

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"
}

activitystreams:totalItems

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

activitystreams:totalItems Type

integer

  • minimum value: 0

activitystreams:updated

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

activitystreams:updated Type

string

activitystreams:url

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

activitystreams:url Type

One of the following conditions need to be fulfilled.

Condition 1

Any following options needs to be fulfilled.

Option 1

string

  • format: uri – Uniformous Resource Identifier (according to RFC3986)

Option 2

  • Linkhttps://ns.adobe.com/xdm/external/activity-streams-2/link

Condition 2

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"
}