-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathD3.xsd
188 lines (174 loc) · 9.25 KB
/
D3.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<?xml version="1.0" encoding="utf-8"?>
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ip2sg" xmlns="http://ip2sg">
<xs:include schemaLocation="Common/Applicant.xsd" />
<xs:include schemaLocation="Common/AddressForService.xsd" />
<xs:include schemaLocation="Common/CommonTypes.xsd" />
<xs:include schemaLocation="Common/CountryDSPriority.xsd" />
<xs:element name="eFilingApplication" type="D3" />
<!--Common Details-->
<xs:complexType name="D3">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="CustRefNbr" type="CustRefNbr" />
<xs:element minOccurs="0" maxOccurs="1" name="EFileRefNbr" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="IPOSRefNbr" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="unbounded" ref="Applicant" />
<xs:element minOccurs="1" maxOccurs="50" name="DesignDetails" type="DesignDetails"></xs:element>
<xs:element minOccurs="0" maxOccurs="1" ref="AddressForService" />
<xs:element minOccurs="0" maxOccurs="1" name="DeclarationName" type="xs:string" />
</xs:sequence>
<xs:attribute name="formType" type="formtypeD3" use="required" />
</xs:complexType>
<!--Design Details-->
<xs:complexType name ="DesignDetails">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="SetOfArticlesOrNonPhysicalProducts" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="NoOfArticles" type="xs:int" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="ArticleName" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="NoOfNonPhysicalProducts" type="xs:int" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="NonPhysicalProducts" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="ClassSubClass" type="ClassSubClass" />
<xs:element minOccurs="0" maxOccurs="1" name="ApplicantRights" type="ApplicantRights" />
<xs:element minOccurs="0" maxOccurs="1" name="ApplicantRightsOthersDesc">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500">
</xs:maxLength>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element minOccurs="0" maxOccurs="unbounded" name="Novelty" type="Novelty" />
<xs:element minOccurs="0" maxOccurs="1" name="NoveltyOthersDesc">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500">
</xs:maxLength>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element minOccurs="0" maxOccurs="unbounded" name="Disclaimer" type="Disclaimer" />
<xs:element minOccurs="0" maxOccurs="1" name="DisclaimerOthersDesc">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500">
</xs:maxLength>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element minOccurs="0" maxOccurs="unbounded" name="PriorityClaim" type="PriorityClaim" />
<xs:element minOccurs="0" maxOccurs="1" name="AssociatedDesign" type="ApplnNbr" />
<xs:element minOccurs="0" maxOccurs="unbounded" name="Disclosure" type="Disclosure" />
<xs:element minOccurs="0" maxOccurs="1" name="DisclosureCircumstances">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500">
</xs:maxLength>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="DisclosureDate" type="xs:date" />
<xs:element minOccurs="0" maxOccurs="1" name="RequestForDeferment" type="xs:boolean" />
<xs:element minOccurs="0" maxOccurs="1" name="Attachments" type="Attachments" />
</xs:sequence>
</xs:complexType>
<!--Classification-->
<xs:complexType name="ClassSubClass">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="class" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="subclass" type="xs:string" />
</xs:sequence>
</xs:complexType>
<!--ApplicantRights-->
<xs:complexType name="ApplicantRights">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="ApplicantDesigner" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="VirtueAssignment" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="VirtueEmployment" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="ApplicantOthers" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
<!--Novelty-->
<xs:complexType name="Novelty">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="Novelty" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="Shape" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="Pattern" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="Colours" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="NoveltyOthers" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
<!--Disclaimer-->
<xs:complexType name="Disclaimer">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="NoClaim" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="Characters" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="Letters" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="Numerals" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="Symbols" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="Trademarks" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="Words" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="BrokenLines" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="ShadedPortions" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="DisclaimerOthers" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
<!--PriorityClaim-->
<xs:complexType name="PriorityClaim">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="PriorityCountryCode" type="DSPriorityCountry" />
<xs:element minOccurs="1" maxOccurs="1" name="PriorityDate" type="xs:date" />
</xs:sequence>
</xs:complexType>
<!--Disclosure-->
<xs:complexType name="Disclosure">
<xs:sequence>
<!--Following items will apply for disclosures that take place before the effective date (30/Oct/2017) of the Designs changes.-->
<xs:element minOccurs="1" maxOccurs="1" name="Disclosure81a" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="Disclosure81b" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="Disclosure81c" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="Disclosure81d" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="Disclosure82" type="xs:boolean" />
<!--Following items will apply for disclosures that take place on or after the effective date (30/Oct/2017) of the Designs changes.-->
<xs:element minOccurs="1" maxOccurs="1" name="Disclosure8A1a" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="Disclosure8B1b" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="Disclosure8C1c" type="xs:boolean" />
<xs:element minOccurs="1" maxOccurs="1" name="Disclosure8D1d" type="xs:boolean" />
<!--Apply for disclosures that take place before the filing date of the Form D3, if the Form D3 is filed within 12 months -->
<!--after the effective date (30/Oct/2017) of the Designs changes.-->
<xs:element minOccurs="1" maxOccurs="1" name="Disclosure8B" type="xs:boolean" />
</xs:sequence>
</xs:complexType>
<xs:simpleType name="formtypeD3">
<xs:restriction base="xs:string">
<xs:enumeration value="D3" />
</xs:restriction>
</xs:simpleType>
<!--Attachments-->
<xs:complexType name="Attachments">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="unbounded" name="attachment" type="attachmentD3" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="attachmentD3">
<xs:attribute name="Id" type="xs:string" />
<xs:attribute name="extension" type="extensionD3" use="required" />
<xs:attribute name="doctypecode" type="doctypeD3" use="required" />
<xs:attribute name="IsDefault" type="xs:boolean" use="required" />
</xs:complexType>
<xs:simpleType name="extensionD3">
<xs:restriction base="xs:string">
<!-- We are handling the doc Type extension validation in ValidateAttachments Method
<xs:enumeration value=".pdf" />
<xs:enumeration value=".jpg" />
<xs:enumeration value=".jpeg" />
-->
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="doctypeD3">
<xs:restriction base="xs:string">
<xs:enumeration value="RDCVL"/>
<xs:enumeration value="RDOTH"/>
<xs:enumeration value="RDPRD"/>
<xs:enumeration value="RDIMG"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>