@context
The @context
must include:
id
Notify payloads must describe an AS 2.0 activity
. The activity
has an id
which must be a URI, and the use of URN:UUID is recommended. An HTTP URI may be used instead, but in such cases the URI should resolve to a useful resource.
inReplyTo
In this particular example:
inReplyTo
is specified because this is a response to a previous notification. inReplyTo
takes the URI (URN:UUID or HTTP URI) which identifies the activity
for which this is a response.
origin
The origin
describes the system which has sent the notification.
The origin
has:
id
which is an HTTP URI identifying the sending systemtype
which should include the value Service from AS 2.0.inbox
which is the HTTP URI of the LDN inbox for the origin
target
The target
describes the system which is intended to receive the notification.
The target
has:
id
which is an HTTP URI identifying the receiving systemtype
which should include the value Service from AS 2.0.inbox
which is the HTTP URI of the LDN inbox for the target
type
The activity
has a type
with the value Reject
{
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://purl.org/coar/notify"
],
"id": "urn:uuid:668f26e0-2c8d-4117-a0d2-ee713523bcb1",
"inReplyTo": "urn:uuid:0370c0fb-bb78-4a9b-87f5-bed307a509dd",
"origin": {
"id": "https://https://peercommunityin.org",
"inbox": "https://peercommunityin.org/inbox/",
"type": "Service"
},
"target": {
"id": "https://research-organisation.org/repository",
"inbox": "https://research-organisation.org/inbox/",
"type": "Service"
},
"type": "Reject"
}
PCI rejects the offer to endorse the preprint