123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563 |
- <?xml version="1.0" encoding="UTF-8"?>
- <xs:schema xmlns:scl="http://www.iec.ch/61850/2003/SCL" xmlns="http://www.iec.ch/61850/2003/SCL" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.iec.ch/61850/2003/SCL" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.7">
- <xs:annotation>
- <xs:documentation xml:lang="en">
- Copyright (c) 2013 IEC. All rights reserved.
- Version 1.7. Release 2014/03/11.
- </xs:documentation>
- </xs:annotation>
- <xs:include schemaLocation="SCL_BaseTypes.xsd"/>
- <xs:attributeGroup name="agAuthentication">
- <xs:attribute name="none" type="xs:boolean" use="optional" default="true"/>
- <xs:attribute name="password" type="xs:boolean" use="optional" default="false"/>
- <xs:attribute name="weak" type="xs:boolean" use="optional" default="false"/>
- <xs:attribute name="strong" type="xs:boolean" use="optional" default="false"/>
- <xs:attribute name="certificate" type="xs:boolean" use="optional" default="false"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="agSmvOpts">
- <xs:attribute name="refreshTime" type="xs:boolean" use="optional" default="false"/>
- <xs:attribute name="sampleSynchronized" type="xs:boolean" use="optional" default="false"/>
- <xs:attribute name="sampleRate" type="xs:boolean" use="optional" default="false"/>
- <xs:attribute name="security" type="xs:boolean" use="optional" default="false"/>
- <xs:attribute name="dataRef" type="xs:boolean" use="optional" default="false"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="agOptFields">
- <xs:attribute name="seqNum" type="xs:boolean" use="optional" default="false"/>
- <xs:attribute name="timeStamp" type="xs:boolean" use="optional" default="false"/>
- <xs:attribute name="dataSet" type="xs:boolean" use="optional" default="false"/>
- <xs:attribute name="reasonCode" type="xs:boolean" use="optional" default="false"/>
- <xs:attribute name="dataRef" type="xs:boolean" use="optional" default="false"/>
- <xs:attribute name="entryID" type="xs:boolean" use="optional" default="false"/>
- <xs:attribute name="configRef" type="xs:boolean" use="optional" default="false"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="agLDRef">
- <xs:attribute name="iedName" type="tName" use="required"/>
- <xs:attribute name="ldInst" type="tName" use="required"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="agLNRef">
- <xs:attributeGroup ref="agLDRef"/>
- <xs:attribute name="prefix" type="tAnyName" use="optional" default=""/>
- <xs:attribute name="lnClass" type="tLNClassEnum" use="required"/>
- <xs:attribute name="lnInst" type="tAnyName" use="required"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="agDORef">
- <xs:attributeGroup ref="agLNRef"/>
- <xs:attribute name="doName" type="tName" use="required"/>
- </xs:attributeGroup>
- <xs:attributeGroup name="agDARef">
- <xs:attributeGroup ref="agDORef"/>
- <xs:attribute name="daName" type="tName" use="optional"/>
- <xs:attribute name="fc" type="tFCEnum" use="optional"/>
- </xs:attributeGroup>
- <xs:complexType name="tIED">
- <xs:complexContent>
- <xs:extension base="tNaming">
- <xs:sequence>
- <xs:element name="Services" type="tServices" minOccurs="0"/>
- <xs:element name="AccessPoint" type="tAccessPoint" maxOccurs="unbounded">
- <xs:unique name="uniqueLNInAccessPoint">
- <xs:selector xpath="./scl:LN"/>
- <xs:field xpath="@inst"/>
- <xs:field xpath="@lnClass"/>
- <xs:field xpath="@prefix"/>
- </xs:unique>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="type" type="xs:normalizedString" use="optional"/>
- <xs:attribute name="manufacturer" type="xs:normalizedString" use="optional"/>
- <xs:attribute name="configVersion" type="xs:normalizedString" use="optional"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tServices">
- <xs:all>
- <xs:element name="DynAssociation" type="tServiceYesNo" minOccurs="0"/>
- <xs:element name="SettingGroups" minOccurs="0">
- <xs:complexType>
- <xs:all>
- <xs:element name="SGEdit" type="tServiceYesNo" minOccurs="0"/>
- <xs:element name="ConfSG" type="tServiceYesNo" minOccurs="0"/>
- </xs:all>
- </xs:complexType>
- </xs:element>
- <xs:element name="GetDirectory" type="tServiceYesNo" minOccurs="0"/>
- <xs:element name="GetDataObjectDefinition" type="tServiceYesNo" minOccurs="0"/>
- <xs:element name="DataObjectDirectory" type="tServiceYesNo" minOccurs="0"/>
- <xs:element name="GetDataSetValue" type="tServiceYesNo" minOccurs="0"/>
- <xs:element name="SetDataSetValue" type="tServiceYesNo" minOccurs="0"/>
- <xs:element name="DataSetDirectory" type="tServiceYesNo" minOccurs="0"/>
- <xs:element name="ConfDataSet" type="tServiceWithMaxAndMaxAttributesAndModify" minOccurs="0"/>
- <xs:element name="DynDataSet" type="tServiceWithMaxAndMaxAttributes" minOccurs="0"/>
- <xs:element name="ReadWrite" type="tServiceYesNo" minOccurs="0"/>
- <xs:element name="TimerActivatedControl" type="tServiceYesNo" minOccurs="0"/>
- <xs:element name="ConfReportControl" type="tServiceWithMax" minOccurs="0"/>
- <xs:element name="GetCBValues" type="tServiceYesNo" minOccurs="0"/>
- <xs:element name="ConfLogControl" type="tServiceWithMax" minOccurs="0"/>
- <xs:element name="ReportSettings" type="tReportSettings" minOccurs="0"/>
- <xs:element name="LogSettings" type="tLogSettings" minOccurs="0"/>
- <xs:element name="GSESettings" type="tGSESettings" minOccurs="0"/>
- <xs:element name="SMVSettings" type="tSMVSettings" minOccurs="0"/>
- <xs:element name="GSEDir" type="tServiceYesNo" minOccurs="0"/>
- <xs:element name="GOOSE" type="tServiceWithMaxAndClient" minOccurs="0"/>
- <xs:element name="GSSE" type="tServiceWithMaxAndClient" minOccurs="0"/>
- <xs:element name="FileHandling" type="tServiceYesNo" minOccurs="0"/>
- <xs:element name="ConfLNs" type="tConfLNs" minOccurs="0"/>
- </xs:all>
- </xs:complexType>
- <xs:complexType name="tAccessPoint">
- <xs:complexContent>
- <xs:extension base="tNaming">
- <xs:choice minOccurs="0">
- <xs:element name="Server" type="tServer">
- <xs:unique name="uniqueAssociationInServer">
- <xs:selector xpath="./scl:Association"/>
- <xs:field xpath="@associationID"/>
- </xs:unique>
- </xs:element>
- <xs:element ref="LN" maxOccurs="unbounded"/>
- </xs:choice>
- <xs:attribute name="router" type="xs:boolean" use="optional" default="false"/>
- <xs:attribute name="clock" type="xs:boolean" use="optional" default="false"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tServer">
- <xs:complexContent>
- <xs:extension base="tUnNaming">
- <xs:sequence>
- <xs:element name="Authentication">
- <xs:complexType>
- <xs:attributeGroup ref="agAuthentication"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="LDevice" type="tLDevice" maxOccurs="unbounded">
- <xs:unique name="uniqueLNInLDevice">
- <xs:selector xpath="./scl:LN"/>
- <xs:field xpath="@inst"/>
- <xs:field xpath="@lnClass"/>
- <xs:field xpath="@prefix"/>
- </xs:unique>
- </xs:element>
- <xs:element name="Association" type="tAssociation" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="timeout" type="xs:unsignedInt" use="optional" default="30"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tLDevice">
- <xs:complexContent>
- <xs:extension base="tUnNaming">
- <xs:sequence>
- <xs:element ref="LN0"/>
- <xs:element ref="LN" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="AccessControl" type="tAccessControl" minOccurs="0"/>
- </xs:sequence>
- <xs:attribute name="inst" type="tName" use="required"/>
- <xs:attribute name="ldName" type="tRestrLdName" use="optional"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tAccessControl" mixed="true">
- <xs:complexContent>
- <xs:extension base="tAnyContentFromOtherNamespace"/>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tAssociation">
- <xs:attribute name="kind" type="tAssociationKindEnum" use="required"/>
- <xs:attribute name="associationID" type="tName" use="optional"/>
- <xs:attributeGroup ref="agLNRef"/>
- </xs:complexType>
- <xs:element name="LN0">
- <xs:complexType>
- <xs:complexContent>
- <xs:extension base="tLN0"/>
- </xs:complexContent>
- </xs:complexType>
- <xs:unique name="uniqueReportControlInLN0">
- <xs:selector xpath="./scl:ReportControl"/>
- <xs:field xpath="@name"/>
- </xs:unique>
- <xs:unique name="uniqueLogControlInLN0">
- <xs:selector xpath="./scl:LogControl"/>
- <xs:field xpath="@name"/>
- </xs:unique>
- <xs:unique name="uniqueGSEControlInLN0">
- <xs:selector xpath="./scl:GSEControl"/>
- <xs:field xpath="@name"/>
- </xs:unique>
- <xs:unique name="uniqueSampledValueControlInLN0">
- <xs:selector xpath="./scl:SampledValueControl"/>
- <xs:field xpath="@name"/>
- </xs:unique>
- <xs:key name="DataSetKeyLN0">
- <xs:selector xpath="./scl:DataSet"/>
- <xs:field xpath="@name"/>
- </xs:key>
- <xs:keyref name="ref2DataSetReportLN0" refer="DataSetKeyLN0">
- <xs:selector xpath="./scl:ReportControl"/>
- <xs:field xpath="@datSet"/>
- </xs:keyref>
- <xs:keyref name="ref2DataSetLogLN0" refer="DataSetKeyLN0">
- <xs:selector xpath="./scl:LogControl"/>
- <xs:field xpath="@datSet"/>
- </xs:keyref>
- <xs:keyref name="ref2DataSetGSELN0" refer="DataSetKeyLN0">
- <xs:selector xpath="./scl:GSEControl"/>
- <xs:field xpath="@datSet"/>
- </xs:keyref>
- <xs:keyref name="ref2DataSetSVLN0" refer="DataSetKeyLN0">
- <xs:selector xpath="./scl:SampledValueControl"/>
- <xs:field xpath="@datSet"/>
- </xs:keyref>
- </xs:element>
- <xs:element name="LN" type="tLN">
- <xs:unique name="uniqueReportControlInLN">
- <xs:selector xpath="./scl:ReportControl"/>
- <xs:field xpath="@name"/>
- </xs:unique>
- <xs:unique name="uniqueLogControlInLN">
- <xs:selector xpath="./scl:LogControl"/>
- <xs:field xpath="@name"/>
- </xs:unique>
- <xs:key name="DataSetKeyInLN">
- <xs:selector xpath="./scl:DataSet"/>
- <xs:field xpath="@name"/>
- </xs:key>
- <xs:keyref name="ref2DataSetReport" refer="DataSetKeyInLN">
- <xs:selector xpath="./scl:ReportControl"/>
- <xs:field xpath="@datSet"/>
- </xs:keyref>
- <xs:keyref name="ref2DataSetLog" refer="DataSetKeyInLN">
- <xs:selector xpath="./scl:LogControl"/>
- <xs:field xpath="@datSet"/>
- </xs:keyref>
- </xs:element>
- <xs:complexType name="tAnyLN" abstract="true">
- <xs:complexContent>
- <xs:extension base="tUnNaming">
- <xs:sequence>
- <xs:element name="DataSet" type="tDataSet" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="ReportControl" type="tReportControl" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="LogControl" type="tLogControl" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="DOI" type="tDOI" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="Inputs" type="tInputs" minOccurs="0"/>
- </xs:sequence>
- <xs:attribute name="lnType" type="tName" use="required"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tLN">
- <xs:complexContent>
- <xs:extension base="tAnyLN">
- <xs:attribute name="lnClass" type="tLNClassEnum" use="required"/>
- <xs:attribute name="inst" type="xs:unsignedInt" use="required"/>
- <xs:attribute name="prefix" type="tAnyName" use="optional" default=""/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tLN0">
- <xs:complexContent>
- <xs:extension base="tAnyLN">
- <xs:sequence>
- <xs:element name="GSEControl" type="tGSEControl" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="SampledValueControl" type="tSampledValueControl" minOccurs="0" maxOccurs="unbounded"/>
- <xs:element name="SettingControl" type="tSettingControl" minOccurs="0"/>
- <xs:element name="SCLControl" type="tSCLControl" minOccurs="0"/>
- <xs:element name="Log" type="tLog" minOccurs="0"/>
- </xs:sequence>
- <xs:attribute name="lnClass" type="tLNClassEnum" use="required" fixed="LLN0"/>
- <xs:attribute name="inst" type="xs:normalizedString" use="required"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tDataSet">
- <xs:complexContent>
- <xs:extension base="tNaming">
- <xs:sequence>
- <xs:element name="FCDA" type="tFCDA" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tFCDA">
- <xs:attribute name="ldInst" type="tName" use="optional"/>
- <xs:attribute name="prefix" type="tAnyName" use="optional" default=""/>
- <xs:attribute name="lnClass" type="tLNClassEnum" use="optional"/>
- <xs:attribute name="lnInst" type="tName" use="optional"/>
- <xs:attribute name="doName" type="tName" use="optional"/>
- <xs:attribute name="daName" type="tName" use="optional"/>
- <xs:attribute name="fc" type="tFCEnum" use="required"/>
- </xs:complexType>
- <xs:complexType name="tControl" abstract="true">
- <xs:complexContent>
- <xs:extension base="tNaming">
- <xs:attribute name="datSet" type="tName" use="optional"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tControlWithTriggerOpt" abstract="true">
- <xs:complexContent>
- <xs:extension base="tControl">
- <xs:sequence>
- <xs:element name="TrgOps" type="tTrgOps" minOccurs="0"/>
- </xs:sequence>
- <xs:attribute name="intgPd" type="xs:unsignedInt" use="optional" default="0"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tTrgOps">
- <xs:attribute name="dchg" type="xs:boolean" use="optional" default="false"/>
- <xs:attribute name="qchg" type="xs:boolean" use="optional" default="false"/>
- <xs:attribute name="dupd" type="xs:boolean" use="optional" default="false"/>
- <xs:attribute name="period" type="xs:boolean" use="optional" default="false"/>
- </xs:complexType>
- <xs:complexType name="tReportControl">
- <xs:complexContent>
- <xs:extension base="tControlWithTriggerOpt">
- <xs:sequence>
- <xs:element name="OptFields">
- <xs:complexType>
- <xs:attributeGroup ref="agOptFields"/>
- </xs:complexType>
- </xs:element>
- <xs:element name="RptEnabled" type="tRptEnabled" minOccurs="0"/>
- </xs:sequence>
- <xs:attribute name="rptID" type="tName" use="optional">
- <xs:annotation>
- <xs:documentation xml:lang="en">Even if rptID is optional, it is recommended, for backward compatibility reason, that tools that instantiate ReportControl element, set the attribute rptID to the default system value defined by 8-1: the reference to the Report Control Block.</xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="confRev" type="xs:unsignedInt" use="required"/>
- <xs:attribute name="buffered" type="xs:boolean" use="optional" default="false"/>
- <xs:attribute name="bufTime" type="xs:unsignedInt" use="optional" default="0"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tRptEnabled">
- <xs:complexContent>
- <xs:extension base="tUnNaming">
- <xs:sequence>
- <xs:element name="ClientLN" type="tClientLN" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="max" type="xs:unsignedInt" use="optional" default="1"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tClientLN">
- <xs:attributeGroup ref="agLNRef"/>
- </xs:complexType>
- <xs:complexType name="tLogControl">
- <xs:complexContent>
- <xs:extension base="tControlWithTriggerOpt">
- <xs:attribute name="logName" type="tName" use="required"/>
- <xs:attribute name="logEna" type="xs:boolean" use="optional" default="true"/>
- <xs:attribute name="reasonCode" type="xs:boolean" use="optional" default="true"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tInputs">
- <xs:complexContent>
- <xs:extension base="tUnNaming">
- <xs:sequence>
- <xs:element name="ExtRef" type="tExtRef" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tExtRef">
- <xs:attributeGroup ref="agDORef"/>
- <xs:attribute name="daName" type="tName" use="optional"/>
- <xs:attribute name="intAddr" type="xs:normalizedString" use="optional"/>
- </xs:complexType>
- <xs:complexType name="tLog" mixed="true">
- <xs:complexContent>
- <xs:extension base="tAnyContentFromOtherNamespace"/>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tControlWithIEDName">
- <xs:complexContent>
- <xs:extension base="tControl">
- <xs:sequence>
- <xs:element name="IEDName" type="tName" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="confRev" type="xs:unsignedInt" use="optional"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tGSEControl">
- <xs:complexContent>
- <xs:extension base="tControlWithIEDName">
- <xs:attribute name="type" type="tGSEControlTypeEnum" use="optional" default="GOOSE"/>
- <xs:attribute name="appID" type="xs:normalizedString" use="required"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tSampledValueControl">
- <xs:complexContent>
- <xs:extension base="tControlWithIEDName">
- <xs:sequence>
- <xs:element name="SmvOpts">
- <xs:complexType>
- <xs:attributeGroup ref="agSmvOpts"/>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="smvID" type="xs:normalizedString" use="required"/>
- <xs:attribute name="multicast" type="xs:boolean" default="true"/>
- <xs:attribute name="smpRate" type="xs:unsignedInt" use="required"/>
- <xs:attribute name="nofASDU" type="xs:unsignedInt" use="required"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tSettingControl">
- <xs:complexContent>
- <xs:extension base="tUnNaming">
- <xs:attribute name="numOfSGs" type="xs:unsignedInt" use="required"/>
- <xs:attribute name="actSG" type="xs:unsignedInt" use="optional" default="1"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tSCLControl">
- <xs:complexContent>
- <xs:extension base="tUnNaming"/>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tDOI">
- <xs:complexContent>
- <xs:extension base="tUnNaming">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="SDI" type="tSDI"/>
- <xs:element name="DAI" type="tDAI"/>
- </xs:choice>
- <xs:attribute name="name" type="tRestrName1stU" use="required"/>
- <xs:attribute name="ix" type="xs:unsignedInt" use="optional"/>
- <xs:attribute name="accessControl" type="xs:normalizedString" use="optional"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tSDI">
- <xs:complexContent>
- <xs:extension base="tUnNaming">
- <xs:choice minOccurs="0" maxOccurs="unbounded">
- <xs:element name="SDI" type="tSDI"/>
- <xs:element name="DAI" type="tDAI"/>
- </xs:choice>
- <xs:attribute name="name" type="tAttributeNameEnum" use="required"/>
- <xs:attribute name="ix" type="xs:unsignedInt" use="optional"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tDAI">
- <xs:complexContent>
- <xs:extension base="tUnNaming">
- <xs:sequence>
- <xs:element name="Val" type="tVal" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="name" type="tAttributeNameEnum" use="required"/>
- <xs:attribute name="sAddr" type="xs:normalizedString" use="optional"/>
- <xs:attribute name="valKind" type="tValKindEnum" use="optional" default="Set"/>
- <xs:attribute name="ix" type="xs:unsignedInt" use="optional"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tServiceYesNo"/>
- <xs:complexType name="tServiceWithMax">
- <xs:attribute name="max" type="xs:unsignedInt" use="required"/>
- </xs:complexType>
- <xs:complexType name="tServiceWithMaxAndMaxAttributes">
- <xs:complexContent>
- <xs:extension base="tServiceWithMax">
- <xs:attribute name="maxAttributes" type="xs:unsignedInt" use="optional"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tServiceWithMaxAndModify">
- <xs:complexContent>
- <xs:extension base="tServiceWithMax">
- <xs:attribute name="modify" type="xs:boolean" use="optional" default="true"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tServiceWithMaxAndMaxAttributesAndModify">
- <xs:complexContent>
- <xs:extension base="tServiceWithMaxAndMaxAttributes">
- <xs:attribute name="modify" type="xs:boolean" use="optional" default="true"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tServiceWithMaxAndClient">
- <xs:complexContent>
- <xs:extension base="tServiceWithMax">
- <xs:attribute name="client" type="xs:boolean" use="optional" default="true"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tServiceSettings" abstract="true">
- <xs:attribute name="cbName" type="tServiceSettingsEnum" use="optional" default="Fix"/>
- <xs:attribute name="datSet" type="tServiceSettingsEnum" use="optional" default="Fix"/>
- </xs:complexType>
- <xs:complexType name="tReportSettings">
- <xs:complexContent>
- <xs:extension base="tServiceSettings">
- <xs:attribute name="rptID" type="tServiceSettingsEnum" use="optional" default="Fix"/>
- <xs:attribute name="optFields" type="tServiceSettingsEnum" use="optional" default="Fix"/>
- <xs:attribute name="bufTime" type="tServiceSettingsEnum" use="optional" default="Fix"/>
- <xs:attribute name="trgOps" type="tServiceSettingsEnum" use="optional" default="Fix"/>
- <xs:attribute name="intgPd" type="tServiceSettingsEnum" use="optional" default="Fix"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tLogSettings">
- <xs:complexContent>
- <xs:extension base="tServiceSettings">
- <xs:attribute name="logEna" type="tServiceSettingsEnum" use="optional" default="Fix"/>
- <xs:attribute name="trgOps" type="tServiceSettingsEnum" use="optional" default="Fix"/>
- <xs:attribute name="intgPd" type="tServiceSettingsEnum" use="optional" default="Fix"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tGSESettings">
- <xs:complexContent>
- <xs:extension base="tServiceSettings">
- <xs:attribute name="appID" type="tServiceSettingsEnum" use="optional" default="Fix"/>
- <xs:attribute name="dataLabel" type="tServiceSettingsEnum" use="optional" default="Fix"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tSMVSettings">
- <xs:complexContent>
- <xs:extension base="tServiceSettings">
- <xs:sequence>
- <xs:element name="SmpRate" maxOccurs="unbounded">
- <xs:simpleType>
- <xs:restriction base="xs:decimal">
- <xs:minInclusive value="0"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="svID" type="tServiceSettingsEnum" use="optional" default="Fix"/>
- <xs:attribute name="optFields" type="tServiceSettingsEnum" use="optional" default="Fix"/>
- <xs:attribute name="smpRate" type="tServiceSettingsEnum" use="optional" default="Fix"/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="tConfLNs">
- <xs:attribute name="fixPrefix" type="xs:boolean" use="optional" default="false"/>
- <xs:attribute name="fixLnInst" type="xs:boolean" use="optional" default="false"/>
- </xs:complexType>
- <xs:element name="IED" type="tIED">
- <xs:unique name="uniqueAccessPointInIED">
- <xs:selector xpath="./scl:AccessPoint"/>
- <xs:field xpath="@name"/>
- </xs:unique>
- <xs:key name="LDeviceInIEDKey">
- <xs:selector xpath="./scl:AccessPoint/scl:Server/scl:LDevice"/>
- <xs:field xpath="@inst"/>
- </xs:key>
- <xs:keyref name="ref2LDeviceInIED" refer="LDeviceInIEDKey">
- <xs:selector xpath="./scl:AccessPoint/scl:Server/scl:LDevice/scl:LN0/scl:LogControl"/>
- <xs:field xpath="@logName"/>
- </xs:keyref>
- </xs:element>
- </xs:schema>
|