40 lines
2.3 KiB
XML
40 lines
2.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<xs:schema targetNamespace="http://services.giant-net.com/schema/services/monitor/1.0" xmlns:mon="http://services.giant-net.com/schema/services/monitor/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>General entity for a company holding all information about the 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="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="Event" type="cdm:Event" minOccurs="0" maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
</xs:restriction>
|
|
</xs:complexContent>
|
|
</xs:complexType>
|
|
<xs:complexType name="MonitoringEvents">
|
|
<xs:sequence>
|
|
<xs:element name="MonitoringEvent" type="mon:MonitoringEvent" minOccurs="0" maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="MonitoringEvent">
|
|
<xs:sequence>
|
|
<xs:element name="ProviderEventId" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
|
<xs:element name="InternalEventId" type="xs:long" minOccurs="0" maxOccurs="1"/>
|
|
<xs:element name="ProviderOrderId" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
|
<xs:element name="Company" type="mon:RestrictedCompany" minOccurs="0" maxOccurs="1"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:schema> |