W3C

Origo-RetrieveDocumentationRequest

The document saved/private/Origo/RetrieveDocumentationRequest.xsd has been classified as being possibly an Advanced XML Schema Patterns for Databinding 1.0 conformant document as it only exhibits the following patterns:

Status Nodes Name XPath
basic TargetNamespace .[@targetNamespace]/ (., @targetNamespace)
basic QualifiedLocalElements .[@elementFormDefault = 'qualified']/ (@elementFormDefault)
advanced QualifiedLocalAttributes .[@attributeFormDefault = 'qualified']/ (@attributeFormDefault)
basic SchemaVersion ./@version
basic DocumentationElement .//xs:annotation/xs:documentation/ (.., ., .//*, .//@*)
basic IdentifierName .//.[matches(@name, "^[A-Za-z_]([A-Za-z0-9_]0 31)$")]/ (@name)
basic NonIdentifierName .//.[@name and not(matches(@name, "^[A-Za-z_]([A-Za-z0-9_]0 31)$"))]/ (@name)
basic GlobalElement ./xs:element[@name and @type and contains(@type, ':')]/ (., @name, @type)
basic ElementMinOccurs0 .//xs:element[@minOccurs = '0' and (not(@maxOccurs) or @maxOccurs = '1')]/ (@minOccurs, @maxOccurs)
basic ElementMinOccurs1MaxOccursUnbounded .//xs:element[(not(@minOccurs) or @minOccurs = '1') and @maxOccurs = 'unbounded']/ (@minOccurs, @maxOccurs)
basic AttributeOptional .//xs:attribute[@use = 'optional']/ (@use)
basic GlobalSimpleType ./xs:simpleType[@name]/ (., @name)
basic GlobalComplexType ./xs:complexType[@name]/ (., @name)
advanced SimpleTypeEnumerationType .//xs:simpleType/xs:restriction[@base and namespace-uri-from-QName(resolve-QName(@base,.)) != 'http://www.w3.org/2001/XMLSchema' ]/ (., @base, xs:enumeration/(., @value))
advanced ComplexTypeChoice .//xs:complexType/xs:choice/ (., xs:element/(., @name))
basic ComplexTypeAttribute .//xs:complexType/xs:attribute[@name]/ (., @name)
basic ComplexTypeSequence .//xs:complexType/xs:sequence/ (., xs:element/(., @name))
advanced ChoiceElement .//xs:choice/xs:element/(.)
basic SequenceElement .//xs:sequence/xs:element/(.)
basic NillableElement .//xs:element[@nillable = 'true' and not(@minOccurs = '0')]/ (@nillable)
basic ElementTypeReference .//xs:element[@name and @type and namespace-uri-from-QName(resolve-QName(@type,.)) != 'http://www.w3.org/2001/XMLSchema' and contains(@type, ':')]/ (., @name, @type)
advanced IDAttribute .//xs:attribute/@type[resolve-QName(.,..) = xs:QName('xs:ID')]
advanced StringSimpleTypePattern .//xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:string')]/xs:pattern[@value]/ (.., ../@base, ., @value)
advanced RestrictedStringMinLength .//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:string')]/xs:minLength[@value]/ (.., ../@base, ., @value)
advanced RestrictedStringMaxLength .//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:string')]/xs:maxLength[@value]/ (.., ../@base, ., @value)
advanced RestrictedStringMinMaxLength .//xs:simpleType/xs:restriction[@base/resolve-QName(.,..) = xs:QName('xs:string') and xs:minLength/@value and xs:maxLength/@value]/ (., @base, xs:minLength/(., @value), xs:maxLength/(., @value))
advanced RestrictedMaxLength .//xs:simpleType/xs:restriction/xs:maxLength[@value]/(.., ../@base, ., @value)
advanced RestrictedMinLength .//xs:simpleType/xs:restriction/xs:minLength[@value]/(.., ../@base, ., @value)

