<?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:modeler="http://camunda.org/schema/modeler/1.0" 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="Camunda Web Modeler" exporterVersion="5e2cce6" modeler:executionPlatform="Camunda Cloud" modeler:executionPlatformVersion="8.9.0">
  <bpmn:collaboration id="Collaboration_069cjk4" name="Identificar Imóveis Elegíveis para PSA (automatizado) - Pós Edital 02/2026">
    <bpmn:participant id="Participant_0lndmav" name="Identificar Imóveis Elegíveis para PSA (automatizado)" processRef="Process_1kctii5" />
  </bpmn:collaboration>
  <bpmn:process id="Process_1kctii5" name="Analisar Imóveis Elegíveis" isExecutable="true">
    <bpmn:laneSet id="LaneSet_1ma0ulk">
      <bpmn:lane id="Lane_1vzfrzz" name="Cadastro Ambiental Rural (CAR)">
        <bpmn:flowNodeRef>Activity_19p8gus</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_0evurxt</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_08po9c8</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_000tv5n</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_1805ftd</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_0a9lnhz</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Event_1qgfi9q</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Event_0i63wne</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_0jsxci0</bpmn:flowNodeRef>
      </bpmn:lane>
    </bpmn:laneSet>
    <bpmn:task id="Activity_19p8gus" name="Realizar cruzamentos geoespaciais e análises de uso e cobertura da terra (SICAR)">
      <bpmn:documentation>A validação preliminar das áreas elegíveis (Figura
04) será realizada mediante cruzamento
automatizado de informações geoespaciais,
considerando, no mínimo:
o polígono do imóvel rural declarado no
Cadastro Ambiental Rural (CAR);
o polígono de Remanescente de Vegetação
Nativa (RVN) declarado no CAR;
a análise temporal do uso e cobertura da terra
realizada com base na coleção vigente da
plataforma MapBiomas;
os critérios de elegibilidade definidos nos Editais
do Programa Mais Verde - Ação Conservação.</bpmn:documentation>
      <bpmn:incoming>Flow_03fhajt</bpmn:incoming>
      <bpmn:outgoing>Flow_0srexd5</bpmn:outgoing>
    </bpmn:task>
    <bpmn:task id="Activity_0evurxt" name="Verificar os  resultados preliminares dos imóveis (SICAR)">
      <bpmn:incoming>Flow_0srexd5</bpmn:incoming>
      <bpmn:outgoing>Flow_1gkljp7</bpmn:outgoing>
    </bpmn:task>
    <bpmn:task id="Activity_08po9c8" name="Aplicar os critérios de bonificação (SICAR)">
      <bpmn:documentation>O enquadramento preliminar poderá considerar,
entre outros critérios previstos nos Editais:

