<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="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:zeebe="http://camunda.org/schema/zeebe/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bioc="http://bpmn.io/schema/bpmn/biocolor/1.0" xmlns:color="http://www.omg.org/spec/BPMN/non-normative/color/1.0" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_006i1lp" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.15.0" modeler:executionPlatform="Camunda Cloud" modeler:executionPlatformVersion="8.2.0">
  <bpmn:collaboration id="VJ_OVS">
    <bpmn:participant id="Participant_1deifxa" name="Schedule Consumer" processRef="Process_09xwyf9" />
    <bpmn:participant id="Participant_0hj7k8h" name="Schedule Publisher" processRef="Process_0wauc0l" />
    <bpmn:messageFlow id="Flow_1w0reik" sourceRef="Activity_010y937" targetRef="Event_1adyb43" />
    <bpmn:messageFlow id="Flow_00w825d" sourceRef="Activity_1uiligo" targetRef="Event_1xxidg5" />
  </bpmn:collaboration>
  <bpmn:process id="Process_09xwyf9" isExecutable="true">
    <bpmn:startEvent id="StartEvent_1">
      <bpmn:outgoing>Flow_0qx5c03</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:task id="Activity_010y937" name="Request schedules">
      <bpmn:incoming>Flow_0qx5c03</bpmn:incoming>
    </bpmn:task>
    <bpmn:intermediateCatchEvent id="Event_1xxidg5" name="OVS response">
      <bpmn:outgoing>Flow_1v452pw</bpmn:outgoing>
      <bpmn:messageEventDefinition id="MessageEventDefinition_1qup9vk" messageRef="Message_28fi0sk" />
    </bpmn:intermediateCatchEvent>
    <bpmn:endEvent id="Event_05plv86">
      <bpmn:incoming>Flow_1v452pw</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="Flow_0qx5c03" sourceRef="StartEvent_1" targetRef="Activity_010y937" />
    <bpmn:sequenceFlow id="Flow_1v452pw" sourceRef="Event_1xxidg5" targetRef="Event_05plv86" />
  </bpmn:process>
  <bpmn:process id="Process_0wauc0l" isExecutable="true">
    <bpmn:intermediateCatchEvent id="Event_1adyb43" name="OVS request">
      <bpmn:outgoing>Flow_0syd7a1</bpmn:outgoing>
      <bpmn:messageEventDefinition id="MessageEventDefinition_0grppwm" messageRef="Message_3vjdst2" />
    </bpmn:intermediateCatchEvent>
    <bpmn:task id="Activity_1cj9iix" name="Load existing schedule data">
      <bpmn:incoming>Flow_0syd7a1</bpmn:incoming>
      <bpmn:outgoing>Flow_0j64zdk</bpmn:outgoing>
    </bpmn:task>
    <bpmn:task id="Activity_1uiligo" name="Send schedules">
      <bpmn:incoming>Flow_0j64zdk</bpmn:incoming>
    </bpmn:task>
    <bpmn:sequenceFlow id="Flow_0syd7a1" sourceRef="Event_1adyb43" targetRef="Activity_1cj9iix" />
    <bpmn:sequenceFlow id="Flow_0j64zdk" sourceRef="Activity_1cj9iix" targetRef="Activity_1uiligo" />
  </bpmn:process>
  <bpmn:message id="Message_28fi0sk" name="Message_28fi0sk">
    <bpmn:extensionElements>
      <zeebe:subscription correlationKey="=Message_28fi0sk" />
    </bpmn:extensionElements>
  </bpmn:message>
  <bpmn:message id="Message_3vjdst2" name="Message_3vjdst2">
    <bpmn:extensionElements>
      <zeebe:subscription correlationKey="=Message_3vjdst2" />
    </bpmn:extensionElements>
  </bpmn:message>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="VJ_OVS">
      <bpmndi:BPMNShape id="Participant_1deifxa_di" bpmnElement="Participant_1deifxa" isHorizontal="true">
        <dc:Bounds x="129" y="80" width="651" height="220" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
        <dc:Bounds x="202" y="162" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_010y937_di" bpmnElement="Activity_010y937" bioc:stroke="#0d4372" bioc:fill="#bbdefb" color:background-color="#bbdefb" color:border-color="#0d4372">
        <dc:Bounds x="290" y="140" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0acohfq_di" bpmnElement="Event_1xxidg5" bioc:stroke="#0d4372" bioc:fill="#bbdefb" color:background-color="#bbdefb" color:border-color="#0d4372">
        <dc:Bounds x="622" y="162" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="604" y="143" width="73" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_05plv86_di" bpmnElement="Event_05plv86">
        <dc:Bounds x="712" y="162" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_0qx5c03_di" bpmnElement="Flow_0qx5c03">
        <di:waypoint x="238" y="180" />
        <di:waypoint x="290" y="180" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1v452pw_di" bpmnElement="Flow_1v452pw">
        <di:waypoint x="658" y="180" />
        <di:waypoint x="712" y="180" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Participant_0hj7k8h_di" bpmnElement="Participant_0hj7k8h" isHorizontal="true">
        <dc:Bounds x="129" y="300" width="651" height="230" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_08lgjhe_di" bpmnElement="Event_1adyb43" bioc:stroke="#0d4372" bioc:fill="#bbdefb" color:background-color="#bbdefb" color:border-color="#0d4372">
        <dc:Bounds x="322" y="392" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="308" y="435" width="64" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1cj9iix_di" bpmnElement="Activity_1cj9iix">
        <dc:Bounds x="420" y="370" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1uiligo_di" bpmnElement="Activity_1uiligo" bioc:stroke="#0d4372" bioc:fill="#bbdefb" color:background-color="#bbdefb" color:border-color="#0d4372">
        <dc:Bounds x="590" y="370" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_0syd7a1_di" bpmnElement="Flow_0syd7a1">
        <di:waypoint x="358" y="410" />
        <di:waypoint x="420" y="410" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0j64zdk_di" bpmnElement="Flow_0j64zdk">
        <di:waypoint x="520" y="410" />
        <di:waypoint x="590" y="410" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1w0reik_di" bpmnElement="Flow_1w0reik">
        <di:waypoint x="340" y="220" />
        <di:waypoint x="340" y="392" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_00w825d_di" bpmnElement="Flow_00w825d">
        <di:waypoint x="640" y="370" />
        <di:waypoint x="640" y="198" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
