extranet/library/Giant/wsdl/CreditDataProd/creditrecommendation-1.0.xsd

73 lines
3.9 KiB
XML
Raw Normal View History

2013-11-13 14:10:30 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://services.giant-net.com/schema/services/creditrecommendation/1.0" xmlns:credrec="http://services.giant-net.com/schema/services/creditrecommendation/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:xs="http://www.w3.org/2001/XMLSchema">
<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="RestrictedCompany">
<xs:annotation>
<xs:documentation>The main entity company, with only attributes and relationships needed for the Credit Recommendation dataset</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 identifier allocated by the provider to the company. This should be unique per provider.</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="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 from different sources eg the chamber of commerce, not being the tradingname.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CompanyAddress" type="cdm:Address" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Association to the class TradingAddress</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Operations" type="credrec:RestrictedOperations" minOccurs="0" maxOccurs="1"/>
<xs:element name="CreditRecommendation" type="cdm:CreditRecommendation" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="CreditRecommendation">
<xs:complexContent>
<xs:extension base="datatypes:DataSetType">
<xs:sequence>
<xs:element name="Company" type="credrec:RestrictedCompany" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="RestrictedOperations">
<xs:complexContent>
<xs:restriction base="cdm:Operations">
<xs:sequence>
<xs:element name="IndustryCode" type="datatypes:NaceType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>NACE industry sector codes for the subject company</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:restriction>
</xs:complexContent>
</xs:complexType>
<xs:simpleType name="Class1">
<xs:restriction base="xs:string"/>
</xs:simpleType>
<xs:complexType name="Class2">
<xs:sequence/>
</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>