ActivityPub · JSON-LD Context
Activitypub Context
JSON-LD context defining the semantic vocabulary for Activitypub from ActivityPub.
59 Classes
73 Properties
5 Namespaces
Namespaces
xsd:
http://www.w3.org/2001/XMLSchema#
as:
https://www.w3.org/ns/activitystreams#
ldp:
http://www.w3.org/ns/ldp#
vcard:
http://www.w3.org/2006/vcard/ns#
sec:
https://w3id.org/security#
Classes
id
type
Accept
Activity
IntransitiveActivity
Add
Announce
Application
Article
Audio
Block
Collection
CollectionPage
Relationship
Create
Delete
Dislike
Document
Event
Flag
Follow
Group
Ignore
Image
Invite
Join
Leave
Like
Link
Mention
Note
Object
Offer
OrderedCollection
OrderedCollectionPage
Organization
Page
Person
Place
Profile
Question
Reject
Remove
Service
TentativeAccept
TentativeReject
Tombstone
Undo
Update
Video
content
hreflang
mediaType
name
rel
summary
units
preferredUsername
publicKeyPem
Properties
| Property | Type | Container |
|---|---|---|
| actor | reference | |
| attachment | reference | |
| attributedTo | reference | |
| audience | reference | |
| bcc | reference | |
| bto | reference | |
| cc | reference | |
| context | reference | |
| current | reference | |
| first | reference | |
| generator | reference | |
| icon | reference | |
| image | reference | |
| inReplyTo | reference | |
| instrument | reference | |
| last | reference | |
| location | reference | |
| next | reference | |
| object | reference | |
| oneOf | reference | |
| anyOf | reference | |
| closed | dateTime | |
| origin | reference | |
| prev | reference | |
| preview | reference | |
| replies | reference | |
| result | reference | |
| partOf | reference | |
| tag | reference | |
| target | reference | |
| to | reference | |
| url | reference | |
| items | reference | |
| orderedItems | reference | |
| subject | reference | |
| relationship | reference | |
| describes | reference | |
| formerType | reference | |
| accuracy | float | |
| altitude | float | |
| contentMap | language | |
| deleted | dateTime | |
| duration | duration | |
| endTime | dateTime | |
| height | nonNegativeInteger | |
| href | reference | |
| latitude | float | |
| longitude | float | |
| nameMap | language | |
| published | dateTime | |
| radius | float | |
| startIndex | nonNegativeInteger | |
| startTime | dateTime | |
| summaryMap | language | |
| totalItems | nonNegativeInteger | |
| updated | dateTime | |
| width | nonNegativeInteger | |
| inbox | reference | |
| outbox | reference | |
| following | reference | |
| followers | reference | |
| liked | reference | |
| streams | reference | |
| endpoints | reference | |
| uploadMedia | reference | |
| proxyUrl | reference | |
| oauthAuthorizationEndpoint | reference | |
| oauthTokenEndpoint | reference | |
| provideClientKey | reference | |
| signClientKey | reference | |
| sharedInbox | reference | |
| publicKey | reference | |
| owner | reference |
JSON-LD Document
{
"@context": {
"@vocab": "https://www.w3.org/ns/activitystreams#",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"as": "https://www.w3.org/ns/activitystreams#",
"ldp": "http://www.w3.org/ns/ldp#",
"vcard": "http://www.w3.org/2006/vcard/ns#",
"id": "@id",
"type": "@type",
"Accept": "as:Accept",
"Activity": "as:Activity",
"IntransitiveActivity": "as:IntransitiveActivity",
"Add": "as:Add",
"Announce": "as:Announce",
"Application": "as:Application",
"Article": "as:Article",
"Audio": "as:Audio",
"Block": "as:Block",
"Collection": "as:Collection",
"CollectionPage": "as:CollectionPage",
"Relationship": "as:Relationship",
"Create": "as:Create",
"Delete": "as:Delete",
"Dislike": "as:Dislike",
"Document": "as:Document",
"Event": "as:Event",
"Flag": "as:Flag",
"Follow": "as:Follow",
"Group": "as:Group",
"Ignore": "as:Ignore",
"Image": "as:Image",
"Invite": "as:Invite",
"Join": "as:Join",
"Leave": "as:Leave",
"Like": "as:Like",
"Link": "as:Link",
"Mention": "as:Mention",
"Note": "as:Note",
"Object": "as:Object",
"Offer": "as:Offer",
"OrderedCollection": "as:OrderedCollection",
"OrderedCollectionPage": "as:OrderedCollectionPage",
"Organization": "as:Organization",
"Page": "as:Page",
"Person": "as:Person",
"Place": "as:Place",
"Profile": "as:Profile",
"Question": "as:Question",
"Reject": "as:Reject",
"Remove": "as:Remove",
"Service": "as:Service",
"TentativeAccept": "as:TentativeAccept",
"TentativeReject": "as:TentativeReject",
"Tombstone": "as:Tombstone",
"Undo": "as:Undo",
"Update": "as:Update",
"Video": "as:Video",
"actor": {
"@id": "as:actor",
"@type": "@id"
},
"attachment": {
"@id": "as:attachment",
"@type": "@id"
},
"attributedTo": {
"@id": "as:attributedTo",
"@type": "@id"
},
"audience": {
"@id": "as:audience",
"@type": "@id"
},
"bcc": {
"@id": "as:bcc",
"@type": "@id"
},
"bto": {
"@id": "as:bto",
"@type": "@id"
},
"cc": {
"@id": "as:cc",
"@type": "@id"
},
"context": {
"@id": "as:context",
"@type": "@id"
},
"current": {
"@id": "as:current",
"@type": "@id"
},
"first": {
"@id": "as:first",
"@type": "@id"
},
"generator": {
"@id": "as:generator",
"@type": "@id"
},
"icon": {
"@id": "as:icon",
"@type": "@id"
},
"image": {
"@id": "as:image",
"@type": "@id"
},
"inReplyTo": {
"@id": "as:inReplyTo",
"@type": "@id"
},
"instrument": {
"@id": "as:instrument",
"@type": "@id"
},
"last": {
"@id": "as:last",
"@type": "@id"
},
"location": {
"@id": "as:location",
"@type": "@id"
},
"next": {
"@id": "as:next",
"@type": "@id"
},
"object": {
"@id": "as:object",
"@type": "@id"
},
"oneOf": {
"@id": "as:oneOf",
"@type": "@id"
},
"anyOf": {
"@id": "as:anyOf",
"@type": "@id"
},
"closed": {
"@id": "as:closed",
"@type": "xsd:dateTime"
},
"origin": {
"@id": "as:origin",
"@type": "@id"
},
"prev": {
"@id": "as:prev",
"@type": "@id"
},
"preview": {
"@id": "as:preview",
"@type": "@id"
},
"replies": {
"@id": "as:replies",
"@type": "@id"
},
"result": {
"@id": "as:result",
"@type": "@id"
},
"audience": {
"@id": "as:audience",
"@type": "@id"
},
"partOf": {
"@id": "as:partOf",
"@type": "@id"
},
"tag": {
"@id": "as:tag",
"@type": "@id"
},
"target": {
"@id": "as:target",
"@type": "@id"
},
"to": {
"@id": "as:to",
"@type": "@id"
},
"url": {
"@id": "as:url",
"@type": "@id"
},
"items": {
"@id": "as:items",
"@type": "@id"
},
"orderedItems": {
"@id": "as:orderedItems",
"@type": "@id"
},
"subject": {
"@id": "as:subject",
"@type": "@id"
},
"relationship": {
"@id": "as:relationship",
"@type": "@id"
},
"describes": {
"@id": "as:describes",
"@type": "@id"
},
"formerType": {
"@id": "as:formerType",
"@type": "@id"
},
"accuracy": {
"@id": "as:accuracy",
"@type": "xsd:float"
},
"altitude": {
"@id": "as:altitude",
"@type": "xsd:float"
},
"content": "as:content",
"contentMap": {
"@id": "as:content",
"@container": "@language"
},
"deleted": {
"@id": "as:deleted",
"@type": "xsd:dateTime"
},
"duration": {
"@id": "as:duration",
"@type": "xsd:duration"
},
"endTime": {
"@id": "as:endTime",
"@type": "xsd:dateTime"
},
"height": {
"@id": "as:height",
"@type": "xsd:nonNegativeInteger"
},
"href": {
"@id": "as:href",
"@type": "@id"
},
"hreflang": "as:hreflang",
"latitude": {
"@id": "as:latitude",
"@type": "xsd:float"
},
"longitude": {
"@id": "as:longitude",
"@type": "xsd:float"
},
"mediaType": "as:mediaType",
"name": "as:name",
"nameMap": {
"@id": "as:name",
"@container": "@language"
},
"published": {
"@id": "as:published",
"@type": "xsd:dateTime"
},
"radius": {
"@id": "as:radius",
"@type": "xsd:float"
},
"rel": "as:rel",
"startIndex": {
"@id": "as:startIndex",
"@type": "xsd:nonNegativeInteger"
},
"startTime": {
"@id": "as:startTime",
"@type": "xsd:dateTime"
},
"summary": "as:summary",
"summaryMap": {
"@id": "as:summary",
"@container": "@language"
},
"totalItems": {
"@id": "as:totalItems",
"@type": "xsd:nonNegativeInteger"
},
"units": "as:units",
"updated": {
"@id": "as:updated",
"@type": "xsd:dateTime"
},
"width": {
"@id": "as:width",
"@type": "xsd:nonNegativeInteger"
},
"inbox": {
"@id": "ldp:inbox",
"@type": "@id"
},
"outbox": {
"@id": "as:outbox",
"@type": "@id"
},
"following": {
"@id": "as:following",
"@type": "@id"
},
"followers": {
"@id": "as:followers",
"@type": "@id"
},
"liked": {
"@id": "as:liked",
"@type": "@id"
},
"streams": {
"@id": "as:streams",
"@type": "@id"
},
"preferredUsername": "as:preferredUsername",
"endpoints": {
"@id": "as:endpoints",
"@type": "@id"
},
"uploadMedia": {
"@id": "as:uploadMedia",
"@type": "@id"
},
"proxyUrl": {
"@id": "as:proxyUrl",
"@type": "@id"
},
"oauthAuthorizationEndpoint": {
"@id": "as:oauthAuthorizationEndpoint",
"@type": "@id"
},
"oauthTokenEndpoint": {
"@id": "as:oauthTokenEndpoint",
"@type": "@id"
},
"provideClientKey": {
"@id": "as:provideClientKey",
"@type": "@id"
},
"signClientKey": {
"@id": "as:signClientKey",
"@type": "@id"
},
"sharedInbox": {
"@id": "as:sharedInbox",
"@type": "@id"
},
"publicKey": {
"@id": "sec:publicKey",
"@type": "@id"
},
"sec": "https://w3id.org/security#",
"publicKeyPem": "sec:publicKeyPem",
"owner": {
"@id": "sec:owner",
"@type": "@id"
}
}
}