<?xml version="1.0"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/APIbackgroundchecklatam.ServiceModel" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/APIbackgroundchecklatam.ServiceModel" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:complexType name="ApiFilterPublish">
    <xs:sequence>
      <xs:element minOccurs="0" name="ApiCode" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ApiFilterPublish" nillable="true" type="tns:ApiFilterPublish" />
  <xs:complexType name="GetCountries">
    <xs:sequence>
      <xs:element minOccurs="0" name="lang" type="tns:Languages" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="GetCountries" nillable="true" type="tns:GetCountries" />
  <xs:simpleType name="Languages">
    <xs:restriction base="xs:string">
      <xs:enumeration value="en" />
      <xs:enumeration value="es" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="Languages" nillable="true" type="tns:Languages" />
  <xs:complexType name="PeopleList">
    <xs:sequence>
      <xs:element minOccurs="0" name="ApiCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Country" type="tns:SearchCountrys" />
      <xs:element minOccurs="0" name="FullName" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="PeopleList" nillable="true" type="tns:PeopleList" />
  <xs:simpleType name="SearchCountrys">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Colombia" />
      <xs:enumeration value="COL" />
      <xs:enumeration value="Mexico" />
      <xs:enumeration value="MEX" />
      <xs:enumeration value="Chile" />
      <xs:enumeration value="CHL" />
      <xs:enumeration value="Brasil" />
      <xs:enumeration value="BRA" />
      <xs:enumeration value="Panama" />
      <xs:enumeration value="PAN" />
      <xs:enumeration value="Dominicana" />
      <xs:enumeration value="DOM" />
      <xs:enumeration value="CostaRica" />
      <xs:enumeration value="CRI" />
      <xs:enumeration value="Argentina" />
      <xs:enumeration value="ARG" />
      <xs:enumeration value="Ecuador" />
      <xs:enumeration value="ECU" />
      <xs:enumeration value="Peru" />
      <xs:enumeration value="PER" />
      <xs:enumeration value="ElSalvador" />
      <xs:enumeration value="SLV" />
      <xs:enumeration value="Guatemala" />
      <xs:enumeration value="GTM" />
      <xs:enumeration value="Honduras" />
      <xs:enumeration value="HND" />
      <xs:enumeration value="Venezuela" />
      <xs:enumeration value="VEN" />
      <xs:enumeration value="ALL" />
      <xs:enumeration value="AFG" />
      <xs:enumeration value="ALB" />
      <xs:enumeration value="DZA" />
      <xs:enumeration value="AND" />
      <xs:enumeration value="AGO" />
      <xs:enumeration value="ATG" />
      <xs:enumeration value="ARM" />
      <xs:enumeration value="AUS" />
      <xs:enumeration value="AUT" />
      <xs:enumeration value="AZE" />
      <xs:enumeration value="BHS" />
      <xs:enumeration value="BHR" />
      <xs:enumeration value="BGD" />
      <xs:enumeration value="BRB" />
      <xs:enumeration value="BLR" />
      <xs:enumeration value="BEL" />
      <xs:enumeration value="BLZ" />
      <xs:enumeration value="BEN" />
      <xs:enumeration value="BTN" />
      <xs:enumeration value="BOL" />
      <xs:enumeration value="BIH" />
      <xs:enumeration value="BWA" />
      <xs:enumeration value="BRN" />
      <xs:enumeration value="BGR" />
      <xs:enumeration value="BFA" />
      <xs:enumeration value="BDI" />
      <xs:enumeration value="CPV" />
      <xs:enumeration value="KHM" />
      <xs:enumeration value="CMR" />
      <xs:enumeration value="CAN" />
      <xs:enumeration value="CAF" />
      <xs:enumeration value="TCD" />
      <xs:enumeration value="CHN" />
      <xs:enumeration value="COM" />
      <xs:enumeration value="COG" />
      <xs:enumeration value="CIV" />
      <xs:enumeration value="HRV" />
      <xs:enumeration value="CUB" />
      <xs:enumeration value="CYP" />
      <xs:enumeration value="CZE" />
      <xs:enumeration value="DNK" />
      <xs:enumeration value="DJI" />
      <xs:enumeration value="DMA" />
      <xs:enumeration value="TLS" />
      <xs:enumeration value="EGY" />
      <xs:enumeration value="GNQ" />
      <xs:enumeration value="ERI" />
      <xs:enumeration value="EST" />
      <xs:enumeration value="ETH" />
      <xs:enumeration value="FJI" />
      <xs:enumeration value="FIN" />
      <xs:enumeration value="FRA" />
      <xs:enumeration value="GAB" />
      <xs:enumeration value="GMB" />
      <xs:enumeration value="GEO" />
      <xs:enumeration value="DEU" />
      <xs:enumeration value="GHA" />
      <xs:enumeration value="GRC" />
      <xs:enumeration value="GRD" />
      <xs:enumeration value="GIN" />
      <xs:enumeration value="GNB" />
      <xs:enumeration value="GUY" />
      <xs:enumeration value="HTI" />
      <xs:enumeration value="HUN" />
      <xs:enumeration value="ISL" />
      <xs:enumeration value="IND" />
      <xs:enumeration value="IDN" />
      <xs:enumeration value="IRN" />
      <xs:enumeration value="IRQ" />
      <xs:enumeration value="IRL" />
      <xs:enumeration value="ISR" />
      <xs:enumeration value="ITA" />
      <xs:enumeration value="JAM" />
      <xs:enumeration value="JPN" />
      <xs:enumeration value="JOR" />
      <xs:enumeration value="KAZ" />
      <xs:enumeration value="KEN" />
      <xs:enumeration value="KIR" />
      <xs:enumeration value="PRK" />
      <xs:enumeration value="KOR" />
      <xs:enumeration value="KWT" />
      <xs:enumeration value="KGZ" />
      <xs:enumeration value="LAO" />
      <xs:enumeration value="LVA" />
      <xs:enumeration value="LBN" />
      <xs:enumeration value="LSO" />
      <xs:enumeration value="LBR" />
      <xs:enumeration value="LBY" />
      <xs:enumeration value="LIE" />
      <xs:enumeration value="LTU" />
      <xs:enumeration value="LUX" />
      <xs:enumeration value="MDG" />
      <xs:enumeration value="MWI" />
      <xs:enumeration value="MYS" />
      <xs:enumeration value="MDV" />
      <xs:enumeration value="MLI" />
      <xs:enumeration value="MLT" />
      <xs:enumeration value="MHL" />
      <xs:enumeration value="MRT" />
      <xs:enumeration value="MUS" />
      <xs:enumeration value="FSM" />
      <xs:enumeration value="MDA" />
      <xs:enumeration value="MCO" />
      <xs:enumeration value="MNG" />
      <xs:enumeration value="MNE" />
      <xs:enumeration value="MAR" />
      <xs:enumeration value="MOZ" />
      <xs:enumeration value="MMR" />
      <xs:enumeration value="NAM" />
      <xs:enumeration value="NRU" />
      <xs:enumeration value="NPL" />
      <xs:enumeration value="NLD" />
      <xs:enumeration value="NZL" />
      <xs:enumeration value="NIC" />
      <xs:enumeration value="NER" />
      <xs:enumeration value="NGA" />
      <xs:enumeration value="MKD" />
      <xs:enumeration value="NOR" />
      <xs:enumeration value="OMN" />
      <xs:enumeration value="PAK" />
      <xs:enumeration value="PLW" />
      <xs:enumeration value="PNG" />
      <xs:enumeration value="PRY" />
      <xs:enumeration value="PHL" />
      <xs:enumeration value="POL" />
      <xs:enumeration value="PRT" />
      <xs:enumeration value="QAT" />
      <xs:enumeration value="ROU" />
      <xs:enumeration value="RUS" />
      <xs:enumeration value="RWA" />
      <xs:enumeration value="KNA" />
      <xs:enumeration value="LCA" />
      <xs:enumeration value="VCT" />
      <xs:enumeration value="WSM" />
      <xs:enumeration value="SMR" />
      <xs:enumeration value="STP" />
      <xs:enumeration value="SAU" />
      <xs:enumeration value="SEN" />
      <xs:enumeration value="SRB" />
      <xs:enumeration value="SYC" />
      <xs:enumeration value="SLE" />
      <xs:enumeration value="SGP" />
      <xs:enumeration value="SVK" />
      <xs:enumeration value="SVN" />
      <xs:enumeration value="SLB" />
      <xs:enumeration value="SOM" />
      <xs:enumeration value="ZAF" />
      <xs:enumeration value="SSD" />
      <xs:enumeration value="ESP" />
      <xs:enumeration value="LKA" />
      <xs:enumeration value="SDN" />
      <xs:enumeration value="SUR" />
      <xs:enumeration value="SWZ" />
      <xs:enumeration value="SWE" />
      <xs:enumeration value="CHE" />
      <xs:enumeration value="SYR" />
      <xs:enumeration value="TWN" />
      <xs:enumeration value="TJK" />
      <xs:enumeration value="TZA" />
      <xs:enumeration value="THA" />
      <xs:enumeration value="TGO" />
      <xs:enumeration value="TON" />
      <xs:enumeration value="TTO" />
      <xs:enumeration value="TUN" />
      <xs:enumeration value="TUR" />
      <xs:enumeration value="TKM" />
      <xs:enumeration value="TUV" />
      <xs:enumeration value="UGA" />
      <xs:enumeration value="UKR" />
      <xs:enumeration value="ARE" />
      <xs:enumeration value="GBR" />
      <xs:enumeration value="USA" />
      <xs:enumeration value="URY" />
      <xs:enumeration value="UZB" />
      <xs:enumeration value="VUT" />
      <xs:enumeration value="VNM" />
      <xs:enumeration value="YEM" />
      <xs:enumeration value="ZMB" />
      <xs:enumeration value="ZWE" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="SearchCountrys" nillable="true" type="tns:SearchCountrys" />
  <xs:complexType name="VisorjudicialBatchNormativo">
    <xs:sequence>
      <xs:element minOccurs="0" name="ApiCode" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="VisorjudicialBatchNormativo" nillable="true" type="tns:VisorjudicialBatchNormativo" />
  <xs:complexType name="vjCheckStatusBatchNormativo">
    <xs:sequence>
      <xs:element minOccurs="0" name="ApiCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="BatchID" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="vjCheckStatusBatchNormativo" nillable="true" type="tns:vjCheckStatusBatchNormativo" />
  <xs:complexType name="vjGetDataBatchNormativo">
    <xs:sequence>
      <xs:element minOccurs="0" name="ApiCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="BatchID" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="vjGetDataBatchNormativo" nillable="true" type="tns:vjGetDataBatchNormativo" />
  <xs:complexType name="BackgroundchekSeach">
    <xs:sequence>
      <xs:element minOccurs="0" name="ApiCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Country" type="tns:SearchCountrys" />
      <xs:element minOccurs="0" name="DocumentType" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NombreTitular" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Query" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Version" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="BackgroundchekSeach" nillable="true" type="tns:BackgroundchekSeach" />
  <xs:complexType name="GetDocumentTypes">
    <xs:sequence>
      <xs:element minOccurs="0" name="Lang" type="tns:Languages" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="GetDocumentTypes" nillable="true" type="tns:GetDocumentTypes" />
  <xs:complexType name="GenerarPdf">
    <xs:sequence>
      <xs:element minOccurs="0" name="Certificado" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="GenerarPdf" nillable="true" type="tns:GenerarPdf" />
  <xs:complexType name="laftValidation">
    <xs:sequence>
      <xs:element minOccurs="0" name="CountryISO3" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CustomerApiCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Document" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DocumentType" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="FullName" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="laftValidation" nillable="true" type="tns:laftValidation" />
  <xs:complexType name="CountriesList">
    <xs:sequence>
      <xs:element minOccurs="0" name="ValidCountries" nillable="true" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q1:ArrayOfstring" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CountriesList" nillable="true" type="tns:CountriesList" />
  <xs:complexType name="FoundNames">
    <xs:sequence>
      <xs:element minOccurs="0" name="NamesList" nillable="true" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q2:ArrayOfstring" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="FoundNames" nillable="true" type="tns:FoundNames" />
  <xs:complexType name="ArrayOfBackgroundchekReport">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="BackgroundchekReport" nillable="true" type="tns:BackgroundchekReport" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfBackgroundchekReport" nillable="true" type="tns:ArrayOfBackgroundchekReport" />
  <xs:complexType name="BackgroundchekReport">
    <xs:sequence>
      <xs:element minOccurs="0" name="AlertsCounter" type="xs:int" />
      <xs:element minOccurs="0" name="DocumentNumber" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Errors" nillable="true" type="tns:ArrayOfBackgroundchekReport.Error" />
      <xs:element minOccurs="0" name="FullName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Groups" nillable="true" type="tns:ArrayOfBackgroundchekReport.DataGroup" />
      <xs:element minOccurs="0" name="MaxRiskPoints" type="xs:int" />
      <xs:element minOccurs="0" name="ReportDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="ReportID" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Resume" nillable="true" xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q3:ArrayOfstring" />
      <xs:element minOccurs="0" name="SearchData" nillable="true" type="tns:BackgroundchekSeach" />
      <xs:element minOccurs="0" name="SearchStatus" type="tns:BackgroundchekReport.QueryStatus" />
      <xs:element minOccurs="0" name="ShowRiskMeter" type="xs:boolean" />
      <xs:element minOccurs="0" name="baseName" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="BackgroundchekReport" nillable="true" type="tns:BackgroundchekReport" />
  <xs:complexType name="ArrayOfBackgroundchekReport.Error">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="BackgroundchekReport.Error" nillable="true" type="tns:BackgroundchekReport.Error" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfBackgroundchekReport.Error" nillable="true" type="tns:ArrayOfBackgroundchekReport.Error" />
  <xs:complexType name="BackgroundchekReport.Error">
    <xs:sequence>
      <xs:element minOccurs="0" name="Code" type="xs:int" />
      <xs:element minOccurs="0" name="ErrorSeverity" type="tns:BackgroundchekReport.Severity" />
      <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Source" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="BackgroundchekReport.Error" nillable="true" type="tns:BackgroundchekReport.Error" />
  <xs:simpleType name="BackgroundchekReport.Severity">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Success" />
      <xs:enumeration value="Info" />
      <xs:enumeration value="Warning" />
      <xs:enumeration value="Error" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="BackgroundchekReport.Severity" nillable="true" type="tns:BackgroundchekReport.Severity" />
  <xs:complexType name="ArrayOfBackgroundchekReport.DataGroup">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="BackgroundchekReport.DataGroup" nillable="true" type="tns:BackgroundchekReport.DataGroup" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfBackgroundchekReport.DataGroup" nillable="true" type="tns:ArrayOfBackgroundchekReport.DataGroup" />
  <xs:complexType name="BackgroundchekReport.DataGroup">
    <xs:sequence>
      <xs:element minOccurs="0" name="ConCoincidencias" type="xs:boolean" />
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Errors" nillable="true" type="tns:ArrayOfBackgroundchekReport.Error" />
      <xs:element minOccurs="0" name="Id" type="xs:int" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NotFoundMessage" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ParentGroupID" type="xs:int" />
      <xs:element minOccurs="0" name="RealPoints" type="xs:int" />
      <xs:element minOccurs="0" name="Records" nillable="true" type="tns:ArrayOfBackgroundchekReport.Record" />
      <xs:element minOccurs="0" name="RiskPointsFound" type="xs:int" />
      <xs:element minOccurs="0" name="RiskPointsNotFound" type="xs:int" />
      <xs:element minOccurs="0" name="SubGroups" nillable="true" type="tns:ArrayOfBackgroundchekReport.DataGroup" />
      <xs:element minOccurs="0" name="ValidationGroup" type="xs:boolean" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="BackgroundchekReport.DataGroup" nillable="true" type="tns:BackgroundchekReport.DataGroup" />
  <xs:complexType name="ArrayOfBackgroundchekReport.Record">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="BackgroundchekReport.Record" nillable="true" type="tns:BackgroundchekReport.Record" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfBackgroundchekReport.Record" nillable="true" type="tns:ArrayOfBackgroundchekReport.Record" />
  <xs:complexType name="BackgroundchekReport.Record">
    <xs:sequence>
      <xs:element minOccurs="0" name="FilterEvaluationResult" nillable="true" type="tns:BackgroundchekReport.FilterEvaluationResults" />
      <xs:element minOccurs="0" name="Values" nillable="true" type="tns:ArrayOfBackgroundchekReport.DataValue" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="BackgroundchekReport.Record" nillable="true" type="tns:BackgroundchekReport.Record" />
  <xs:complexType name="BackgroundchekReport.FilterEvaluationResults">
    <xs:sequence>
      <xs:element minOccurs="0" name="Matched" type="xs:boolean" />
      <xs:element minOccurs="0" name="MatchedExcerpt" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="MatchedRule" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="BackgroundchekReport.FilterEvaluationResults" nillable="true" type="tns:BackgroundchekReport.FilterEvaluationResults" />
  <xs:complexType name="ArrayOfBackgroundchekReport.DataValue">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="BackgroundchekReport.DataValue" nillable="true" type="tns:BackgroundchekReport.DataValue" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfBackgroundchekReport.DataValue" nillable="true" type="tns:ArrayOfBackgroundchekReport.DataValue" />
  <xs:complexType name="BackgroundchekReport.DataValue">
    <xs:sequence>
      <xs:element minOccurs="0" name="DataType" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Order" type="xs:int" />
      <xs:element minOccurs="0" name="Tooltip" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Value" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="BackgroundchekReport.DataValue" nillable="true" type="tns:BackgroundchekReport.DataValue" />
  <xs:simpleType name="BackgroundchekReport.QueryStatus">
    <xs:restriction base="xs:string">
      <xs:enumeration value="ok" />
      <xs:enumeration value="fail" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="BackgroundchekReport.QueryStatus" nillable="true" type="tns:BackgroundchekReport.QueryStatus" />
  <xs:complexType name="ArrayOfDocumentType">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="DocumentType" nillable="true" type="tns:DocumentType" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfDocumentType" nillable="true" type="tns:ArrayOfDocumentType" />
  <xs:complexType name="DocumentType">
    <xs:sequence>
      <xs:element minOccurs="0" name="Country" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DocumentTypeCode" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DocumentType" nillable="true" type="tns:DocumentType" />
  <xs:complexType name="laftValidationResult">
    <xs:sequence>
      <xs:element minOccurs="0" name="Error" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="HasSuspectedLaftCases" type="xs:boolean" />
      <xs:element minOccurs="0" name="ProcessDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="SearchData" nillable="true" type="tns:laftValidation" />
      <xs:element minOccurs="0" name="SuspectedLaftCaseSources" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="laftValidationResult" nillable="true" type="tns:laftValidationResult" />
</xs:schema>