wipo-gbd-transformation 1.1.49__py3-none-any.whl → 1.1.50__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of wipo-gbd-transformation might be problematic. Click here for more details.
- gbdtransformation/brands/sgtm/filters.py +1 -1
- gbdtransformation/designs/__init__.py +2 -3
- gbdtransformation/designs/bnid/__init__.py +5 -0
- gbdtransformation/designs/bnid/filters.py +49 -0
- gbdtransformation/designs/bnid/schema +80 -0
- gbdtransformation/designs/bnid/template.yml +1 -0
- gbdtransformation/designs/bwid/__init__.py +6 -0
- gbdtransformation/designs/bwid/filters.py +52 -0
- gbdtransformation/designs/bwid/schema +101 -0
- gbdtransformation/designs/bwid/template.yml +1 -0
- gbdtransformation/designs/crid/__init__.py +5 -0
- gbdtransformation/designs/crid/filters.py +50 -0
- gbdtransformation/designs/crid/schema +94 -0
- gbdtransformation/designs/crid/template.yml +1 -0
- gbdtransformation/designs/cuid/__init__.py +5 -0
- gbdtransformation/designs/cuid/filters.py +47 -0
- gbdtransformation/designs/cuid/schema +98 -0
- gbdtransformation/designs/cuid/template.yml +1 -0
- gbdtransformation/designs/egid/__init__.py +5 -0
- gbdtransformation/designs/egid/filters.py +49 -0
- gbdtransformation/designs/egid/schema +82 -0
- gbdtransformation/designs/egid/template.yml +1 -0
- gbdtransformation/designs/filters.py +13 -1
- gbdtransformation/designs/idid/__init__.py +5 -0
- gbdtransformation/designs/idid/filters.py +54 -0
- gbdtransformation/designs/idid/schema +102 -0
- gbdtransformation/designs/idid/template.yml +1 -0
- gbdtransformation/designs/ipas/filters.py +1 -1
- gbdtransformation/designs/ipas/template.yml +85 -76
- gbdtransformation/designs/joid/__init__.py +6 -0
- gbdtransformation/designs/joid/filters.py +49 -0
- gbdtransformation/designs/joid/schema +97 -0
- gbdtransformation/designs/joid/template.yml +1 -0
- gbdtransformation/designs/keid/__init__.py +5 -0
- gbdtransformation/designs/keid/filters.py +49 -0
- gbdtransformation/designs/keid/schema +99 -0
- gbdtransformation/designs/keid/template.yml +1 -0
- gbdtransformation/designs/khid/__init__.py +5 -0
- gbdtransformation/designs/khid/filters.py +50 -0
- gbdtransformation/designs/khid/schema +100 -0
- gbdtransformation/designs/khid/template.yml +1 -0
- gbdtransformation/designs/laid/__init__.py +5 -0
- gbdtransformation/designs/laid/filters.py +49 -0
- gbdtransformation/designs/laid/schema +94 -0
- gbdtransformation/designs/laid/template.yml +1 -0
- gbdtransformation/designs/mnid/__init__.py +6 -0
- gbdtransformation/designs/mnid/filters.py +49 -0
- gbdtransformation/designs/mnid/schema +98 -0
- gbdtransformation/designs/mnid/template.yml +1 -0
- gbdtransformation/designs/myid/__init__.py +5 -0
- gbdtransformation/designs/myid/filters.py +48 -0
- gbdtransformation/designs/myid/schema +95 -0
- gbdtransformation/designs/myid/template.yml +1 -0
- gbdtransformation/designs/phid/__init__.py +5 -0
- gbdtransformation/designs/phid/filters.py +58 -0
- gbdtransformation/designs/phid/schema +95 -0
- gbdtransformation/designs/phid/template.yml +1 -0
- gbdtransformation/designs/sgid/__init__.py +6 -0
- gbdtransformation/designs/sgid/filters.py +53 -0
- gbdtransformation/designs/sgid/schema +115 -0
- gbdtransformation/designs/sgid/template.yml +1 -0
- gbdtransformation/designs/thid/__init__.py +4 -0
- gbdtransformation/designs/thid/filters.py +52 -0
- gbdtransformation/designs/thid/schema +98 -0
- gbdtransformation/designs/thid/template.yml +1 -0
- gbdtransformation/designs/tnid/__init__.py +5 -0
- gbdtransformation/designs/tnid/filters.py +54 -0
- gbdtransformation/designs/tnid/schema +96 -0
- gbdtransformation/designs/tnid/template.yml +1 -0
- gbdtransformation/designs/woid/__init__.py +2 -0
- gbdtransformation/designs/woid/filters.py +342 -0
- gbdtransformation/designs/woid/schema +592 -0
- gbdtransformation/designs/woid/template.yml +342 -0
- gbdtransformation/designs/xxid/template.yml +211 -123
- gbdtransformation/execs.py +8 -2
- {wipo_gbd_transformation-1.1.49.dist-info → wipo_gbd_transformation-1.1.50.dist-info}/METADATA +2 -1
- {wipo_gbd_transformation-1.1.49.dist-info → wipo_gbd_transformation-1.1.50.dist-info}/RECORD +81 -13
- {wipo_gbd_transformation-1.1.49.dist-info → wipo_gbd_transformation-1.1.50.dist-info}/LICENSE.md +0 -0
- {wipo_gbd_transformation-1.1.49.dist-info → wipo_gbd_transformation-1.1.50.dist-info}/WHEEL +0 -0
- {wipo_gbd_transformation-1.1.49.dist-info → wipo_gbd_transformation-1.1.50.dist-info}/entry_points.txt +0 -0
- {wipo_gbd_transformation-1.1.49.dist-info → wipo_gbd_transformation-1.1.50.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/Transaction
|
|
2
|
+
__/DesignTransactionBody
|
|
3
|
+
____/TransactionContentDetails
|
|
4
|
+
______/TransactionCode
|
|
5
|
+
______/TransactionData
|
|
6
|
+
________/DesignApplicationDetails
|
|
7
|
+
__________/DesignApplication
|
|
8
|
+
____________/ApplicantDetails
|
|
9
|
+
______________/ApplicantKey
|
|
10
|
+
____________/DesignApplicationDate
|
|
11
|
+
____________/DesignApplicationLanguageCode
|
|
12
|
+
____________/DesignApplicationNumber
|
|
13
|
+
____________/DesignDetails
|
|
14
|
+
______________/Design
|
|
15
|
+
________________/ApplicantDetails
|
|
16
|
+
__________________/Applicant
|
|
17
|
+
____________________/ApplicantAddressBook
|
|
18
|
+
______________________/FormattedNameAddress
|
|
19
|
+
________________________/Address
|
|
20
|
+
__________________________/AddressCountryCode
|
|
21
|
+
__________________________/FreeFormatAddress
|
|
22
|
+
____________________________/FreeFormatAddressLine
|
|
23
|
+
________________________/Name
|
|
24
|
+
__________________________/FreeFormatName
|
|
25
|
+
____________________________/FreeFormatNameDetails
|
|
26
|
+
______________________________/FreeFormatNameLine
|
|
27
|
+
______________________________/FreeFormatNameLine[@languageCode=ar]
|
|
28
|
+
________________/DesignCurrentStatusCode
|
|
29
|
+
________________/DesignCurrentStatusDate
|
|
30
|
+
________________/DesignDescription
|
|
31
|
+
________________/DesignEventDetails
|
|
32
|
+
__________________/DesignEvent
|
|
33
|
+
____________________/DesignEventCode
|
|
34
|
+
____________________/DesignEventDate
|
|
35
|
+
________________/DesignIdentifier
|
|
36
|
+
________________/DesignRepresentationSheetDetails
|
|
37
|
+
__________________/DesignRepresentationSheet
|
|
38
|
+
____________________/RepresentationSheetFilename
|
|
39
|
+
________________/DesignSpecimenDetails
|
|
40
|
+
__________________/DesignSpecimen
|
|
41
|
+
____________________/SpecimenDescription
|
|
42
|
+
____________________/SpecimenDescription[@languageCode=ar]
|
|
43
|
+
____________________/SpecimenIdentifier
|
|
44
|
+
________________/DesignTitle
|
|
45
|
+
________________/DesignTitle[@languageCode=ar]
|
|
46
|
+
________________/DesignTitle[@sequenceNumber=1]
|
|
47
|
+
________________/DesignerDetails
|
|
48
|
+
__________________/Designer
|
|
49
|
+
____________________/DesignerAddressBook
|
|
50
|
+
______________________/FormattedNameAddress
|
|
51
|
+
________________________/Address
|
|
52
|
+
__________________________/AddressCountryCode
|
|
53
|
+
__________________________/FreeFormatAddress
|
|
54
|
+
____________________________/FreeFormatAddressLine
|
|
55
|
+
________________________/Name
|
|
56
|
+
__________________________/FreeFormatName
|
|
57
|
+
____________________________/FreeFormatNameDetails
|
|
58
|
+
______________________________/FreeFormatNameLine
|
|
59
|
+
______________________________/FreeFormatNameLine[@languageCode=ar]
|
|
60
|
+
________________/IndicationProductDetails
|
|
61
|
+
__________________/IndicationProduct
|
|
62
|
+
____________________/ClassDescriptionDetails
|
|
63
|
+
______________________/ClassDescription
|
|
64
|
+
________________________/ClassNumber
|
|
65
|
+
________________________/ProductDescription
|
|
66
|
+
____________________/ClassificationKindCode
|
|
67
|
+
____________________/ClassificationVersion
|
|
68
|
+
________________/NoveltyStatement
|
|
69
|
+
________________/NoveltyStatement[@languageCode=ar]
|
|
70
|
+
________________/NoveltyStatement[@languageCode=en]
|
|
71
|
+
________________/PriorityDetails
|
|
72
|
+
__________________/Priority
|
|
73
|
+
____________________/PriorityCountryCode
|
|
74
|
+
____________________/PriorityDate
|
|
75
|
+
____________________/PriorityNumber
|
|
76
|
+
________________/PublicationDetails
|
|
77
|
+
__________________/Publication
|
|
78
|
+
____________________/PublicationDate
|
|
79
|
+
____________________/PublicationIdentifier
|
|
80
|
+
________________/RegistrationDate
|
|
81
|
+
________________/RegistrationNumber
|
|
82
|
+
________________/RepresentativeDetails
|
|
83
|
+
__________________/Representative
|
|
84
|
+
____________________/RepresentativeAddressBook
|
|
85
|
+
______________________/FormattedNameAddress
|
|
86
|
+
________________________/Address
|
|
87
|
+
__________________________/AddressCountryCode
|
|
88
|
+
__________________________/FreeFormatAddress
|
|
89
|
+
____________________________/FreeFormatAddressLine
|
|
90
|
+
________________________/Name
|
|
91
|
+
__________________________/FreeFormatName
|
|
92
|
+
____________________________/FreeFormatNameDetails
|
|
93
|
+
______________________________/FreeFormatNameLine
|
|
94
|
+
______________________________/FreeFormatNameLine[@languageCode=ar]
|
|
95
|
+
____________/RegistrationOfficeCode
|
|
96
|
+
______/TransactionIdentifier
|
|
97
|
+
______/TransactionSubCode
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{% include "ipas/template.yml" %}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# standard gbd definitions
|
|
2
|
+
import gbdtransformation.designs.ipas.filters as ipas
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
# namespaces defined in XML and to be ignored in procecssing
|
|
6
|
+
ignore_namespace = [
|
|
7
|
+
'http://www.wipo.int/standards/XMLSchema/designs',
|
|
8
|
+
'http://www.wipo.int/standards/XMLSchema/wo-designs'
|
|
9
|
+
]
|
|
10
|
+
def get_appdate(appdate, appnum):
|
|
11
|
+
return appdate
|
|
12
|
+
|
|
13
|
+
def get_designs_count(design, header):
|
|
14
|
+
return '1'
|
|
15
|
+
|
|
16
|
+
def get_designs_pos(design, header):
|
|
17
|
+
return '1'
|
|
18
|
+
|
|
19
|
+
def translate_kind(desgin, header):
|
|
20
|
+
code = header.TransactionCode.lower()
|
|
21
|
+
subcode = header.TransactionSubCode.lower()
|
|
22
|
+
if code in ['aripo industrial design', 'national design']:
|
|
23
|
+
return 'Industrial Design'
|
|
24
|
+
raise Exception('Type "%s" "%s" is not mapped.' % (code, subcode))
|
|
25
|
+
|
|
26
|
+
def translate_status(design):
|
|
27
|
+
status = design.DesignCurrentStatusCode
|
|
28
|
+
|
|
29
|
+
return ipas.translate_status(status)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def get_registration_nb(design, idstatus):
|
|
33
|
+
if design.RegistrationNumber:
|
|
34
|
+
return design.RegistrationNumber
|
|
35
|
+
|
|
36
|
+
return None
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def get_expiry_date(design, idstatus):
|
|
40
|
+
return ipas.get_expiry_date(design, idstatus)
|
|
41
|
+
|
|
42
|
+
def get_registration_date(design, idstatus):
|
|
43
|
+
return ipas.get_registration_date(design, idstatus)
|
|
44
|
+
|
|
45
|
+
def is_international(header):
|
|
46
|
+
return False
|
|
47
|
+
|
|
48
|
+
def get_ir_refnum(appnum):
|
|
49
|
+
return appnum
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/Transaction
|
|
2
|
+
__/DesignTransactionBody
|
|
3
|
+
____/TransactionContentDetails
|
|
4
|
+
______/TransactionCode
|
|
5
|
+
______/TransactionData
|
|
6
|
+
________/DesignApplicationDetails
|
|
7
|
+
__________/DesignApplication
|
|
8
|
+
____________/ApplicantDetails
|
|
9
|
+
______________/ApplicantKey
|
|
10
|
+
____________/DesignApplicationDate
|
|
11
|
+
____________/DesignApplicationLanguageCode
|
|
12
|
+
____________/DesignApplicationNumber
|
|
13
|
+
____________/DesignDetails
|
|
14
|
+
______________/Design
|
|
15
|
+
________________/ApplicantDetails
|
|
16
|
+
__________________/Applicant
|
|
17
|
+
____________________/ApplicantAddressBook
|
|
18
|
+
______________________/FormattedNameAddress
|
|
19
|
+
________________________/Address
|
|
20
|
+
__________________________/AddressCountryCode
|
|
21
|
+
__________________________/FreeFormatAddress
|
|
22
|
+
____________________________/FreeFormatAddressLine
|
|
23
|
+
________________________/Name
|
|
24
|
+
__________________________/FreeFormatName
|
|
25
|
+
____________________________/FreeFormatNameDetails
|
|
26
|
+
______________________________/FreeFormatNameLine
|
|
27
|
+
______________________________/FreeFormatNameLine[@languageCode=en]
|
|
28
|
+
________________/DesignCurrentStatusCode
|
|
29
|
+
________________/DesignCurrentStatusDate
|
|
30
|
+
________________/DesignDescription
|
|
31
|
+
________________/DesignEventDetails
|
|
32
|
+
__________________/DesignEvent
|
|
33
|
+
____________________/DesignEventCode
|
|
34
|
+
____________________/DesignEventDate
|
|
35
|
+
____________________/OfficeSpecificDesignEventName
|
|
36
|
+
________________/DesignIdentifier
|
|
37
|
+
________________/DesignRepresentationSheetDetails
|
|
38
|
+
__________________/DesignRepresentationSheet
|
|
39
|
+
____________________/RepresentationSheetFilename
|
|
40
|
+
________________/DesignSpecimenDetails
|
|
41
|
+
__________________/DesignSpecimen
|
|
42
|
+
____________________/SpecimenDescription
|
|
43
|
+
____________________/SpecimenDescription[@languageCode=]
|
|
44
|
+
____________________/SpecimenDescription[@languageCode=en]
|
|
45
|
+
____________________/SpecimenIdentifier
|
|
46
|
+
________________/DesignTitle
|
|
47
|
+
________________/DesignTitle[@languageCode=en]
|
|
48
|
+
________________/DesignTitle[@sequenceNumber=1]
|
|
49
|
+
________________/DesignerDetails
|
|
50
|
+
__________________/Designer
|
|
51
|
+
____________________/DesignerAddressBook
|
|
52
|
+
______________________/FormattedNameAddress
|
|
53
|
+
________________________/Address
|
|
54
|
+
__________________________/AddressCountryCode
|
|
55
|
+
__________________________/FreeFormatAddress
|
|
56
|
+
____________________________/FreeFormatAddressLine
|
|
57
|
+
________________________/Name
|
|
58
|
+
__________________________/FreeFormatName
|
|
59
|
+
____________________________/FreeFormatNameDetails
|
|
60
|
+
______________________________/FreeFormatNameLine
|
|
61
|
+
______________________________/FreeFormatNameLine[@languageCode=en]
|
|
62
|
+
________________/ExpiryDate
|
|
63
|
+
________________/IndicationProductDetails
|
|
64
|
+
__________________/IndicationProduct
|
|
65
|
+
____________________/ClassDescriptionDetails
|
|
66
|
+
______________________/ClassDescription
|
|
67
|
+
________________________/ClassNumber
|
|
68
|
+
________________________/ProductDescription
|
|
69
|
+
____________________/ClassificationKindCode
|
|
70
|
+
____________________/ClassificationVersion
|
|
71
|
+
________________/NoveltyStatement
|
|
72
|
+
________________/NoveltyStatement[@languageCode=en]
|
|
73
|
+
________________/PriorityDetails
|
|
74
|
+
__________________/Priority
|
|
75
|
+
____________________/PriorityCountryCode
|
|
76
|
+
____________________/PriorityDate
|
|
77
|
+
____________________/PriorityNumber
|
|
78
|
+
________________/PublicationDetails
|
|
79
|
+
__________________/Publication
|
|
80
|
+
____________________/PublicationDate
|
|
81
|
+
____________________/PublicationIdentifier
|
|
82
|
+
________________/RegistrationDate
|
|
83
|
+
________________/RegistrationNumber
|
|
84
|
+
________________/RepresentativeDetails
|
|
85
|
+
__________________/Representative
|
|
86
|
+
____________________/RepresentativeAddressBook
|
|
87
|
+
______________________/FormattedNameAddress
|
|
88
|
+
________________________/Address
|
|
89
|
+
__________________________/AddressCountryCode
|
|
90
|
+
__________________________/FreeFormatAddress
|
|
91
|
+
____________________________/FreeFormatAddressLine
|
|
92
|
+
________________________/Name
|
|
93
|
+
__________________________/FreeFormatName
|
|
94
|
+
____________________________/FreeFormatNameDetails
|
|
95
|
+
______________________________/FreeFormatNameLine
|
|
96
|
+
______________________________/FreeFormatNameLine[@languageCode=en]
|
|
97
|
+
____________/RegistrationOfficeCode
|
|
98
|
+
______/TransactionIdentifier
|
|
99
|
+
______/TransactionSubCode
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{% include "ipas/template.yml" %}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# standard gbd definitions
|
|
2
|
+
import gbdtransformation.designs.ipas.filters as ipas
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
# namespaces defined in XML and to be ignored in procecssing
|
|
6
|
+
ignore_namespace = [
|
|
7
|
+
'http://www.wipo.int/standards/XMLSchema/designs',
|
|
8
|
+
'http://www.wipo.int/standards/XMLSchema/wo-designs'
|
|
9
|
+
]
|
|
10
|
+
def get_appdate(appdate, appnum):
|
|
11
|
+
return appnum.split('/')[-2]
|
|
12
|
+
|
|
13
|
+
def get_designs_count(design, header):
|
|
14
|
+
return '1'
|
|
15
|
+
|
|
16
|
+
def get_designs_pos(design, header):
|
|
17
|
+
return '1'
|
|
18
|
+
|
|
19
|
+
def translate_kind(desgin, header):
|
|
20
|
+
code = header.TransactionCode.lower()
|
|
21
|
+
subcode = header.TransactionSubCode.lower()
|
|
22
|
+
if code == 'industrial design':
|
|
23
|
+
return 'Industrial Design'
|
|
24
|
+
raise Exception('Type "%s" "%s" is not mapped.' % (code, subcode))
|
|
25
|
+
|
|
26
|
+
def translate_status(design):
|
|
27
|
+
status = design.DesignCurrentStatusCode
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
return ipas.translate_status(status)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def get_registration_nb(design, idstatus):
|
|
34
|
+
if design.RegistrationNumber:
|
|
35
|
+
return design.RegistrationNumber
|
|
36
|
+
|
|
37
|
+
return None
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
def get_expiry_date(design, idstatus):
|
|
41
|
+
return ipas.get_expiry_date(design, idstatus)
|
|
42
|
+
|
|
43
|
+
def get_registration_date(design, idstatus):
|
|
44
|
+
return ipas.get_registration_date(design, idstatus)
|
|
45
|
+
|
|
46
|
+
def is_international(header):
|
|
47
|
+
return False
|
|
48
|
+
|
|
49
|
+
def get_ir_refnum(appnum):
|
|
50
|
+
return appnum
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/Transaction
|
|
2
|
+
__/DesignTransactionBody
|
|
3
|
+
____/TransactionContentDetails
|
|
4
|
+
______/TransactionCode
|
|
5
|
+
______/TransactionData
|
|
6
|
+
________/DesignApplicationDetails
|
|
7
|
+
__________/DesignApplication
|
|
8
|
+
____________/ApplicantDetails
|
|
9
|
+
______________/ApplicantKey
|
|
10
|
+
____________/DesignApplicationDate
|
|
11
|
+
____________/DesignApplicationLanguageCode
|
|
12
|
+
____________/DesignApplicationNumber
|
|
13
|
+
____________/DesignDetails
|
|
14
|
+
______________/Design
|
|
15
|
+
________________/ApplicantDetails
|
|
16
|
+
__________________/Applicant
|
|
17
|
+
____________________/ApplicantAddressBook
|
|
18
|
+
______________________/FormattedNameAddress
|
|
19
|
+
________________________/Address
|
|
20
|
+
__________________________/AddressCountryCode
|
|
21
|
+
__________________________/FreeFormatAddress
|
|
22
|
+
____________________________/FreeFormatAddressLine
|
|
23
|
+
________________________/Name
|
|
24
|
+
__________________________/FreeFormatName
|
|
25
|
+
____________________________/FreeFormatNameDetails
|
|
26
|
+
______________________________/FreeFormatNameLine
|
|
27
|
+
______________________________/FreeFormatNameLine[@languageCode=kh]
|
|
28
|
+
________________/DesignCurrentStatusCode
|
|
29
|
+
________________/DesignCurrentStatusDate
|
|
30
|
+
________________/DesignDescription
|
|
31
|
+
________________/DesignEventDetails
|
|
32
|
+
__________________/DesignEvent
|
|
33
|
+
____________________/DesignEventCode
|
|
34
|
+
____________________/DesignEventDate
|
|
35
|
+
____________________/OfficeSpecificDesignEventName
|
|
36
|
+
________________/DesignIdentifier
|
|
37
|
+
________________/DesignRepresentationSheetDetails
|
|
38
|
+
__________________/DesignRepresentationSheet
|
|
39
|
+
____________________/RepresentationSheetFilename
|
|
40
|
+
________________/DesignSpecimenDetails
|
|
41
|
+
__________________/DesignSpecimen
|
|
42
|
+
____________________/SpecimenDescription
|
|
43
|
+
____________________/SpecimenDescription[@languageCode=en]
|
|
44
|
+
____________________/SpecimenDescription[@languageCode=kh]
|
|
45
|
+
____________________/SpecimenIdentifier
|
|
46
|
+
________________/DesignTitle
|
|
47
|
+
________________/DesignTitle[@languageCode=kh]
|
|
48
|
+
________________/DesignTitle[@sequenceNumber=1]
|
|
49
|
+
________________/DesignerDetails
|
|
50
|
+
__________________/Designer
|
|
51
|
+
____________________/DesignerAddressBook
|
|
52
|
+
______________________/FormattedNameAddress
|
|
53
|
+
________________________/Address
|
|
54
|
+
__________________________/AddressCountryCode
|
|
55
|
+
__________________________/FreeFormatAddress
|
|
56
|
+
____________________________/FreeFormatAddressLine
|
|
57
|
+
________________________/Name
|
|
58
|
+
__________________________/FreeFormatName
|
|
59
|
+
____________________________/FreeFormatNameDetails
|
|
60
|
+
______________________________/FreeFormatNameLine
|
|
61
|
+
______________________________/FreeFormatNameLine[@languageCode=kh]
|
|
62
|
+
________________/ExpiryDate
|
|
63
|
+
________________/IndicationProductDetails
|
|
64
|
+
__________________/IndicationProduct
|
|
65
|
+
____________________/ClassDescriptionDetails
|
|
66
|
+
______________________/ClassDescription
|
|
67
|
+
________________________/ClassNumber
|
|
68
|
+
________________________/ProductDescription
|
|
69
|
+
____________________/ClassificationKindCode
|
|
70
|
+
____________________/ClassificationVersion
|
|
71
|
+
________________/NoveltyStatement
|
|
72
|
+
________________/NoveltyStatement[@languageCode=en]
|
|
73
|
+
________________/NoveltyStatement[@languageCode=kh]
|
|
74
|
+
________________/PriorityDetails
|
|
75
|
+
__________________/Priority
|
|
76
|
+
____________________/PriorityCountryCode
|
|
77
|
+
____________________/PriorityDate
|
|
78
|
+
____________________/PriorityNumber
|
|
79
|
+
________________/PublicationDetails
|
|
80
|
+
__________________/Publication
|
|
81
|
+
____________________/PublicationDate
|
|
82
|
+
____________________/PublicationIdentifier
|
|
83
|
+
________________/RegistrationDate
|
|
84
|
+
________________/RegistrationNumber
|
|
85
|
+
________________/RepresentativeDetails
|
|
86
|
+
__________________/Representative
|
|
87
|
+
____________________/RepresentativeAddressBook
|
|
88
|
+
______________________/FormattedNameAddress
|
|
89
|
+
________________________/Address
|
|
90
|
+
__________________________/AddressCountryCode
|
|
91
|
+
__________________________/FreeFormatAddress
|
|
92
|
+
____________________________/FreeFormatAddressLine
|
|
93
|
+
________________________/Name
|
|
94
|
+
__________________________/FreeFormatName
|
|
95
|
+
____________________________/FreeFormatNameDetails
|
|
96
|
+
______________________________/FreeFormatNameLine
|
|
97
|
+
______________________________/FreeFormatNameLine[@languageCode=kh]
|
|
98
|
+
____________/RegistrationOfficeCode
|
|
99
|
+
______/TransactionIdentifier
|
|
100
|
+
______/TransactionSubCode
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{% include "ipas/template.yml" %}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# standard gbd definitions
|
|
2
|
+
import gbdtransformation.designs.ipas.filters as ipas
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
# namespaces defined in XML and to be ignored in procecssing
|
|
6
|
+
ignore_namespace = [
|
|
7
|
+
'http://www.wipo.int/standards/XMLSchema/designs',
|
|
8
|
+
'http://www.wipo.int/standards/XMLSchema/wo-designs'
|
|
9
|
+
]
|
|
10
|
+
def get_appdate(appdate, appnum):
|
|
11
|
+
return appdate
|
|
12
|
+
|
|
13
|
+
def get_designs_count(design, header):
|
|
14
|
+
return '1'
|
|
15
|
+
|
|
16
|
+
def get_designs_pos(design, header):
|
|
17
|
+
return '1'
|
|
18
|
+
|
|
19
|
+
def translate_kind(desgin, header):
|
|
20
|
+
code = header.TransactionCode.lower()
|
|
21
|
+
subcode = header.TransactionSubCode.lower()
|
|
22
|
+
if code == 'industrial designs':
|
|
23
|
+
return 'Industrial Design'
|
|
24
|
+
raise Exception('Type "%s" "%s" is not mapped.' % (code, subcode))
|
|
25
|
+
|
|
26
|
+
def translate_status(design):
|
|
27
|
+
status = design.DesignCurrentStatusCode
|
|
28
|
+
|
|
29
|
+
return ipas.translate_status(status)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def get_registration_nb(design, idstatus):
|
|
33
|
+
if design.RegistrationNumber:
|
|
34
|
+
return design.RegistrationNumber
|
|
35
|
+
|
|
36
|
+
return None
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def get_expiry_date(design, idstatus):
|
|
40
|
+
return ipas.get_expiry_date(design, idstatus)
|
|
41
|
+
|
|
42
|
+
def get_registration_date(design, idstatus):
|
|
43
|
+
return ipas.get_registration_date(design, idstatus)
|
|
44
|
+
|
|
45
|
+
def is_international(header):
|
|
46
|
+
return False
|
|
47
|
+
|
|
48
|
+
def get_ir_refnum(appnum):
|
|
49
|
+
return appnum
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/Transaction
|
|
2
|
+
__/DesignTransactionBody
|
|
3
|
+
____/TransactionContentDetails
|
|
4
|
+
______/TransactionCode
|
|
5
|
+
______/TransactionData
|
|
6
|
+
________/DesignApplicationDetails
|
|
7
|
+
__________/DesignApplication
|
|
8
|
+
____________/ApplicantDetails
|
|
9
|
+
______________/ApplicantKey
|
|
10
|
+
____________/DesignApplicationDate
|
|
11
|
+
____________/DesignApplicationLanguageCode
|
|
12
|
+
____________/DesignApplicationNumber
|
|
13
|
+
____________/DesignDetails
|
|
14
|
+
______________/Design
|
|
15
|
+
________________/ApplicantDetails
|
|
16
|
+
__________________/Applicant
|
|
17
|
+
____________________/ApplicantAddressBook
|
|
18
|
+
______________________/FormattedNameAddress
|
|
19
|
+
________________________/Address
|
|
20
|
+
__________________________/AddressCountryCode
|
|
21
|
+
__________________________/FreeFormatAddress
|
|
22
|
+
____________________________/FreeFormatAddressLine
|
|
23
|
+
________________________/Name
|
|
24
|
+
__________________________/FreeFormatName
|
|
25
|
+
____________________________/FreeFormatNameDetails
|
|
26
|
+
______________________________/FreeFormatNameLine
|
|
27
|
+
______________________________/FreeFormatNameLine[@languageCode=la]
|
|
28
|
+
________________/DesignCurrentStatusCode
|
|
29
|
+
________________/DesignCurrentStatusDate
|
|
30
|
+
________________/DesignDescription
|
|
31
|
+
________________/DesignEventDetails
|
|
32
|
+
__________________/DesignEvent
|
|
33
|
+
____________________/DesignEventCode
|
|
34
|
+
____________________/DesignEventDate
|
|
35
|
+
____________________/OfficeSpecificDesignEventName
|
|
36
|
+
________________/DesignIdentifier
|
|
37
|
+
________________/DesignRepresentationSheetDetails
|
|
38
|
+
__________________/DesignRepresentationSheet
|
|
39
|
+
____________________/RepresentationSheetFilename
|
|
40
|
+
________________/DesignTitle
|
|
41
|
+
________________/DesignTitle[@languageCode=la]
|
|
42
|
+
________________/DesignTitle[@sequenceNumber=1]
|
|
43
|
+
________________/DesignerDetails
|
|
44
|
+
__________________/Designer
|
|
45
|
+
____________________/DesignerAddressBook
|
|
46
|
+
______________________/FormattedNameAddress
|
|
47
|
+
________________________/Address
|
|
48
|
+
__________________________/AddressCountryCode
|
|
49
|
+
__________________________/FreeFormatAddress
|
|
50
|
+
____________________________/FreeFormatAddressLine
|
|
51
|
+
________________________/Name
|
|
52
|
+
__________________________/FreeFormatName
|
|
53
|
+
____________________________/FreeFormatNameDetails
|
|
54
|
+
______________________________/FreeFormatNameLine
|
|
55
|
+
______________________________/FreeFormatNameLine[@languageCode=la]
|
|
56
|
+
________________/ExpiryDate
|
|
57
|
+
________________/IndicationProductDetails
|
|
58
|
+
__________________/IndicationProduct
|
|
59
|
+
____________________/ClassDescriptionDetails
|
|
60
|
+
______________________/ClassDescription
|
|
61
|
+
________________________/ClassNumber
|
|
62
|
+
________________________/ProductDescription
|
|
63
|
+
____________________/ClassificationKindCode
|
|
64
|
+
____________________/ClassificationVersion
|
|
65
|
+
________________/NoveltyStatement
|
|
66
|
+
________________/NoveltyStatement[@languageCode=la]
|
|
67
|
+
________________/PriorityDetails
|
|
68
|
+
__________________/Priority
|
|
69
|
+
____________________/PriorityCountryCode
|
|
70
|
+
____________________/PriorityDate
|
|
71
|
+
____________________/PriorityNumber
|
|
72
|
+
________________/PublicationDetails
|
|
73
|
+
__________________/Publication
|
|
74
|
+
____________________/PublicationDate
|
|
75
|
+
____________________/PublicationIdentifier
|
|
76
|
+
____________________/PublicationSection
|
|
77
|
+
________________/RegistrationDate
|
|
78
|
+
________________/RegistrationNumber
|
|
79
|
+
________________/RepresentativeDetails
|
|
80
|
+
__________________/Representative
|
|
81
|
+
____________________/RepresentativeAddressBook
|
|
82
|
+
______________________/FormattedNameAddress
|
|
83
|
+
________________________/Address
|
|
84
|
+
__________________________/AddressCountryCode
|
|
85
|
+
__________________________/FreeFormatAddress
|
|
86
|
+
____________________________/FreeFormatAddressLine
|
|
87
|
+
________________________/Name
|
|
88
|
+
__________________________/FreeFormatName
|
|
89
|
+
____________________________/FreeFormatNameDetails
|
|
90
|
+
______________________________/FreeFormatNameLine
|
|
91
|
+
______________________________/FreeFormatNameLine[@languageCode=la]
|
|
92
|
+
____________/RegistrationOfficeCode
|
|
93
|
+
______/TransactionIdentifier
|
|
94
|
+
______/TransactionSubCode
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{% include "ipas/template.yml" %}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# standard gbd definitions
|
|
2
|
+
import gbdtransformation.designs.ipas.filters as ipas
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
# namespaces defined in XML and to be ignored in procecssing
|
|
6
|
+
ignore_namespace = [
|
|
7
|
+
'http://www.wipo.int/standards/XMLSchema/designs',
|
|
8
|
+
'http://www.wipo.int/standards/XMLSchema/wo-designs'
|
|
9
|
+
]
|
|
10
|
+
def get_appdate(appdate, appnum):
|
|
11
|
+
return appnum.split('-')[-2]
|
|
12
|
+
|
|
13
|
+
def get_designs_count(design, header):
|
|
14
|
+
return '1'
|
|
15
|
+
|
|
16
|
+
def get_designs_pos(design, header):
|
|
17
|
+
return '1'
|
|
18
|
+
|
|
19
|
+
def translate_kind(desgin, header):
|
|
20
|
+
code = header.TransactionCode.lower()
|
|
21
|
+
subcode = header.TransactionSubCode.lower()
|
|
22
|
+
if code == 'industrial design':
|
|
23
|
+
return 'Industrial Design'
|
|
24
|
+
raise Exception('Type "%s" "%s" is not mapped.' % (code, subcode))
|
|
25
|
+
|
|
26
|
+
def translate_status(design):
|
|
27
|
+
status = design.DesignCurrentStatusCode
|
|
28
|
+
|
|
29
|
+
return ipas.translate_status(status)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def get_registration_nb(design, idstatus):
|
|
33
|
+
if design.RegistrationNumber:
|
|
34
|
+
return design.RegistrationNumber
|
|
35
|
+
|
|
36
|
+
return None
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def get_expiry_date(design, idstatus):
|
|
40
|
+
return ipas.get_expiry_date(design, idstatus)
|
|
41
|
+
|
|
42
|
+
def get_registration_date(design, idstatus):
|
|
43
|
+
return ipas.get_registration_date(design, idstatus)
|
|
44
|
+
|
|
45
|
+
def is_international(header):
|
|
46
|
+
return False
|
|
47
|
+
|
|
48
|
+
def get_ir_refnum(appnum):
|
|
49
|
+
return appnum
|