Activity Stream Type: Profile

Profiles are used to provide additional user information display.

Activity Vocabulary: Profile

PropertyBase SpecRequiredDescriptionRestrictions
@contextActivity Streams 2.0YESJSON-LD @contextMUST be set to https://www.w3.org/ns/activitystreams
typeActivity Vocabulary 2.0YESIdentifies the type of the objectMUST be set to Profile
nameActivity Vocabulary 2.0noThe display name for the profile
iconActivity Vocabulary 2.0noAn array of avatars of the profileMUST follow Image Link Type
summaryActivity Vocabulary 2.0noUsed as a plain text biography of the profile
publishedActivity Vocabulary 2.0noThe time of publishingMUST be ISO8601
locationActivity Vocabulary 2.0noFor locationMUST follow Location Type
tagActivity Vocabulary 2.0noFor tags or mentionsMUST follow Tag Type

Examples

{
  "@context": "https://www.w3.org/ns/activitystreams",
  "type": "Profile",
  "name": "John Doe",
  "summary": "John Doe is actually a small kitten. See pfp.",
  "icon": [
    {
      "type": "Link",
      "href": "https://placekitten.com/256/256",
      "mediaType": "image/jpeg",
      "width": "256",
      "height": "256"
    },
    {
      "type": "Link",
      "href": "https://placekitten.com/64/64",
      "mediaType": "image/jpeg",
      "width": "64",
      "height": "64"
    }
  ],
  "published": "1970-01-01T00:00:00+00:00"
}