-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAnnotation.xsd
65 lines (65 loc) · 3.84 KB
/
Annotation.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
<?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="Page.xsd" />
<xs:include schemaLocation="Definitions.xsd" />
<xs:element name="PageAnnot">
<xs:complexType>
<xs:sequence>
<xs:element name="Annot" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="Remark" type="xs:string" minOccurs="0" />
<xs:element name="Parameters" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="Parameter" maxOccurs="unbounded">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="Name" type="xs:string"
use="required" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Appearance">
<xs:complexType>
<xs:complexContent>
<xs:extension base="CT_PageBlock">
<xs:attribute name="Boundary" type="ST_Box" />
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="ID" type="ST_ID" use="required" />
<xs:attribute name="Type" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Link" />
<xs:enumeration value="Path" />
<xs:enumeration value="Highlight" />
<xs:enumeration value="Stamp" />
<xs:enumeration value="Watermark" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Creator" type="xs:string" use="required" />
<xs:attribute name="LastModDate" type="xs:date" use="required" />
<xs:attribute name="Visible" type="xs:boolean" default="true" />
<xs:attribute name="Subtype" type="xs:string" />
<xs:attribute name="Print" type="xs:boolean" default="true" />
<xs:attribute name="NoZoom" type="xs:boolean" default="false" />
<xs:attribute name="NoRotate" type="xs:boolean" default="false" />
<xs:attribute name="ReadOnly" type="xs:boolean" default="true" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>