<?xml version="1.0" encoding="UTF-8"?>
<semantic:definitions xmlns="http://www.trisotech.com/dmn/definitions/_6eef3a7c-bb0d-40bb-858d-f9067789c18a"
                      xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/"
                      xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/"
                      xmlns:dmndi="http://www.omg.org/spec/DMN/20180521/DMNDI/"
                      xmlns:feel="http://www.omg.org/spec/DMN/20180521/FEEL/"
                      xmlns:semantic="http://www.omg.org/spec/DMN/20180521/MODEL/"
                      xmlns:tc="http://www.omg.org/spec/DMN/20160719/testcase"
                      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                      exporter="DMN Modeler"
                      exporterVersion="6.1.2"
                      id="_6eef3a7c-bb0d-40bb-858d-f9067789c18a"
                      name="Decision Service 20180718"
                      namespace="http://www.trisotech.com/dmn/definitions/_6eef3a7c-bb0d-40bb-858d-f9067789c18a">
   <semantic:extensionElements>
  </semantic:extensionElements>
   <semantic:inputData id="_cd516016-e4e7-4274-9f9a-de42c4e8a242" name="Person name">
      <semantic:variable id="_5e92b485-b274-4a77-b17d-cf3189223cfc"
                         name="Person name"
                         typeRef="string"/>
   </semantic:inputData>
   <semantic:inputData id="_747b3e38-ea12-44fd-9175-11d3aafb3c34" name="Person age">
      <semantic:variable id="_10d8f8b0-833d-46c2-9302-81377bc98078"
                         name="Person age"
                         typeRef="number"/>
   </semantic:inputData>
   <semantic:decision id="_e0bb723e-9f73-435c-9af5-92329c81ef14" name="Greet the person">
      <semantic:variable id="_39864e15-6d4a-470b-942e-404a5cf1e689"
                         name="Greet the person"
                         typeRef="string"/>
      <semantic:informationRequirement>
         <semantic:requiredInput href="#_cd516016-e4e7-4274-9f9a-de42c4e8a242"/>
      </semantic:informationRequirement>
      <semantic:knowledgeRequirement>
         <semantic:requiredKnowledge href="#_ef12690d-0e40-4bd6-ac6a-dacab2141f0c"/>
      </semantic:knowledgeRequirement>
      <semantic:literalExpression id="_beebf9c2-8522-44b8-985a-57f2a8554769" typeRef="string">
         <semantic:text>what to say to greet a person(Person name)</semantic:text>
      </semantic:literalExpression>
   </semantic:decision>
   <semantic:businessKnowledgeModel id="_ef12690d-0e40-4bd6-ac6a-dacab2141f0c"
                                    name="what to say to greet a person">
      <semantic:variable id="_9567cb84-a732-422c-b1a5-f153acb30754"
                         name="what to say to greet a person"/>
      <semantic:encapsulatedLogic kind="FEEL" id="_2f0effad-f60b-4ab0-bf52-df09a1436008">
         <semantic:formalParameter id="_b1fb2e2d-3ce3-4b63-991f-409312302b87"
                                   name="name"
                                   typeRef="string"/>
         <semantic:literalExpression id="_106aea2f-4fae-47fa-a783-4adf70f4e072">
            <semantic:text>"Hello, "+name</semantic:text>
         </semantic:literalExpression>
      </semantic:encapsulatedLogic>
   </semantic:businessKnowledgeModel>
   <semantic:decision id="_084ed4f5-eb96-4d01-8a1e-85dd9e933d19"
                      name="is Person at age allowed">
      <semantic:variable id="_9c824eca-65d8-4132-b7ff-16fd7c497ae6"
                         name="is Person at age allowed"
                         typeRef="boolean"/>
      <semantic:informationRequirement>
         <semantic:requiredInput href="#_747b3e38-ea12-44fd-9175-11d3aafb3c34"/>
      </semantic:informationRequirement>
      <semantic:literalExpression id="_5e770d38-1ef6-4967-a0b3-6bd2189832b4" typeRef="boolean">
         <semantic:text>if Person age &gt;= 21 then true else false</semantic:text>
      </semantic:literalExpression>
   </semantic:decision>
   <semantic:decision id="_1ea3632f-8d96-4c1b-8442-06787ff5a316" name="Final Decision">
      <semantic:variable id="_fd8b079b-b2df-45d7-8d3f-9a9fe3026f57"
                         name="Final Decision"
                         typeRef="string"/>
      <semantic:informationRequirement>
         <semantic:requiredDecision href="#_e0bb723e-9f73-435c-9af5-92329c81ef14"/>
      </semantic:informationRequirement>
      <semantic:informationRequirement>
         <semantic:requiredDecision href="#_084ed4f5-eb96-4d01-8a1e-85dd9e933d19"/>
      </semantic:informationRequirement>
      <semantic:literalExpression id="_ce57a3ca-0ae2-47de-88d1-ddfa9c37d66b" typeRef="string">
         <semantic:text>Greet the person + "; "+  if is Person at age allowed then "you are allowed" else "sorry you are not age allowed"</semantic:text>
      </semantic:literalExpression>
   </semantic:decision>
   <semantic:decisionService id="_cf49add9-84a4-40ac-8306-1eea599ff43c" name="DS given inputdata">
      <semantic:variable name="DS given inputdata" typeRef="Any"/>
      <semantic:outputDecision href="#_1ea3632f-8d96-4c1b-8442-06787ff5a316"/>
      <semantic:encapsulatedDecision href="#_e0bb723e-9f73-435c-9af5-92329c81ef14"/>
      <semantic:encapsulatedDecision href="#_084ed4f5-eb96-4d01-8a1e-85dd9e933d19"/>
      <semantic:inputData href="#_cd516016-e4e7-4274-9f9a-de42c4e8a242"/>
      <semantic:inputData href="#_747b3e38-ea12-44fd-9175-11d3aafb3c34"/>
   </semantic:decisionService>
</semantic:definitions>
