Configuring Responder/Smart Grid
09/2010 Revision .xsd Files

Resource Center Home

Configure WCF client to connect to the AMI Event Service - 09/2010 Revision of 61968-9

EndDeviceEvent.xsd
Copy Code
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:m="http://www.iec.ch/TC57/2010/schema/EndDeviceEvent" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.iec.ch/TC57/2010/schema/EndDeviceEvent" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.3">
 <xs:element name="EndDeviceEvents" type="m:EndDeviceEvents"/>
 <xs:complexType name="EndDeviceEvents">
  <xs:sequence>
   <xs:element name="EndDeviceEvent" type="m:EndDeviceEvent_Type" minOccurs="0" maxOccurs="unbounded"/>
  </xs:sequence>
 </xs:complexType>
 <xs:simpleType name="String_type">
  <xs:restriction base="xs:string"/>
 </xs:simpleType>
 <xs:simpleType name="AbsoluteDateTime_type">
  <xs:restriction base="xs:dateTime"/>
 </xs:simpleType>
 <xs:complexType name="Status_Type">
  <xs:sequence>
   <xs:element name="dateTime" type="m:AbsoluteDateTime_type" minOccurs="0"/>
   <xs:element name="reason" type="m:String_type" minOccurs="0"/>
   <xs:element name="remark" type="m:String_type" minOccurs="0"/>
   <xs:element name="value" type="m:String_type"/>
  </xs:sequence>
 </xs:complexType>
 <xs:complexType name="Asset_Type">
  <xs:sequence>
   <xs:element name="mRID" type="m:String_type"/>
   <xs:element name="description" type="m:String_type" minOccurs="0"/>
   <xs:element name="name" type="m:String_type" minOccurs="0"/>
  </xs:sequence>
 </xs:complexType>
 <xs:complexType name="EndDeviceEvent_Type">
  <xs:sequence>
   <xs:element name="mRID" type="m:String_type" minOccurs="0"/>
   <xs:element name="category" type="m:String_type"/>
   <xs:element name="createdDateTime" type="m:AbsoluteDateTime_type"/>
   <xs:element name="description" type="m:String_type" minOccurs="0"/>
   <xs:element name="reason" type="m:String_type" minOccurs="0"/>
   <xs:element name="severity" type="m:String_type" minOccurs="0"/>
   <xs:element name="userID" type="m:String_type" minOccurs="0"/>
   <xs:element name="Assets" type="m:Asset_Type"/>
   <xs:element name="status" type="m:Status_Type" minOccurs="0"/>
  </xs:sequence>
 </xs:complexType>
</xs:schema>
Header.xsd
Copy Code
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:common="http://www.iec.ch/TC57/2010/schema/header" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.iec.ch/TC57/2010/schema/header" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.0">
<xs:element name="MessageHeader" type="common:MessageHeader_Type"/>
<xs:complexType name="MessageHeader_Type">
<xs:sequence>
<xs:element name="ID" type="xs:string" minOccurs="0"/>
<xs:element name="referenceID" type="xs:string" minOccurs="0"/>
<xs:element name="application" type="xs:string" minOccurs="0"/>
<xs:element name="creationDateTime" type="xs:dateTime" minOccurs="0"/>
<xs:element name="noun" type="xs:string" minOccurs="0"/>
<xs:element name="receiver" type="xs:string" minOccurs="0"/>
<xs:element name="reconciliationIndicator" type="xs:string" minOccurs="0"/>
<xs:element name="revision" type="xs:string" minOccurs="0"/>
<xs:element name="sender" type="xs:string" minOccurs="0"/>
<xs:element name="testDataIndicator" type="xs:string" minOccurs="0"/>
<xs:element name="timeDate" type="xs:dateTime" minOccurs="0"/>
<xs:element name="verb" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
OutputData.xsd
Copy Code
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="http://www.iec.ch/TC57/2010/schema/OutputData" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.iec.ch/TC57/2010/schema/OutputData" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
<xs:element name="Error" type="Error"/>
<xs:complexType name="Error">
<xs:annotation>
<xs:documentation>Errors in a service call</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="errorCode" type="xs:string">
<xs:annotation>
<xs:documentation>error code</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="reason" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>description of the error</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="details" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>content about the error</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="stackTrace" type="xs:string">
<xs:annotation>
<xs:documentation>stack trace</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Location" type="Location" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:element name="Location" type="Location"/>
<xs:complexType name="Location">
<xs:annotation>
<xs:documentation>Identifies the pipeline and the stage where the error occurred </xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="node" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Name of the Pipeline/Branch/Route node where error occurred</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pipeline" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Name of the Pipeline where error occurred (if applicable)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="stage" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Name of the Stage where error occurred (if applicable)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="OutputData" type="Output"/>
<xs:complexType name="Output">
<xs:annotation>
<xs:documentation>This captures an event happened during a service transaction. This can be used to represent receipt acknowledgment and error information</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="result" type="xs:string">
<xs:annotation>
<xs:documentation>Event result. This represents the outcome of a service invocation.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="creationTime" type="xs:dateTime">
<xs:annotation>
<xs:documentation>Event creation time</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="description" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Event description</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Error" type="Error" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>

 

 


Send Comment to ArcFMdocumentation@schneider-electric.com