- a localização em corredores ecológicos
reconhecidos;
- a inserção na área de abrangência do Plano de
Ação Territorial do Planalto Sul (PAT Planalto Sul);
- a localização em regiões com histórico de seca
ou escassez hídrica;
- a existência de Reserva Particular do Patrimônio
Natural (RPPN);
- a certificação orgânica vigente, quando aplicável.</bpmn:documentation>
      <bpmn:incoming>Flow_0oohysi</bpmn:incoming>
      <bpmn:outgoing>Flow_11qao9q</bpmn:outgoing>
    </bpmn:task>
    <bpmn:startEvent id="StartEvent_1" name="Fonte de Dados do Cadastro Ambiental Rural (CAR)">
      <bpmn:documentation>Informações CAR, bases públicas e áreas prioritárias para conservação ambiental</bpmn:documentation>
      <bpmn:outgoing>Flow_03fhajt</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:exclusiveGateway id="Gateway_000tv5n" default="Flow_0oohysi">
      <bpmn:incoming>Flow_1gkljp7</bpmn:incoming>
      <bpmn:outgoing>Flow_0oohysi</bpmn:outgoing>
      <bpmn:outgoing>Flow_09kjabj</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:task id="Activity_1805ftd" name="Aplicar o cálculo de bonificação conforme critérios (SICAR)">
      <bpmn:incoming>Flow_0kykqsh</bpmn:incoming>
      <bpmn:outgoing>Flow_0an579y</bpmn:outgoing>
    </bpmn:task>
    <bpmn:task id="Activity_0a9lnhz" name="Gerar valor total do pagamento sem bonificação (SICAR)">
      <bpmn:incoming>Flow_0wx82ld</bpmn:incoming>
      <bpmn:outgoing>Flow_03te9vs</bpmn:outgoing>
    </bpmn:task>
    <bpmn:endEvent id="Event_1qgfi9q" name="Imóvel Elegível PSA">
      <bpmn:incoming>Flow_03te9vs</bpmn:incoming>
      <bpmn:incoming>Flow_0an579y</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:endEvent id="Event_0i63wne" name="Imóvel não elegível">
      <bpmn:incoming>Flow_09kjabj</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:exclusiveGateway id="Gateway_0jsxci0" default="Flow_0kykqsh">
      <bpmn:incoming>Flow_11qao9q</bpmn:incoming>
      <bpmn:outgoing>Flow_0kykqsh</bpmn:outgoing>
      <bpmn:outgoing>Flow_0wx82ld</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:sequenceFlow id="Flow_03fhajt" sourceRef="StartEvent_1" targetRef="Activity_19p8gus" />
    <bpmn:sequenceFlow id="Flow_0srexd5" sourceRef="Activity_19p8gus" targetRef="Activity_0evurxt" />
    <bpmn:sequenceFlow id="Flow_1gkljp7" sourceRef="Activity_0evurxt" targetRef="Gateway_000tv5n" />
    <bpmn:sequenceFlow id="Flow_0oohysi" name="Elegíveis" sourceRef="Gateway_000tv5n" targetRef="Activity_08po9c8" />
    <bpmn:sequenceFlow id="Flow_11qao9q" sourceRef="Activity_08po9c8" targetRef="Gateway_0jsxci0" />
    <bpmn:sequenceFlow id="Flow_09kjabj" name="Não elegíveis" sourceRef="Gateway_000tv5n" targetRef="Event_0i63wne" />
    <bpmn:sequenceFlow id="Flow_0kykqsh" name="Processos elegíveis com bonificação" sourceRef="Gateway_0jsxci0" targetRef="Activity_1805ftd" />
    <bpmn:sequenceFlow id="Flow_0an579y" sourceRef="Activity_1805ftd" targetRef="Event_1qgfi9q" />
    <bpmn:sequenceFlow id="Flow_0wx82ld" name="Processos elegíveis sem bonificação" sourceRef="Gateway_0jsxci0" targetRef="Activity_0a9lnhz" />
    <bpmn:sequenceFlow id="Flow_03te9vs" sourceRef="Activity_0a9lnhz" targetRef="Event_1qgfi9q" />
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_069cjk4">
      <bpmndi:BPMNShape id="Participant_0lndmav_di" bpmnElement="Participant_0lndmav" isHorizontal="true">
        <dc:Bounds x="150" y="80" width="1400" height="420" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_1vzfrzz_di" bpmnElement="Lane_1vzfrzz" isHorizontal="true">
        <dc:Bounds x="180" y="80" width="1370" height="420" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_19p8gus_di" bpmnElement="Activity_19p8gus">
        <dc:Bounds x="332" y="200" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0evurxt_di" bpmnElement="Activity_0evurxt">
        <dc:Bounds x="492" y="200" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_08po9c8_di" bpmnElement="Activity_08po9c8">
        <dc:Bounds x="792" y="200" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
        <dc:Bounds x="242" y="222" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="222" y="293" width="79" height="53" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_000tv5n_di" bpmnElement="Gateway_000tv5n" isMarkerVisible="true">
        <dc:Bounds x="635" y="215" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1805ftd_di" bpmnElement="Activity_1805ftd">
        <dc:Bounds x="1220" y="200" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0a9lnhz_di" bpmnElement="Activity_0a9lnhz">
        <dc:Bounds x="1220" y="342" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_1qgfi9q_di" bpmnElement="Event_1qgfi9q">
        <dc:Bounds x="1392" y="222" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1432" y="226" width="75" height="27" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0i63wne_di" bpmnElement="Event_0i63wne">
        <dc:Bounds x="832" y="364" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="823" y="407" width="54" height="27" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_0jsxci0_di" bpmnElement="Gateway_0jsxci0" isMarkerVisible="true">
        <dc:Bounds x="985" y="215" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_03fhajt_di" bpmnElement="Flow_03fhajt">
        <di:waypoint x="278" y="240" />
        <di:waypoint x="332" y="240" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0srexd5_di" bpmnElement="Flow_0srexd5">
        <di:waypoint x="432" y="240" />
        <di:waypoint x="492" y="240" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1gkljp7_di" bpmnElement="Flow_1gkljp7">
        <di:waypoint x="592" y="240" />
        <di:waypoint x="635" y="240" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0oohysi_di" bpmnElement="Flow_0oohysi">
        <di:waypoint x="685" y="240" />
        <di:waypoint x="792" y="240" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="708" y="223" width="45" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_11qao9q_di" bpmnElement="Flow_11qao9q">
        <di:waypoint x="892" y="240" />
        <di:waypoint x="985" y="240" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_09kjabj_di" bpmnElement="Flow_09kjabj">
        <di:waypoint x="660" y="265" />
        <di:waypoint x="660" y="382" />
        <di:waypoint x="832" y="382" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="706" y="363" width="67" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0kykqsh_di" bpmnElement="Flow_0kykqsh">
        <di:waypoint x="1035" y="240" />
        <di:waypoint x="1220" y="240" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1090" y="202" width="68" height="40" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0an579y_di" bpmnElement="Flow_0an579y">
        <di:waypoint x="1320" y="240" />
        <di:waypoint x="1392" y="240" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0wx82ld_di" bpmnElement="Flow_0wx82ld">
        <di:waypoint x="1010" y="265" />
        <di:waypoint x="1010" y="382" />
        <di:waypoint x="1220" y="382" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1094" y="340" width="68" height="40" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_03te9vs_di" bpmnElement="Flow_03te9vs">
        <di:waypoint x="1320" y="382" />
        <di:waypoint x="1410" y="382" />
        <di:waypoint x="1410" y="258" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
