Files
monorepo/LCU.API.Internal.OnlineLoanApp/CRIF.ACTion.Tests/XSDs/actionAPIResponse.xsd
T
2026-03-11 11:18:25 -05:00

278 lines
20 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msg="Messages" xmlns:app="App" xmlns:common="Common">
<xs:import namespace="Messages" schemaLocation=".\msgSchema.xsd"/>
<xs:import namespace="App" schemaLocation=".\AppSchema.xsd"/>
<xs:import namespace="Common" schemaLocation=".\CommonSchema.xsd"/>
<xs:complexType name="ActionAPI">
<xs:complexContent>
<xs:extension base="ErrorResponse">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="createApp" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateApp" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addAppNote" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateAppNote" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="sendToDecisioning" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addApplicant" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addIndividualApplicant" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addCompanyApplicant" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateApplicant" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateIndividualApplicant" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateCompanyApplicant" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addAppProduct" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateAppProduct" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addCollateral" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateCollateral" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addAppDetailStipulation" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateAppDetailStipulation" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addAppFiles" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getAppFiles" type="AppExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="searchIndividual" type="IndividualSearchResponse" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="searchCompany" type="CompanySearchResponse" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getIndividual" type="MaintExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getAccountSetupApplicant" type="AppExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getCompany" type="MaintExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getApplication" type="AppExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getLookupCodes" type="MaintExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getChannels" type="MaintExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getProducts" type="MaintExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getAllQueue" type="MaintExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getReasons" type="MaintExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getAllDeclineReasons" type="MaintExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getStipulations" type="MaintExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getCustomFields" type="MaintExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getCreditHistory" type="CreditHistoryResponse" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="generateDocumentSet" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getDocumentList" type="AppExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getFile" type="MaintExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="searchApplication" type="AppSearchResponse" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getCarletonDocSets" type="AppExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addLoanPurpose" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateLoanPurpose" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addIndividual" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateIndividual" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addApplicantAddress" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateApplicantAddress" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addApplicantContactInfo" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateApplicantContactInfo" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addApplicantIdentification" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateApplicantIdentification" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addApplicantEmployment" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateApplicantEmployment" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addApplicantIncome" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateApplicantIncome" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addApplicantDepositAccount" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateApplicantDepositAccount" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addVehicleCollateral" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateVehicleCollateral" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addBoatCollateral" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateBoatCollateral" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addMotorCollateral" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateMotorCollateral" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addTrailerCollateral" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateTrailerCollateral" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addRVCollateral" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateRVCollateral" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addCDCollateral" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateCDCollateral" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addRealEstateCollateral" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateRealEstateCollateral" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addLienHolderCollateral" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateLienHolderCollateral" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addInsuranceCollateral" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateInsuranceCollateral" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addHMDAInfo" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateHMDAInfo" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addRefinanceInfo" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateRefinanceInfo" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateApplicantCustomerID" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateLoanAccountNumber" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getApplicantAddress" type="AppExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getAppDetail" type="AppExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getApplicantFinancialStatement" type="AppExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getApplicantTrade" type="AppExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getApplicantIdentification" type="AppExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getApplicantReference" type="AppExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getApplicantPrincipal" type="AppExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getApplicantIncome" type="AppExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getApplicantDepositAccount" type="AppExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateApplicantCustomField" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateProductCustomField" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updatePropertyCustomField" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getApplicantCreditHistory" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getVendors" type="MaintExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getApplicantScore" type="AppExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getAddOnQuoteBorrowerInformation" type="AppExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getAddOnQuoteCollateralInformation" type="AppExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getAddOnQuoteProductInformation" type="AppExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateAppDetailAddOnQuoteDetails" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getSettlementServiceCollateral" type="AppExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getSettlementServiceApplicant" type="AppExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getSettlementServiceVendors" type="MaintExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getSettlementServiceTypes" type="MaintExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getSettlementServiceForms" type="MaintExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getSettlementServiceAppDetail" type="AppExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getSettlementServiceRequest" type="AppExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addSettlementServiceRequest" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateAppraisalServiceRequest" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateFloodServiceRequest" type="ApiAppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateTitleServiceRequest" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addPropertyTitleException" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updatePropertyTitleException" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="deletePropertyTitleException" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addPropertyTitleName" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updatePropertyTitleName" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="deletePropertyTitleName" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="addPropertyTrusteeName" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updatePropertyTrusteeName" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="deletePropertyTrusteeName" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="cancelApplicationProduct" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="withdrawApplicationProduct" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="approveApplicationProduct" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="reviewApplicationProduct" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="counterofferApplicationProduct" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="declineApplicationProduct" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getAddOnQuoteApplicant" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getAddOnQuoteCollateral" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getAddOnQuoteAppDetail" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="updateAddOnQuoteAppDetail" type="ApiAppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getCurrentQueue" type="AppExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="changeQueue" type="AppImport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getDecisionStatus" type="AppExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getApplicationProducts" type="AppExport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="getApplicantCustomField" type="AppExport" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
<xs:attribute name="version" type="xs:int" default="1"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="ErrorResponse">
<xs:choice maxOccurs="1" minOccurs="0">
<xs:element name="errors">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="error"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:complexType name="AppImport">
<xs:complexContent>
<xs:extension base="ErrorResponse">
<xs:choice maxOccurs="1" minOccurs="1">
<xs:element ref="msg:appImportResponse"></xs:element>
</xs:choice>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="ApiAppImport">
<xs:complexContent>
<xs:extension base="ErrorResponse">
<xs:choice maxOccurs="1" minOccurs="1">
<xs:element ref="msg:apiAppImportResponse"></xs:element>
</xs:choice>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="AppExport">
<xs:complexContent>
<xs:extension base="ErrorResponse">
<xs:choice maxOccurs="1" minOccurs="1">
<xs:element ref="msg:appExportResponse"></xs:element>
</xs:choice>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="MaintExport">
<xs:complexContent>
<xs:extension base="ErrorResponse">
<xs:choice maxOccurs="1" minOccurs="1">
<xs:element ref="msg:maintExportResponse"></xs:element>
</xs:choice>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="AppSearchResponse">
<xs:complexContent>
<xs:extension base="ErrorResponse">
<xs:choice maxOccurs="1" minOccurs="1">
<xs:element ref="msg:appSearchResponse"></xs:element>
</xs:choice>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="IndividualSearchResponse">
<xs:complexContent>
<xs:extension base="ErrorResponse">
<xs:sequence maxOccurs="1" minOccurs="0">
<xs:element name="individualSearchResults">
<xs:complexType>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element name="individualResult">
<xs:complexType>
<xs:attribute name="partyID" type="xs:int"/>
<xs:attribute name="beginDate" type="xs:dateTime"/>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="ssn" type="xs:string"/>
<xs:attribute name="customerNumber" type="xs:string"/>
<xs:attribute name="dob" type="xs:dateTime"/>
<xs:attribute name="street1" type="xs:string"/>
<xs:attribute name="street2" type="xs:string"/>
<xs:attribute name="cityName" type="xs:string"/>
<xs:attribute name="stateAbbreviation" type="xs:string"/>
<xs:attribute name="postalCode" type="xs:string"/>
<xs:attribute name="zipExt" type="xs:string"/>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="CompanySearchResponse">
<xs:complexContent>
<xs:extension base="ErrorResponse">
<xs:sequence maxOccurs="1" minOccurs="0">
<xs:element name="companySearchResults">
<xs:complexType>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element name="companyResult">
<xs:complexType>
<xs:attribute name="partyID" type="xs:int"/>
<xs:attribute name="beginDate" type="xs:dateTime"/>
<xs:attribute name="tradeName" type="xs:string"/>
<xs:attribute name="tin" type="xs:string"/>
<xs:attribute name="customerNumber" type="xs:string"/>
<xs:attribute name="establishedDate" type="xs:dateTime"/>
<xs:attribute name="street1" type="xs:string"/>
<xs:attribute name="street2" type="xs:string"/>
<xs:attribute name="cityName" type="xs:string"/>
<xs:attribute name="stateAbbreviation" type="xs:string"/>
<xs:attribute name="postalCode" type="xs:string"/>
<xs:attribute name="zipExt" type="xs:string"/>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="CreditHistoryResponse">
<xs:complexContent>
<xs:extension base="ErrorResponse">
<xs:sequence maxOccurs="1" minOccurs="0">
<xs:element name="creditHistoryResult">
<xs:complexType>
<xs:attribute name="creditFile" type="xs:string"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="actionAPI" type="ActionAPI"/>
</xs:schema>