Skip to content

Commit

Permalink
feat: added files for ERRU version 3.4 VOL-5800 (#504)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilindsay authored Dec 13, 2024
1 parent c50c3ef commit a3bdc1b
Show file tree
Hide file tree
Showing 19 changed files with 2,901 additions and 0 deletions.
52 changes: 52 additions & 0 deletions app/api/module/Api/data/nr/xsd/3.4/CheckGoodRepute_Request.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns="https://webgate.ec.testa.eu/move-hub/erru/3.4" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="https://webgate.ec.testa.eu/move-hub/erru/3.4" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="CheckGoodRepute_Types.xsd"/>
<xs:element name="CheckGoodRepute_Request">
<xs:annotation>
<xs:documentation>The Check Good Repute workflow enables a competent authority in one country, prior to issuing a certificate of professional competence, to search the transport undertaking register register in all other countries for transport managers that may have already been issued a certificate of professional competence.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Header" type="globalHeaderType"/>
<xs:element name="Body">
<xs:complexType>
<xs:complexContent>
<xs:extension base="globalBodyRequestType">
<xs:sequence>
<xs:element name="SearchedTransportManager">
<xs:annotation>
<xs:documentation>An authorised administration supplies either or both the name of the transport manager and the existing certificate of professional competence that the responding member states must search for in their register of transport undertakings.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice>
<xs:sequence>
<xs:element name="TransportManagerNameDetails" type="cgrTransportManagerSearchType">
<xs:annotation>
<xs:documentation>The name of the transport manager requested in the search.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TransportManagerCertificateDetails" type="globalCertificateDetailsType" minOccurs="0">
<xs:annotation>
<xs:documentation>The certificate of professional competence of the transport manager requested in the search.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:sequence>
<xs:element name="TransportManagerCertificateDetails" type="globalCertificateDetailsType">
<xs:annotation>
<xs:documentation>The certificate of professional competence of the transport manager requested in the search.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
137 changes: 137 additions & 0 deletions app/api/module/Api/data/nr/xsd/3.4/CheckGoodRepute_Response.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns="https://webgate.ec.testa.eu/move-hub/erru/3.4" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="https://webgate.ec.testa.eu/move-hub/erru/3.4" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="CheckGoodRepute_Types.xsd"/>
<xs:element name="CheckGoodRepute_Response">
<xs:annotation>
<xs:documentation>The Check Good Repute workflow enables a competent authority in one member state, prior to issuing a certificate of professional competence, to search the transport undertaking register in all other member states for transport managers that may have already been issued a certificate of professional competence.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Header" type="globalHeaderType"/>
<xs:element name="Body">
<xs:complexType>
<xs:complexContent>
<xs:extension base="globalBodyBroadcastResponseType">
<xs:sequence>
<xs:element name="SearchedTransportManager">
<xs:annotation>
<xs:documentation>An authorised administration supplies either or both the name of the transport manager and the existing certificate of professional competence that the responding member states must search for in their register of transport undertakings.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice>
<xs:sequence>
<xs:element name="TransportManagerNameDetails" type="cgrTransportManagerSearchType">
<xs:annotation>
<xs:documentation>The name of the transport manager requested in the search.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TransportManagerCertificateDetails" type="globalCertificateDetailsType" minOccurs="0">
<xs:annotation>
<xs:documentation>The certificate of professional competence of the transport manager requested in the search.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:sequence>
<xs:element name="TransportManagerCertificateDetails" type="globalCertificateDetailsType">
<xs:annotation>
<xs:documentation>The certificate of professional competence of the transport manager requested in the search.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="MemberState" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The country code of the Member State responding to the Check Good Repute search request.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="cgrMemberStateType">
<xs:sequence>
<xs:element name="TransportManagerDetails" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The details of the found transport managers.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="cgrTransportManagerResponseType">
<xs:sequence>
<xs:element name="TransportManagerNameDetails" type="cgrTransportManagerFoundType">
<xs:annotation>
<xs:documentation>The personal details of the found transport manager.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TransportManagerAddressDetails" type="globalAddressDetailsType" minOccurs="0">
<xs:annotation>
<xs:documentation>The address details of the found transport manager.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TransportManagerCertificateDetails">
<xs:annotation>
<xs:documentation>The Certificate of Professional Competence details of the found transport manager.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="globalCertificateDetailsResponseType">
<xs:sequence>
<xs:element name="Fitness" type="globalTransportManagerFitnessType">
<xs:annotation>
<xs:documentation>The fitness details of the found transport manager.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="TransportUndertakings">
<xs:annotation>
<xs:documentation>The details of the transport undertakings manager by the found transport manager.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="cgrTransportUndertakingVehiclesType">
<xs:sequence>
<xs:element name="TransportUndertaking" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The details of each of the transport undertakings manager by the found transport manager.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="globalTransportUndertakingType">
<xs:sequence>
<xs:element name="TransportUndertakingAddress" type="globalAddressDetailsType">
<xs:annotation>
<xs:documentation>The address of the transport undertaking (address, postal code, city, country) as recorded in the register.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
91 changes: 91 additions & 0 deletions app/api/module/Api/data/nr/xsd/3.4/CheckGoodRepute_Types.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="https://webgate.ec.testa.eu/move-hub/erru/3.4" targetNamespace="https://webgate.ec.testa.eu/move-hub/erru/3.4" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="Global_Types.xsd"/>
<xs:complexType name="cgrMemberStateType">
<xs:attribute name="memberStateCode" type="globalMemberStateCodeType" use="required">
<xs:annotation>
<xs:documentation>The country code of the Member State responding to the Check Good Repute request.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="statusCode" type="globalSearchResponseStatusCodeType" use="required">
<xs:annotation>
<xs:documentation>The status code of the Check Good Repute response. One of:
'Found'
'NotFound'
'Timeout'
'NotAvailable'</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="statusMessage" type="globalStatusMessageType" use="optional">
<xs:annotation>
<xs:documentation>An explanatory message (if necessary) adding context to the status code.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="cgrTransportManagerFoundType">
<xs:attributeGroup ref="globalNameGroup"/>
<xs:attribute name="dateOfBirth" type="globalDateType" use="required">
<xs:annotation id="dateOfBirth">
<xs:documentation>The date of birth of the transport manager.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="placeOfBirth" type="globalPlaceOfBirthType" use="optional">
<xs:annotation>
<xs:documentation>The place of birth of the transport manager.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="cgrTransportManagerResponseType">
<xs:attribute name="respondingAuthority" type="globalAuthorityIdentifierType" use="required">
<xs:annotation>
<xs:documentation>The competent authority or administration responding to the search request or notification.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="searchMethod" use="required">
<xs:annotation>
<xs:documentation>The search method used to find this particular transport manager. One of:
'CPC'
'NYSIIS'
'Local'</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="CPC"/>
<xs:enumeration value="NYSIIS"/>
<xs:enumeration value="Local"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="cgrTransportManagerSearchType">
<xs:complexContent>
<xs:extension base="globalSearchNameType">
<xs:sequence>
<xs:element name="TransportManagerAddressDetails" type="globalAddressDetailsType" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="familyNameSearchKey" type="globalNameType" use="optional">
<xs:annotation>
<xs:documentation>The NYSIIS key (of the family name) that must be used for any name searches.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="firstNameSearchKey" type="globalNameType" use="optional">
<xs:annotation>
<xs:documentation>The NYSIIS key (of the first first name) that must be used for any name searches.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="cgrTransportUndertakingVehiclesType">
<xs:attribute name="totalManagedUndertakings" type="xs:nonNegativeInteger" use="required">
<xs:annotation>
<xs:documentation>The total number of transport undertakings managed by the transport manager.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="totalManagedVehicles" type="xs:nonNegativeInteger" use="required">
<xs:annotation>
<xs:documentation>The total number of vehicles (across all managed transport undertakings) managed by the transport manager.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:schema>
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns="https://webgate.ec.testa.eu/move-hub/erru/3.4" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="https://webgate.ec.testa.eu/move-hub/erru/3.4" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="CheckTransportUndertakingData_Types.xsd"/>
<xs:element name="CheckTransportUndertakingData_Request">
<xs:annotation>
<xs:documentation>The Check Transport Undertaking Data workflow enables a competent authority or roadside inspector in one member state to check the status of a transport undertaking registered in another member state.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Header" type="globalHeaderType"/>
<xs:element name="Body">
<xs:complexType>
<xs:complexContent>
<xs:extension base="globalBodyRequestType">
<xs:sequence>
<xs:element name="SearchedCompany" type="ctudSearchedCompanyDataType">
<xs:annotation>
<xs:documentation>An authorised administration supplies the name of the transport manager and / or the serial number of the community licence or certified true copy and / or the vehicle registration number. The responding member state uses these details to search their register of transport undertakings.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns="https://webgate.ec.testa.eu/move-hub/erru/3.4" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="https://webgate.ec.testa.eu/move-hub/erru/3.4" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="CheckTransportUndertakingData_Types.xsd"/>
<xs:element name="CheckTransportUndertakingData_Response">
<xs:annotation>
<xs:documentation>The Check Transport Undertaking Data workflow enables a competent authority or roadside inspector in one member state to check the status of a transport undertaking registered in another member state.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Header" type="globalHeaderType"/>
<xs:element name="Body">
<xs:complexType>
<xs:complexContent>
<xs:extension base="ctudBodyResponseType">
<xs:sequence>
<xs:element name="SearchedCompany" type="ctudSearchedCompanyDataType">
<xs:annotation>
<xs:documentation>The details of the search request are echoed back in the search response. An authorised administration supplies the name of the transport manager and / or the serial number of the community licence or certified true copy and / or the vehicle registration number. The responding member state uses these details to search their register of transport undertakings</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TransportUndertaking" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The details of the transport undertaking that has been found by searching the transport undertaking register using the details supplied in the SearchedCompany element.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="ctudTransportUndertakingType"/>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
Loading

0 comments on commit a3bdc1b

Please sign in to comment.