Description: | This pattern is used to undo (retract) an offer previously made. |
Pattern Categories: | Undo |
@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.
type
The activity
has a type
with the value Undo
actor
The actor
describes the party responsible for this activity.
The actor
has:
id
which must be a URI identifying the actor
(HTTP URIs are preferred, but any valid URI is permitted)type
which should be one of: Application, Group, Organization, Person or Service from AS 2.0.actor
may also have a name
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
object
The object
describes the resource which is the main focus of this notification.
This particular example has the following properties:
id
which identifies the original offer
activity which this notification is acknowledging.object
which identifies the resource which was the object
of the original offer
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
{
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://purl.org/coar/notify"
],
"actor": {
"id": "https://some-organisation.org",
"name": "Some Organisation",
"type": "Organization"
},
"id": "urn:uuid:46956915-e3fe-4528-8789-1d325a356e4f",
"object": {
"id": "urn:uuid:0370c0fb-bb78-4a9b-87f5-bed307a509dd",
"object": "https://some-organisation.org/resource/0021",
"type": "Offer"
},
"origin": {
"id": "https://some-organisation.org",
"name": "Some Organisation",
"type": "Organization"
},
"target": {
"id": "https://generic-service.com/system",
"inbox": "https://generic-service.com/system/inbox/",
"type": "Service"
},
"type": "Undo"
}
ID | Scenario | Participating Systems |
---|