ГОСТ Р ИСО 20242-4—2012
<xsd:element ref="ResponseMessage“ minOccurs=’0" maxOccurs="unbounded’Y>
<xsd:element ref="DomainObject" minOccurs="0" maxOccufs="unbounded7>
<i’xsd:sequence>
<xsdattribute name="category" type="categoryType" use="required" fixed="RESP0NDER7>
</xsd:extension>
</xsd:complexContent>
</xsd:compfexType>
<xsd:complexType name="SenderType">
<xsd:complexConlent>
<xsd:extensk>n base="dcpl:CommunicationObjeclType’,>
<xsd:sequence>
<xsd:element ref="NotifyMessage" minOccurs=’0" maxOccurs=’unboundedV>
<xsd:element ref="DomainObject" minOccurs="0" maxOccurs="unbounded7>
</xsd:sequence>
<xsdattribute name^category" type="categoryType* use-’required* ftxed="SENDER7>
<7xsd:extension>
</xsd:complexContent>
</xsd:comp)exType>
<xsd:complexType name=*RecewerType">
<xsd:complexContent>
<xsd:extensk>n base="dcpt:CommunicationObjectType">
<xsd:sequence>
<xsd:element ref=*NotifyMessage" minOccurs="0" maxOccurs=*unbounded*.‘>
<xsd:e!ement ref="DomainObject" minOccufs="0" maxOccufs="unbounded7>
<i’xsd:sequence>
<xsdattribute name=*category* type=*categoryType" use=*requifed* fixed=”RECEIVER7>
</xsd:extension>
</xsd:complexContent>
</xsd:compfexType>
<xsd:complexType name="MessageType’>
<xsd:choice minOccurs="0">
<xsd:element ref="Transaction’ maxOccurs="unbounded"/>
</xsd:cho»ce>
<xsd:attribute name-’name* type="xsd:string7>
<xsd:attribute патенте ssage" type="messageType* use=’required7>
</xsd:complexType>
<xsd:complexType name=*DomainObjectType">
<xsd:sequence minOccurs=’0’>
<xsd:element ref^PrimitiveElemenr maxOccurs=’unbounded7>
</xsd:sequence>
</xsd:complexType>
<xsd:attribute name="name* Iype="xsd:string7>
</xsd:schema>
B.5 Примерпрограммы DCD-описания
B.5.1 Общие сведения
Файл DCDb.xsd содержит пример XML-схемы DCD-описания. которая позволяет дополнять XML-схему для
зависящего от выбранной MICX-технологии DCPT-шаблона (см. В.4) всоответствии с возможностями
драйвера устройства.
В.5.2XML-схема: Файл DCDb.xsd
<?хпт1 version="1,0‘ encoding^utf-a"?»
<xsd:schema xmlns:xsd=’
http://www.w3.orgi’20010(MLSchema*
xmlns="
http://v»ww.mslc.of.jp/micx/ISO20242-4j,b>lExampJe
"
xmlns:micx=’’
http://ww»v.mstc.or.jp/micx/lSO20242-4/MICX*
xmlns:pps=’
http://docs.oasis-open.org/pps/ns/core-e!ements*
xmlns:ppst=*
http://docs.oasis-open.org/pps/ns/transaction-messages*
targetNamespace=“
http://www.mstc.or.jp,’micx/ISO20242-4/b.’Examp4e“
e)emenlFormDefault="qualified’’>
<xsd:annotation>
<xsd:appinfo source="
http://www.osi.chi’iso/ISO20242-4,’DCPTHeader.xsd’>
<DCPTHeader>
<DCPTIdentification>DCD</DCPTIdentification>
36