-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSignature.xsd
71 lines (71 loc) · 4.2 KB
/
Signature.xsd
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
64
65
66
67
68
69
70
71
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="http://www.ofdspec.org/2016" xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.ofdspec.org/2016" elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:include schemaLocation="Definitions.xsd" />
<xs:include schemaLocation="Page.xsd" />
<xs:element name="Signature">
<xs:complexType>
<xs:sequence>
<xs:element name="SignedInfo">
<xs:complexType>
<xs:sequence>
<xs:element name="Provider">
<xs:complexType>
<xs:attribute name="ProviderName" type="xs:string"
use="required" />
<xs:attribute name="Version" type="xs:string" />
<xs:attribute name="Company" type="xs:string" />
</xs:complexType>
</xs:element>
<xs:element name="SignatureMethod" type="xs:string" minOccurs="0" />
<xs:element name="SignatureDateTime" type="xs:string" minOccurs="0" />
<xs:element name="References">
<xs:complexType>
<xs:sequence>
<xs:element name="Reference" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="CheckValue"
type="xs:base64Binary" />
</xs:sequence>
<xs:attribute name="FileRef" type="ST_Loc"
use="required" />
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="CheckMethod" default="MD5">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="MD5" />
<xs:enumeration value="SHA1" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:sequence>
<xs:element name="StampAnnot" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="ID" type="xs:ID" use="required" />
<xs:attribute name="PageRef" type="ST_RefID" use="required" />
<xs:attribute name="Boundary" type="ST_Box" use="required" />
<xs:attribute name="Clip" type="ST_Box" />
</xs:complexType>
</xs:element>
<xs:element name="Seal" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="BaseLoc" type="ST_Loc" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="SignedValue" type="ST_Loc" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>