1<?xml version="1.0" encoding="UTF-8"?>
 2<xsd:schema xmlns="http://schemas.openxmlformats.org/package/2006/digital-signature"
 3  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 4  targetNamespace="http://schemas.openxmlformats.org/package/2006/digital-signature"
 5  elementFormDefault="qualified" attributeFormDefault="unqualified" blockDefault="#all">
 6
 7  <xsd:element name="SignatureTime" type="CT_SignatureTime"/>
 8  <xsd:element name="RelationshipReference" type="CT_RelationshipReference"/>
 9  <xsd:element name="RelationshipsGroupReference" type="CT_RelationshipsGroupReference"/>
10
11  <xsd:complexType name="CT_SignatureTime">
12    <xsd:sequence>
13      <xsd:element name="Format" type="ST_Format"/>
14      <xsd:element name="Value" type="ST_Value"/>
15    </xsd:sequence>
16  </xsd:complexType>
17
18  <xsd:complexType name="CT_RelationshipReference">
19    <xsd:simpleContent>
20      <xsd:extension base="xsd:string">
21        <xsd:attribute name="SourceId" type="xsd:string" use="required"/>
22      </xsd:extension>
23    </xsd:simpleContent>
24  </xsd:complexType>
25
26  <xsd:complexType name="CT_RelationshipsGroupReference">
27    <xsd:simpleContent>
28      <xsd:extension base="xsd:string">
29        <xsd:attribute name="SourceType" type="xsd:anyURI" use="required"/>
30      </xsd:extension>
31    </xsd:simpleContent>
32  </xsd:complexType>
33
34  <xsd:simpleType name="ST_Format">
35    <xsd:restriction base="xsd:string">
36      <xsd:pattern
37        value="(YYYY)|(YYYY-MM)|(YYYY-MM-DD)|(YYYY-MM-DDThh:mmTZD)|(YYYY-MM-DDThh:mm:ssTZD)|(YYYY-MM-DDThh:mm:ss.sTZD)"
38      />
39    </xsd:restriction>
40  </xsd:simpleType>
41
42  <xsd:simpleType name="ST_Value">
43    <xsd:restriction base="xsd:string">
44      <xsd:pattern
45        value="(([0-9][0-9][0-9][0-9]))|(([0-9][0-9][0-9][0-9])-((0[1-9])|(1(0|1|2))))|(([0-9][0-9][0-9][0-9])-((0[1-9])|(1(0|1|2)))-((0[1-9])|(1[0-9])|(2[0-9])|(3(0|1))))|(([0-9][0-9][0-9][0-9])-((0[1-9])|(1(0|1|2)))-((0[1-9])|(1[0-9])|(2[0-9])|(3(0|1)))T((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9]))(((\+|-)((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9])))|Z))|(([0-9][0-9][0-9][0-9])-((0[1-9])|(1(0|1|2)))-((0[1-9])|(1[0-9])|(2[0-9])|(3(0|1)))T((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9])):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9]))(((\+|-)((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9])))|Z))|(([0-9][0-9][0-9][0-9])-((0[1-9])|(1(0|1|2)))-((0[1-9])|(1[0-9])|(2[0-9])|(3(0|1)))T((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9])):(((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9]))\.[0-9])(((\+|-)((0[0-9])|(1[0-9])|(2(0|1|2|3))):((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9])))|Z))"
46      />
47    </xsd:restriction>
48  </xsd:simpleType>
49</xsd:schema>