-
Notifications
You must be signed in to change notification settings - Fork 0
/
PF8.xsd
executable file
·136 lines (136 loc) · 5.62 KB
/
PF8.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
<?xml version="1.0" encoding="utf-8"?>
<xs:schema
targetNamespace="http://ip2sg"
elementFormDefault="qualified"
xmlns="http://ip2sg"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
>
<xs:include schemaLocation="Common/AddressForService.xsd" />
<xs:include schemaLocation="Common/CommonTypes.xsd" />
<xs:include schemaLocation="Common/CountryCodes.xsd" />
<xs:include schemaLocation="Common/Nationality.xsd" />
<xs:element name="eFilingApplication" type="PF8"></xs:element>
<xs:complexType name="PF8">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="CustRefNbr" type="CustRefNbr"></xs:element>
<xs:element minOccurs="1" maxOccurs="1" name="ApplnNo" type="ApplnNbr"></xs:element>
<xs:element minOccurs="1" maxOccurs="unbounded" name="DetailsOfInventor" type="DetailsOfInventor"></xs:element>
<xs:element minOccurs="1" maxOccurs="1" name="DerivedRightApplication" type="DerivedRightApplication"></xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="DerivedRightOtherDesc">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1024">
</xs:maxLength>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element minOccurs="1" maxOccurs="1" ref="AddressForService" />
<xs:element minOccurs="1" maxOccurs="1" name="DeclarationName" type="DeclarationName"></xs:element>
</xs:sequence>
<xs:attribute name="formType" type="formtype_pf8" use="required" />
</xs:complexType>
<xs:complexType name="DetailsOfInventor">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="UEN" type="xs:string" />
<xs:element minOccurs="0" maxOccurs="1" name="Name" type="xs:string" />
<xs:element minOccurs="1" maxOccurs="1" name="Address" type="address_pf8" />
<xs:element minOccurs="1" maxOccurs="1" name="Citizenship" type="Nationality" />
<xs:element minOccurs="1" maxOccurs="1" name="Country" type="CountryCode" />
<xs:element minOccurs="1" maxOccurs="1" name="IsSgResident" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="address_pf8">
<xs:sequence>
<xs:element name="AddressType" default ="Singapore" maxOccurs="1" minOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Singapore"/>
<xs:enumeration value="ForeignWIPO"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CareOf" maxOccurs="1" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="256"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PostalCode" maxOccurs="1" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="6"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BlockHouseNo" maxOccurs="1" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Level" maxOccurs="1" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UnitNo" maxOccurs="1" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="6"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BuildingName" maxOccurs="1" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="StreetName" maxOccurs="1" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="90"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Address1" maxOccurs="1" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="200"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Address2" maxOccurs="1" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="200"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Address3" maxOccurs="1" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="200"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="DerivedRightApplication">
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" name="contract" default="false" type="xs:boolean"></xs:element>
<xs:element minOccurs="1" maxOccurs="1" name="assignment" default="false" type="xs:boolean"></xs:element>
<xs:element minOccurs="1" maxOccurs="1" name="others" default="false" type="xs:boolean"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="formtype_pf8">
<xs:restriction base="xs:string">
<xs:enumeration value="PF8" />
</xs:restriction>
</xs:simpleType>
</xs:schema>