Published

Workflow: Endorsement by Request from a Repository

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 workflow was originally developed with Peer Community In (PCI), and so uses PCI as the example of an endorsement service in the example JSON payloads. PCI has one of the most developed endorsement services, and so it is a good example to use. PCI also has one particular requirement - that the actor in the request be identified with an email. COAR Notify requires that the actor be identified with a URI, so in this example the URI is a mailto URI.

However, the workflow itself is generic (not specific to PCI), and it can be used by repositories wishing to interoperate with other endorsement services.

Key (colour coding): Repository Endorsement Service notification
flowchart LR
classDef left_node fill:#f7d878;
classDef right_node fill:#aec9d3;
classDef notify fill:#e6c5d4;
1@{shape: circle, label: "1 Initiate"}
1 --> 2
class 1 left_node;
10.1@{shape: docs, label: "10.1 Announce
Review
"}
10.1 --> 11
class 10.1 notify;
10.2@{shape: doc, label: "10.2 Announce
Endorsement
"}
10.2 --> 12
class 10.2 notify;
11@{shape: stadium, label: "11 Record Link
to Review
"}
class 11 left_node;
12@{shape: stadium, label: "12 Record Link
to Endorsement
"}
class 12 left_node;
13@{shape: doc, label: "13 Tentative
Reject
"}
13 --> 14
class 13 notify;
14@{shape: stadium, label: "14 Revise
Submission
"}
class 14 left_node;
15@{shape: doc, label: "15 Reject"}
15 --> 16
class 15 notify;
16@{shape: stadium, label: "16 Accept
Decision
"}
class 16 left_node;
2@{shape: doc, label: "2 Request
Endorsement
"}
2 --> 3
class 2 notify;
3@{shape: diamond, label: "3 Process
Request
"}
3 --> 4a
3 --> 4b
class 3 right_node;
4a@{shape: rect, label: "4a Will
Review
"}
4a --> 5.1
4a --> 5.2
class 4a right_node;
4b@{shape: rect, label: "4b Will NOT
Review
"}
4b --> 6
class 4b right_node;
5.1@{shape: doc, label: "5.1 Tentatively
Accept
"}
5.1 --> 8
class 5.1 notify;
5.2@{shape: diamond, label: "5.2 Conduct
Review
"}
5.2 --> 9a
5.2 --> 9b
5.2 --> 9c
class 5.2 right_node;
6@{shape: doc, label: "6 Reject"}
6 --> 7
class 6 notify;
7@{shape: stadium, label: "7 Accept
Decision
"}
class 7 left_node;
8@{shape: rect, label: "8 Note
Status
"}
class 8 left_node;
9a@{shape: rect, label: "9a Endorsed
"}
9a --> 10.1
9a --> 10.2
class 9a right_node;
9b@{shape: rect, label: "9b Revision
Needed
"}
9b --> 13
class 9b right_node;
9c@{shape: rect, label: "9c Will NOT
Endorse
"}
9c --> 15
class 9c right_node;

Notifications sent in this Workflow
Workflow step Sender Receiver Activity type JSON example
10.2 Endorsement Service Repository Announce Endorsement example (JSON)
10.1 Endorsement Service Repository Announce Review example (JSON)
15 Endorsement Service Repository Reject example (JSON)
6 Endorsement Service Repository Reject example (JSON)
2 Repository Endorsement Service Request Endorsement example (JSON)
13 Endorsement Service Repository Tentative Reject example (JSON)
5.1 Endorsement Service Repository Tentatively Accept example (JSON)