COAR Notify Protocol version 1.0.1 Current version!

Pattern: Tentatively Reject

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

This pattern is used to acknowledge and tentatively reject a request (Offer). This should be interpreted to mean that the target does not currently intend to act on the request, but that the target might consider another Offer relating to the same resource (for example following some revision of the resource).

Properties

@context

@context is REQUIRED. It takes an array of URIs which MUST include:

  • https://www.w3.org/ns/activitystreams

and MUST include ONE of the following:

  • https://coar-notify.net (preferred)
  • https://purl.org/coar/notify instead (deprecated)

actor

actor is RECOMMENDED. It describes the party responsible for this activity. It:

  • MUST have an id which MUST be a URI identifying the actor (HTTP URIs are RECOMMENDED, but any valid URI is permitted)
  • MUST have a type which MUST be one of: Application, Group, Organization, Person or Service from Activity Streams 2.0.
  • MAY have a name which is a string containing the name of the party responsible for this activity

The inclusion of actor is highly RECOMMENDED in order to facilitate the broadest possible interoperability beyond the immediate COAR Notify context. Some external systems which can usefully consume notifications based on Activity Streams 2.0 may require the presence of an actor to function correctly.

id

id is REQUIRED. It MUST identify an Activity Streams 2.0 activity. Its value MUST be a single URI, and the use of URN:UUID is RECOMMENDED. An HTTP URI MAY be used instead, and in such cases the URI SHOULD resolve to a useful resource.

inReplyTo

inReplyTo is REQUIRED. It MUST be specified because this is a response to a previous notification. It takes the URI which identifies the activity for which this is a response.

object

object is REQUIRED. It is the complete payload (without the @context property) of the Offer activity to which this pattern is a response. In this case, the object contains an inner object which represents the resource which was being offered, rather than an activity. Note that the value of the inReplyTo property MUST be the same as the value of the id property of the object, because both point to the original Offer activity.

origin

origin is REQUIRED. It describes the system which has sent the notification. It:

  • MUST have an id which MUST be an HTTP URI identifying the sending system
  • MUST have a type which SHOULD include the value Service from Activity Streams 2.0
  • SHOULD have an inbox which, when present, MUST have the HTTP URI of the LDN inbox for the origin.

summary

summary is OPTIONAL. When present, it SHOULD provide a brief, free-text summary of the reason for tentatively rejecting the previous Offer, and MAY provide an instruction on how to proceed further.

target

target is REQUIRED. It describes the system which is intended to receive the notification. It:

  • MUST have an id which MUST be an HTTP URI identifying the receiving system
  • MUST have a type which SHOULD include the value Service from Activity Streams 2.0
  • MUST have an inbox which MUST have the HTTP URI of the LDN inbox for the target.

type

type is REQUIRED. The type of this activity MUST include the value TentativeReject

Example JSON-LD Payload

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://coar-notify.net"
  ],
  "actor": {
    "id": "https://generic-service-1.com",
    "name": "Generic Service",
    "type": "Service"
  },
  "id": "urn:uuid:b6c7c187-4df2-45c6-8b03-b516b134224b",
  "inReplyTo": "urn:uuid:0370c0fb-bb78-4a9b-87f5-bed307a509dd",
  "object": {
    "actor": {
      "id": "https://orcid.org/0000-0002-1825-0097",
      "name": "Josiah Carberry",
      "type": "Person"
    },
    "id": "urn:uuid:0370c0fb-bb78-4a9b-87f5-bed307a509dd",
    "object": {
      "id": "https://research-organisation.org/repository/preprint/201203/421/",
      "ietf:cite-as": "https://doi.org/10.5555/12345680",
      "ietf:item": {
        "id": "https://research-organisation.org/repository/preprint/201203/421/content.pdf",
        "mediaType": "application/pdf",
        "type": [
          "Page",
          "sorg:AboutPage"
        ]
      },
      "type": "sorg:AboutPage"
    },
    "origin": {
      "id": "https://research-organisation.org/repository",
      "inbox": "https://research-organisation.org/inbox/",
      "type": "Service"
    },
    "target": {
      "id": "https://overlay-journal.com/system",
      "inbox": "https://overlay-journal.com/inbox/",
      "type": "Service"
    },
    "type": [
      "Offer",
      "coar-notify:EndorsementAction"
    ]
  },
  "origin": {
    "id": "https://generic-service.com/system",
    "inbox": "https://generic-service.com/system/inbox/",
    "type": "Service"
  },
  "summary": "The offer has been tentatively rejected, subject to further review.",
  "target": {
    "id": "https://some-organisation.org",
    "inbox": "https://some-organisation.org/inbox/",
    "type": "Service"
  },
  "type": "TentativeReject"
}