<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="swimdraft" exporterVersion="1.0">
  <bpmn2:collaboration id="Collaboration_1">
    <bpmn2:participant id="pool_dsar" name="Organisation" processRef="Process_pool_dsar" />
    <bpmn2:participant id="pool_dsar_subject" name="Data subject" processRef="Process_pool_dsar_subject" />
    <bpmn2:messageFlow id="mfdsar1" name="Identity proof" sourceRef="pool_dsar_subject" targetRef="ev_dsar_id" />
    <bpmn2:messageFlow id="mfdsar2" name="Data package" sourceRef="t_dsar_send" targetRef="pool_dsar_subject" />
  </bpmn2:collaboration>
  <bpmn2:process id="Process_pool_dsar" isExecutable="false">
    <bpmn2:laneSet id="LaneSet_pool_dsar">
      <bpmn2:lane id="lane_dsar_privacy" name="Privacy officer">
        <bpmn2:flowNodeRef>start_dsar</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>t_dsar_log</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>t_dsar_id</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>ev_dsar_id</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>g_dsar_verify</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>t_dsar_redact</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>t_dsar_send</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>end_dsar_done</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>t_dsar_refuse</bpmn2:flowNodeRef>
        <bpmn2:flowNodeRef>end_dsar_refused</bpmn2:flowNodeRef>
      </bpmn2:lane>
      <bpmn2:lane id="lane_dsar_owners" name="Data owners">
        <bpmn2:flowNodeRef>t_dsar_gather</bpmn2:flowNodeRef>
      </bpmn2:lane>
    </bpmn2:laneSet>
    <bpmn2:startEvent id="start_dsar" name="Access request received">
      <bpmn2:outgoing>fdsar1</bpmn2:outgoing>
    </bpmn2:startEvent>
    <bpmn2:task id="t_dsar_log" name="Log the request">
      <bpmn2:incoming>fdsar1</bpmn2:incoming>
      <bpmn2:outgoing>fdsar2</bpmn2:outgoing>
    </bpmn2:task>
    <bpmn2:sendTask id="t_dsar_id" name="Request proof of identity">
      <bpmn2:incoming>fdsar2</bpmn2:incoming>
      <bpmn2:outgoing>fdsar3</bpmn2:outgoing>
    </bpmn2:sendTask>
    <bpmn2:intermediateCatchEvent id="ev_dsar_id" name="Identity proof received">
      <bpmn2:incoming>fdsar3</bpmn2:incoming>
      <bpmn2:outgoing>fdsar4</bpmn2:outgoing>
      <bpmn2:messageEventDefinition id="ev_dsar_id_def" />
    </bpmn2:intermediateCatchEvent>
    <bpmn2:exclusiveGateway id="g_dsar_verify" name="Identity verified?" default="fdsar6">
      <bpmn2:incoming>fdsar4</bpmn2:incoming>
      <bpmn2:outgoing>fdsar5</bpmn2:outgoing>
      <bpmn2:outgoing>fdsar6</bpmn2:outgoing>
    </bpmn2:exclusiveGateway>
    <bpmn2:userTask id="t_dsar_gather" name="Gather personal data">
      <bpmn2:incoming>fdsar5</bpmn2:incoming>
      <bpmn2:outgoing>fdsar7</bpmn2:outgoing>
    </bpmn2:userTask>
    <bpmn2:userTask id="t_dsar_redact" name="Redact third party data">
      <bpmn2:incoming>fdsar7</bpmn2:incoming>
      <bpmn2:outgoing>fdsar8</bpmn2:outgoing>
    </bpmn2:userTask>
    <bpmn2:sendTask id="t_dsar_send" name="Send data package">
      <bpmn2:incoming>fdsar8</bpmn2:incoming>
      <bpmn2:outgoing>fdsar9</bpmn2:outgoing>
    </bpmn2:sendTask>
    <bpmn2:endEvent id="end_dsar_done" name="Request fulfilled">
      <bpmn2:incoming>fdsar9</bpmn2:incoming>
    </bpmn2:endEvent>
    <bpmn2:sendTask id="t_dsar_refuse" name="Send refusal notice">
      <bpmn2:incoming>fdsar6</bpmn2:incoming>
      <bpmn2:outgoing>fdsar10</bpmn2:outgoing>
    </bpmn2:sendTask>
    <bpmn2:endEvent id="end_dsar_refused" name="Request refused">
      <bpmn2:incoming>fdsar10</bpmn2:incoming>
    </bpmn2:endEvent>
    <bpmn2:sequenceFlow id="fdsar1" sourceRef="start_dsar" targetRef="t_dsar_log" />
    <bpmn2:sequenceFlow id="fdsar2" sourceRef="t_dsar_log" targetRef="t_dsar_id" />
    <bpmn2:sequenceFlow id="fdsar3" sourceRef="t_dsar_id" targetRef="ev_dsar_id" />
    <bpmn2:sequenceFlow id="fdsar4" sourceRef="ev_dsar_id" targetRef="g_dsar_verify" />
    <bpmn2:sequenceFlow id="fdsar5" name="Yes" sourceRef="g_dsar_verify" targetRef="t_dsar_gather">
      <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression">Yes</bpmn2:conditionExpression>
    </bpmn2:sequenceFlow>
    <bpmn2:sequenceFlow id="fdsar6" name="No" sourceRef="g_dsar_verify" targetRef="t_dsar_refuse" />
    <bpmn2:sequenceFlow id="fdsar7" sourceRef="t_dsar_gather" targetRef="t_dsar_redact" />
    <bpmn2:sequenceFlow id="fdsar8" sourceRef="t_dsar_redact" targetRef="t_dsar_send" />
    <bpmn2:sequenceFlow id="fdsar9" sourceRef="t_dsar_send" targetRef="end_dsar_done" />
    <bpmn2:sequenceFlow id="fdsar10" sourceRef="t_dsar_refuse" targetRef="end_dsar_refused" />
  </bpmn2:process>
  <bpmn2:process id="Process_pool_dsar_subject" isExecutable="false">
  </bpmn2:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1">
      <bpmndi:BPMNShape id="pool_dsar_di" bpmnElement="pool_dsar" isHorizontal="true">
        <dc:Bounds x="20" y="20" width="1420" height="370" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="lane_dsar_privacy_di" bpmnElement="lane_dsar_privacy" isHorizontal="true">
        <dc:Bounds x="50" y="20" width="1390" height="240" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="lane_dsar_owners_di" bpmnElement="lane_dsar_owners" isHorizontal="true">
        <dc:Bounds x="50" y="260" width="1390" height="130" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="pool_dsar_subject_di" bpmnElement="pool_dsar_subject" isHorizontal="true">
        <dc:Bounds x="20" y="450" width="1420" height="130" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="start_dsar_di" bpmnElement="start_dsar">
        <dc:Bounds x="112" y="59" width="36" height="36" />
        <bpmndi:BPMNLabel><dc:Bounds x="69" y="101" width="122" height="14" /></bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="t_dsar_log_di" bpmnElement="t_dsar_log">
        <dc:Bounds x="230" y="37" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="t_dsar_id_di" bpmnElement="t_dsar_id">
        <dc:Bounds x="380" y="37" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ev_dsar_id_di" bpmnElement="ev_dsar_id">
        <dc:Bounds x="562" y="59" width="36" height="36" />
        <bpmndi:BPMNLabel><dc:Bounds x="525" y="101" width="111" height="14" /></bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="g_dsar_verify_di" bpmnElement="g_dsar_verify">
        <dc:Bounds x="705" y="52" width="50" height="50" />
        <bpmndi:BPMNLabel><dc:Bounds x="689" y="32" width="83" height="14" /></bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="t_dsar_gather_di" bpmnElement="t_dsar_gather">
        <dc:Bounds x="830" y="277" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="t_dsar_redact_di" bpmnElement="t_dsar_redact">
        <dc:Bounds x="980" y="37" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="t_dsar_send_di" bpmnElement="t_dsar_send">
        <dc:Bounds x="1130" y="37" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="end_dsar_done_di" bpmnElement="end_dsar_done">
        <dc:Bounds x="1312" y="59" width="36" height="36" />
        <bpmndi:BPMNLabel><dc:Bounds x="1290" y="101" width="81" height="14" /></bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="t_dsar_refuse_di" bpmnElement="t_dsar_refuse">
        <dc:Bounds x="830" y="37" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="end_dsar_refused_di" bpmnElement="end_dsar_refused">
        <dc:Bounds x="1012" y="169" width="36" height="36" />
        <bpmndi:BPMNLabel><dc:Bounds x="989" y="211" width="83" height="14" /></bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="fdsar1_di" bpmnElement="fdsar1">
        <di:waypoint x="148" y="77" />
        <di:waypoint x="230" y="77" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="fdsar2_di" bpmnElement="fdsar2">
        <di:waypoint x="330" y="77" />
        <di:waypoint x="380" y="77" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="fdsar3_di" bpmnElement="fdsar3">
        <di:waypoint x="480" y="77" />
        <di:waypoint x="562" y="77" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="fdsar4_di" bpmnElement="fdsar4">
        <di:waypoint x="598" y="77" />
        <di:waypoint x="705" y="77" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="fdsar5_di" bpmnElement="fdsar5">
        <di:waypoint x="755" y="77" />
        <di:waypoint x="810" y="77" />
        <di:waypoint x="810" y="317" />
        <di:waypoint x="830" y="317" />
        <bpmndi:BPMNLabel><dc:Bounds x="761" y="57" width="21" height="14" /></bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="fdsar6_di" bpmnElement="fdsar6">
        <di:waypoint x="755" y="77" />
        <di:waypoint x="830" y="77" />
        <bpmndi:BPMNLabel><dc:Bounds x="761" y="83" width="17" height="14" /></bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="fdsar7_di" bpmnElement="fdsar7">
        <di:waypoint x="930" y="317" />
        <di:waypoint x="960" y="317" />
        <di:waypoint x="960" y="77" />
        <di:waypoint x="980" y="77" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="fdsar8_di" bpmnElement="fdsar8">
        <di:waypoint x="1080" y="77" />
        <di:waypoint x="1130" y="77" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="fdsar9_di" bpmnElement="fdsar9">
        <di:waypoint x="1230" y="77" />
        <di:waypoint x="1312" y="77" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="fdsar10_di" bpmnElement="fdsar10">
        <di:waypoint x="930" y="77" />
        <di:waypoint x="960" y="77" />
        <di:waypoint x="960" y="187" />
        <di:waypoint x="1012" y="187" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="mfdsar1_di" bpmnElement="mfdsar1">
        <di:waypoint x="660" y="450" />
        <di:waypoint x="660" y="420" />
        <di:waypoint x="660" y="77" />
        <di:waypoint x="598" y="77" />
        <bpmndi:BPMNLabel><dc:Bounds x="666" y="413" width="66" height="14" /></bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="mfdsar2_di" bpmnElement="mfdsar2">
        <di:waypoint x="1180" y="117" />
        <di:waypoint x="1180" y="420" />
        <di:waypoint x="1180" y="450" />
        <bpmndi:BPMNLabel><dc:Bounds x="1186" y="413" width="70" height="14" /></bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn2:definitions>