<xsd:schema TargetNamespace targetNamespace="http://www.origostandards.com/schema/retrievedoc/v1.0/RetrieveDocumentationRequest" TargetNamespace elementFormDefault="qualified" QualifiedLocalElements attributeFormDefault="qualified" QualifiedLocalAttributes version="1.0 Draft C" SchemaVersion >
<xsd:element GlobalElement ElementTypeReference name="retrieve_documentation_request" IdentifierName GlobalElement ElementTypeReference type="rd:RetrieveDocumentationRequest" GlobalElement ElementTypeReference >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
Purpose: Placeholder element for the content of the RetrieveDocumentationRequest.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:simpleType GlobalSimpleType name="DocumentReferenceType" IdentifierName GlobalSimpleType >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
Definition: Enumerated list identifying the type of reference being used to identify a document.
</xsd:documentation>
</xsd:annotation>
<xsd:restriction SimpleTypeEnumerationType base="rd:TypeCode" SimpleTypeEnumerationType >
<xsd:enumeration SimpleTypeEnumerationType value="AIP Reference" SimpleTypeEnumerationType />
<xsd:enumeration SimpleTypeEnumerationType value="Lender Case Reference" SimpleTypeEnumerationType />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType GlobalSimpleType name="DocumentType" IdentifierName GlobalSimpleType >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
Definition: Enumerated list identifying the type of a document being requested or returned in a message.
</xsd:documentation>
</xsd:annotation>
<xsd:restriction SimpleTypeEnumerationType base="rd:TypeCode" SimpleTypeEnumerationType >
<xsd:enumeration SimpleTypeEnumerationType value="AIP Confirmation Letter" SimpleTypeEnumerationType />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType GlobalSimpleType name="FSARefType" IdentifierName GlobalSimpleType >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
Definition: FSA Reference Number. Either a 6 or 7 digit number. Leading zeroes are not expected.
</xsd:documentation>
<xsd:documentation DocumentationElement >
Source info: http://www.fsa.gov.uk/Pages/Doing/Regulated/Returns/psd/technical/index.shtml
</xsd:documentation>
<xsd:documentation DocumentationElement >
Source file: FSAFeedCommon-v1-2.xsd
</xsd:documentation>
<xsd:documentation DocumentationElement >
Source name: FSARefType
</xsd:documentation>
<xsd:documentation DocumentationElement >
Source namespace: http://www.fsa.gov.uk/XMLSchema/FSAFeedCommon-v1-2
</xsd:documentation>
<xsd:documentation DocumentationElement >
Note: By convention, Origo will use the names 'FirmFSARef' or 'PrincipalOrNetworkFSARef' for elements of this type.
</xsd:documentation>
</xsd:annotation>
<xsd:restriction StringSimpleTypePattern base="xsd:string" StringSimpleTypePattern >
<xsd:pattern StringSimpleTypePattern value="[1-9]{1}[0-9]{5,6}" StringSimpleTypePattern />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType GlobalSimpleType name="TypeCode" IdentifierName GlobalSimpleType >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
Definition: A free format code for a given type with up to 50 characters.
</xsd:documentation>
</xsd:annotation>
</xsd:simpleType>
<xsd:complexType GlobalComplexType name="AppointedRepresentative" IdentifierName GlobalComplexType >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
Business Term: Appointed Representative
</xsd:documentation>
<xsd:documentation DocumentationElement >
Definition: A person acting as a Mortgage Intermediary who is not directly regulated by the FSA but who can carry out regulated business via the Principal of an associated regulated firm.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence ComplexTypeSequence >
<xsd:element ComplexTypeSequence SequenceElement ElementTypeReference name="agency_code" IdentifierName ComplexTypeSequence ElementTypeReference type="rd:AlphaNumber" ElementTypeReference minOccurs="0" ElementMinOccurs0 >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
Business Term: Agency Code
</xsd:documentation>
<xsd:documentation DocumentationElement >
Definition: A code, prescribed by the Lender, which can be used to identify the Mortgage Intermediary and may also identify any Third Party involved in the Mortgage sale and the commission rate.
</xsd:documentation>
<xsd:documentation DocumentationElement >
Purpose: Used by the Lender to identify the Mortgage Intermediary requesting a check. It may also aid identification of any associated Third Parties. It may be supplied in addition to the FSA Ref.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ComplexTypeSequence SequenceElement ElementTypeReference name="FirmFSARef" IdentifierName ComplexTypeSequence ElementTypeReference type="rd:FSARefType" ElementTypeReference >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
Business Term: Firm FSA Reference
</xsd:documentation>
<xsd:documentation DocumentationElement >
Definition: A number given by the UK FSA which identifies a firm that has registered with the UK FSA.
</xsd:documentation>
<xsd:documentation DocumentationElement >
Purpose: Used by the Lender to identify the Mortgage Intermediary.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ComplexTypeSequence SequenceElement ElementTypeReference name="PrincipalOrNetworkFSARef" IdentifierName ComplexTypeSequence ElementTypeReference type="rd:FSARefType" ElementTypeReference nillable="true" NillableElement >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
Business Term: Principal Firm FSA Reference
</xsd:documentation>
<xsd:documentation DocumentationElement >
Definition: A number given by the UK FSA which uniquely identifies a principal firm or network.
</xsd:documentation>
<xsd:documentation DocumentationElement >
Purpose: Used in conjunction with the Appointed Rep's FSA ref to identify the associated Network.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType GlobalComplexType name="DirectlyAuthorised" IdentifierName GlobalComplexType >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
Business Term: Directly Authorised
</xsd:documentation>
<xsd:documentation DocumentationElement >
Definition: A person acting as a Mortgage Intermediary who works for a firm that is regulated by the FSA and that is also authorised to conduct mortgage business in accordance with UK FSA legislation.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence ComplexTypeSequence >
<xsd:element ComplexTypeSequence SequenceElement ElementTypeReference name="agency_code" IdentifierName ComplexTypeSequence ElementTypeReference type="rd:AlphaNumber" ElementTypeReference minOccurs="0" ElementMinOccurs0 >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
Business Term: Agency Code
</xsd:documentation>
<xsd:documentation DocumentationElement >
Definition: A code, prescribed by the Lender, which can be used to identify the Mortgage Intermediary and may also identify any Third Party involved in the Mortgage sale and the commission rate.
</xsd:documentation>
<xsd:documentation DocumentationElement >
Purpose: Used by the Lender to identify the Mortgage Intermediary requesting a check. It may also aid identification of any associated Third Parties. May be supplied in addition to the FSA Ref.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ComplexTypeSequence SequenceElement ElementTypeReference name="FirmFSARef" IdentifierName ComplexTypeSequence ElementTypeReference type="rd:FSARefType" ElementTypeReference >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
Business Term: Firm FSA Reference
</xsd:documentation>
<xsd:documentation DocumentationElement >
Definition: A number given by the UK FSA which identifies a firm that has registered with the UK FSA.
</xsd:documentation>
<xsd:documentation DocumentationElement >
Purpose: Used by the Lender to identify the Mortgage Intermediary.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType GlobalComplexType name="DocumentReferenceDetails" IdentifierName GlobalComplexType >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
Definition: Reference details which will be used to identify a document passed in a RetrieveDocumentation message.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence ComplexTypeSequence >
<xsd:element ComplexTypeSequence SequenceElement ElementTypeReference name="document_reference" IdentifierName ComplexTypeSequence ElementTypeReference type="rd:AlphaNumber" ElementTypeReference >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
Definition: The identifier of a document passed in a RetrieveDocumentation message.
</xsd:documentation>
<xsd:documentation DocumentationElement >
Purpose: Identifier of the document being requested.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ComplexTypeSequence SequenceElement ElementTypeReference name="document_reference_type" IdentifierName ComplexTypeSequence ElementTypeReference type="rd:DocumentReferenceType" ElementTypeReference >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
Definition: Enumerated list identifying the type of reference being used to identify a document.
</xsd:documentation>
<xsd:documentation DocumentationElement >
Purpose: Used in conjunction with a Document Reference, this identifies the type of reference being supplied in a request for documentation in order that the recipient can locate the correct reference and associated document.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType GlobalComplexType name="MortgageIntermediaryAuthorisation" NonIdentifierName GlobalComplexType >
<xsd:choice ComplexTypeChoice >
<xsd:element ComplexTypeChoice ChoiceElement ElementTypeReference name="appointed_representative" IdentifierName ComplexTypeChoice ElementTypeReference type="rd:AppointedRepresentative" ElementTypeReference >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
Business Term: Appointed Representative
</xsd:documentation>
<xsd:documentation DocumentationElement >
Definition: A person acting as a Mortgage Intermediary who is not directly regulated by the FSA but who can carry out regulated business via the Principal of an associated regulated firm.
</xsd:documentation>
<xsd:documentation DocumentationElement >
Purpose: Set of details to be used to identify an Appointed Representative.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ComplexTypeChoice ChoiceElement ElementTypeReference name="directly_authorised" IdentifierName ComplexTypeChoice ElementTypeReference type="rd:DirectlyAuthorised" ElementTypeReference >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
Business Term: Directly Authorised
</xsd:documentation>
<xsd:documentation DocumentationElement >
Definition: A person acting as a Mortgage Intermediary who works for a firm that is regulated by the FSA and that is also authorised to conduct mortgage business in accordance with UK FSA legislation.
</xsd:documentation>
<xsd:documentation DocumentationElement >
Purpose: Set of details to be used to identify a Directly Authorised Mortgage Intermediary.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:choice>
</xsd:complexType>
<xsd:complexType GlobalComplexType name="RetrieveDocumentationRequest" IdentifierName GlobalComplexType >
<xsd:sequence ComplexTypeSequence >
<xsd:element ComplexTypeSequence SequenceElement ElementTypeReference name="mi_authorisation" IdentifierName ComplexTypeSequence ElementTypeReference type="rd:MortgageIntermediaryAuthorisation" ElementTypeReference >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
Purpose: Placeholder element for data required to check that the Mortgage Intermediary is authorised to request this service.
</xsd:documentation>
<xsd:documentation DocumentationElement >
Note: The Lender must verify that the MI has the appropriate authorisation to retrieve the requested documentation.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ComplexTypeSequence SequenceElement ElementTypeReference name="document_type" IdentifierName ComplexTypeSequence ElementTypeReference type="rd:DocumentType" ElementTypeReference >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
Definition: Enumerated list identifying the type of a document being requested or returned in a message.
</xsd:documentation>
<xsd:documentation DocumentationElement >
Purpose: Identifies the type of document being requested.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ComplexTypeSequence SequenceElement ElementTypeReference name="document_reference_details" IdentifierName ComplexTypeSequence ElementTypeReference type="rd:DocumentReferenceDetails" ElementTypeReference maxOccurs="unbounded" ElementMinOccurs1MaxOccursUnbounded >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
Definition: Reference details which will be used to identify a document passed in a RetrieveDocumentation message.
</xsd:documentation>
<xsd:documentation DocumentationElement >
Purpose: Reference details which will be used by the recipient to identify the document requested.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute ComplexTypeAttribute name="id" IdentifierName ComplexTypeAttribute type="xsd:ID" IDAttribute use="optional" AttributeOptional >
<xsd:annotation DocumentationElement >
<xsd:documentation DocumentationElement >
Technical Term: Message Content Identifier
</xsd:documentation>
<xsd:documentation DocumentationElement >
Definition: The identifier of a Request or of a Response message.
</xsd:documentation>
<xsd:documentation DocumentationElement >
Purpose: To electronically identify a message.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:schema>

This document was produced by the W3C XML Schema Patterns for Databinding Working Group. Comments on this document may be sent to the public public-xsd-databinding-comments@w3.org mailing list (public archive).