File: opc-digSig.xsd

package info (click to toggle)
libapache-poi-java 4.0.1-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 198,996 kB
  • sloc: java: 386,440; xml: 65,903; makefile: 227; sh: 215; jsp: 85; ruby: 78; python: 46; cpp: 17
file content (63 lines) | stat: -rw-r--r-- 4,002 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://schemas.openxmlformats.org/package/2006/digital-signature" elementFormDefault="qualified" attributeFormDefault="unqualified" blockDefault="#all">
  <!-- 
    Individual date and time patterns
    
    For better readability, each pattern using numbers is also described in a comment using
    one of the following pattern designators.
  -->
  <!--DEFINE [_y]         "([0-9][0-9][0-9][0-9])" -->
  <!--DEFINE [_mo]        "((0[1-9])|(1(0|1|2)))" -->
  <!--DEFINE [_d]         "((0[1-9])|(1[0-9])|(2[0-9])|(3(0|1)))" -->
  <!--DEFINE [_h]         "((0[0-9])|(1[0-9])|(2(0|1|2|3)))" -->
  <!--DEFINE [_ms]        "((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9]))" -->
  <!--DEFINE [_mss]       "(((0[0-9])|(1[0-9])|(2[0-9])|(3[0-9])|(4[0-9])|(5[0-9]))\.[0-9])" -->
  <!--DEFINE [_TZD]       "(((\+|-)((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)" -->

  <xsd:element name="SignatureTime" type="CT_SignatureTime" />
  <xsd:element name="RelationshipReference" type="CT_RelationshipReference" />
  <xsd:element name="RelationshipsGroupReference" type="CT_RelationshipsGroupReference" />

  <xsd:complexType name="CT_SignatureTime">
    <xsd:sequence>
      <xsd:element name="Format" type="ST_Format" />
      <xsd:element name="Value" type="ST_Value" />
    </xsd:sequence>
  </xsd:complexType>

  <xsd:complexType name="CT_RelationshipReference">
    <xsd:simpleContent>
      <xsd:extension base="xsd:string">
        <xsd:attribute name="SourceId" type="xsd:string" use="required" />
      </xsd:extension>
    </xsd:simpleContent>
  </xsd:complexType>

  <xsd:complexType name="CT_RelationshipsGroupReference">
    <xsd:simpleContent>
      <xsd:extension base="xsd:string">
        <xsd:attribute name="SourceType" type="xsd:anyURI" use="required" />
      </xsd:extension>
    </xsd:simpleContent>
  </xsd:complexType>

  <xsd:simpleType name="ST_Format">
    <xsd:restriction base="xsd:string">
      <xsd:pattern value="(YYYY)|(YYYY-MM)|(YYYY-MM-DD)|(YYYY-MM-DDThh:mmTZD)|(YYYY-MM-DDThh:mm:ssTZD)|(YYYY-MM-DDThh:mm:ss.sTZD)"/>
    </xsd:restriction>
  </xsd:simpleType>

  <xsd:simpleType name="ST_Value">
    <xsd:restriction base="xsd:string">
      <!--
        <xsd:pattern value="([_y])|\
                            ([_y]-[_mo])|\
                            ([_y]-[_mo]-[_d])|\
                            ([_y]-[_mo]-[_d]T[_h]:[_ms][_TZD])|\
                            ([_y]-[_mo]-[_d]T[_h]:[_ms]:[_ms][_TZD])|\
                            ([_y]-[_mo]-[_d]T[_h]:[_ms]:[_mss][_TZD])"/>
			-->
      <xsd:pattern 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))"/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:schema>