extranet/library/Giant/wsdl/CreditDataRec/compactdataset-1.0.xsd
2013-11-13 14:10:30 +00:00

128 lines
7.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://services.giant-net.com/schema/services/compactdataset/1.0" xmlns:compact="http://services.giant-net.com/schema/services/compactdataset/1.0" xmlns:cdm="http://services.giant-net.com/schema/cdm/1.0" xmlns:datatypes="http://services.giant-net.com/schema/cdm/datatypes/1.0" xmlns:graydon_be="http://services.giant-net.com/schema/cdm/provider/graydon_be/1.0" xmlns:graydon_nl="http://services.giant-net.com/schema/cdm/provider/graydon_nl/1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://services.giant-net.com/schema/cdm/provider/graydon_nl/1.0" schemaLocation="graydon_nl-1.0.xsd"/>
<xs:import namespace="http://services.giant-net.com/schema/cdm/provider/graydon_be/1.0" schemaLocation="graydon_be-1.0.xsd"/>
<xs:import namespace="http://services.giant-net.com/schema/cdm/datatypes/1.0" schemaLocation="datatypes-1.0.xsd"/>
<xs:import namespace="http://services.giant-net.com/schema/cdm/1.0" schemaLocation="cdm-1.0.xsd"/>
<xs:complexType name="CompactDataSet">
<xs:complexContent>
<xs:extension base="datatypes:DataSetType">
<xs:sequence>
<xs:element name="Company" type="compact:RestrictedCompany" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:group name="SchemaLinks">
<xs:annotation>
<xs:documentation>Links to extensions. Only used to ensure that schema imports are generated properly</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="LinktoGraydon_BE" type="graydon_be:SchemaLink" minOccurs="0" maxOccurs="1"/>
<xs:element name="LinktoGraydon_NL" type="graydon_nl:SchemaLink" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:group>
<xs:complexType name="RestrictedCompany">
<xs:annotation>
<xs:documentation>The main entity company</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:restriction base="cdm:Company">
<xs:sequence>
<xs:element name="CompanyId" type="xs:string" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>The unique company identifier assigned by the provider to the company.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OldCompanyId" type="xs:string" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A previous (historical) unique company identifier assigned by the provider to the company.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Vat" type="datatypes:VatType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The VAT number in case the company is liable for value added tax.
Format: differs per country</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SocialSecurityNumber" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The registration number for this company at the countries social security governmental body</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CompanyRegistry" type="cdm:CompanyRegistry" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="CompanyName" type="datatypes:NameType" minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A list of official registered names, possibly from different sources (e.g. chamber of commerce) , not being the trading name.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TradeName" type="datatypes:NameType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Type for holding trades name, also known as a trading name or a business name.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CompanyStatus" type="datatypes:CompanyStatusType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Indication whether the company is active or not.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CompanyAddress" type="cdm:Address" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="TelephoneNumber" type="datatypes:TelephoneNumberType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Main telephone number. Preferred format: +(countrycode)(number) .
E.g. +31201234567</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Telefax" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Fax number. Preferred format: +(countrycode)(number).
E.g. +31201234567</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="WebAddress" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Website address. Format: www.graydon.com (so without http:// prefix).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EmailAddress" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>E-mail address of the subject company. Format example: info@graydon.be</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IncorporationDate" type="datatypes:DateType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Date of incorporation of the subject company.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LegalForm" type="datatypes:LegalFormType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Legal form of the subject company. E.g.
- Limited company
- Private Company
The complex type consist of an official country specific name, a unified name to make legal forms comparable across countires and the countrycode.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IsUltimateParent" type="xs:boolean" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Indication if the company is the ultimateParent (has no parent companies). Can be omitted if the company is not part of a holding structure.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Operations" type="cdm:Operations" minOccurs="0" maxOccurs="1"/>
<xs:element name="Position" type="cdm:Position" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="Employees" type="cdm:Employees" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="CreditRecommendation" type="cdm:CreditRecommendation" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="FinancialSummary" type="cdm:FinancialSummary" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
<xs:simpleType name="SchemaLink">
<xs:annotation>
<xs:documentation>This is a technical type used to link datasets with this schema to ensure that import schema references are generated properly.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string"/>
</xs:simpleType>
</xs:schema>