wipo-gbd-transformation 1.1.58__py3-none-any.whl → 1.1.60__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/autm/filters.py +8 -3
- gbdtransformation/brands/gdtm/__init__.py +5 -0
- gbdtransformation/brands/gdtm/filters.py +61 -0
- gbdtransformation/brands/gdtm/schema +87 -0
- gbdtransformation/brands/gdtm/template.yml +1 -0
- gbdtransformation/brands/gdtm/tests/__init__.py +0 -0
- gbdtransformation/brands/istm/filters.py +4 -4
- gbdtransformation/brands/rutm/__init__.py +4 -1
- gbdtransformation/brands/rutm/filters.py +10 -5
- gbdtransformation/brands/ustm/filters.py +4 -2
- gbdtransformation/brands/wotm/filters.py +4 -2
- {wipo_gbd_transformation-1.1.58.dist-info → wipo_gbd_transformation-1.1.60.dist-info}/METADATA +1 -1
- {wipo_gbd_transformation-1.1.58.dist-info → wipo_gbd_transformation-1.1.60.dist-info}/RECORD +17 -18
- {wipo_gbd_transformation-1.1.58.dist-info → wipo_gbd_transformation-1.1.60.dist-info}/WHEEL +1 -1
- gbdtransformation/.DS_Store +0 -0
- gbdtransformation/designs/bgid/__init__.py +0 -5
- gbdtransformation/designs/bgid/filters.py +0 -91
- gbdtransformation/designs/bgid/schema +0 -106
- gbdtransformation/designs/bgid/template.yml +0 -169
- wipo_gbd_transformation-1.1.58.dist-info/SOURCES_Stefans-Mac-Studio.local_Sep-18-063455-2024_Conflict.txt +0 -690
- {wipo_gbd_transformation-1.1.58.dist-info → wipo_gbd_transformation-1.1.60.dist-info}/LICENSE.md +0 -0
- {wipo_gbd_transformation-1.1.58.dist-info → wipo_gbd_transformation-1.1.60.dist-info}/entry_points.txt +0 -0
- {wipo_gbd_transformation-1.1.58.dist-info → wipo_gbd_transformation-1.1.60.dist-info}/top_level.txt +0 -0
|
@@ -32,7 +32,8 @@ def translate_feature(feature, words=None):
|
|
|
32
32
|
if _lst_has(lst, 'Feel'): return 'Touch'
|
|
33
33
|
if _lst_has(lst, 'Other'): return 'Other'
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
return 'Other'
|
|
36
|
+
#raise Exception('Feature "%s" unmapped' % feature)
|
|
36
37
|
|
|
37
38
|
def translate_status(status):
|
|
38
39
|
if not status: return 'Unknown'
|
|
@@ -44,7 +45,8 @@ def translate_status(status):
|
|
|
44
45
|
status_translated = _status_map.get(status.lower(), None)
|
|
45
46
|
|
|
46
47
|
if not status_translated:
|
|
47
|
-
|
|
48
|
+
return 'Unknown'
|
|
49
|
+
#raise Exception('Status "%s" unmapped' % status)
|
|
48
50
|
|
|
49
51
|
return status_translated
|
|
50
52
|
|
|
@@ -59,7 +61,8 @@ def translate_kind(kind):
|
|
|
59
61
|
|
|
60
62
|
if not kind: return ['Individual']
|
|
61
63
|
|
|
62
|
-
|
|
64
|
+
return ['Other']
|
|
65
|
+
#raise Exception('kind "%s" is not mapped.' % kind)
|
|
63
66
|
|
|
64
67
|
|
|
65
68
|
# -------------------------
|
|
@@ -178,6 +181,8 @@ _status_map = {
|
|
|
178
181
|
'published: deferred awaiting certification rules assessment': 'Pending',
|
|
179
182
|
'published: cancelled at the request of ib': 'Ended',
|
|
180
183
|
|
|
184
|
+
'accepted: awaiting publication': 'Registered',
|
|
185
|
+
|
|
181
186
|
'registered: registered/protected': 'Registered',
|
|
182
187
|
'protected: registered/protected': 'Registered',
|
|
183
188
|
'registered: renewal due': 'Registered',
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import gbdtransformation.brands.ipas.filters as ipas
|
|
2
|
+
import gbdtransformation.common.filters as commons
|
|
3
|
+
|
|
4
|
+
ignore_namespace = [
|
|
5
|
+
'http://www.wipo.int/standards/XMLSchema/trademarks',
|
|
6
|
+
'http://www.wipo.int/standards/XMLSchema/wo-trademarks']
|
|
7
|
+
|
|
8
|
+
def get_appdate(appdate, appnum):
|
|
9
|
+
return ipas.get_appdate(appdate, appnum)
|
|
10
|
+
|
|
11
|
+
def translate_type(header):
|
|
12
|
+
code = header.TransactionCode
|
|
13
|
+
if code == 'Trademark': return 'TRADEMARK'
|
|
14
|
+
|
|
15
|
+
raise Exception('Type "%s" is not mapped.' % code)
|
|
16
|
+
|
|
17
|
+
def translate_kind(trademark, header):
|
|
18
|
+
subcode = header.TransactionSubCode
|
|
19
|
+
if subcode == 'Trademarks': return ['Individual']
|
|
20
|
+
# it is None for all
|
|
21
|
+
# kind = trademark.KindMark
|
|
22
|
+
raise Exception('Kind "%s" not mapped.' % subcode)
|
|
23
|
+
|
|
24
|
+
def translate_status(trademark):
|
|
25
|
+
status = trademark.MarkCurrentStatusCode
|
|
26
|
+
|
|
27
|
+
return ipas.translate_status(status)
|
|
28
|
+
|
|
29
|
+
def translate_feature(trademark):
|
|
30
|
+
feature = trademark.MarkFeature
|
|
31
|
+
if not feature: return 'Undefined'
|
|
32
|
+
|
|
33
|
+
return ipas.translate_feature(feature)
|
|
34
|
+
|
|
35
|
+
def translate_event(event):
|
|
36
|
+
if not event: return 'Unknown'
|
|
37
|
+
|
|
38
|
+
return ipas.translate_event(event)
|
|
39
|
+
|
|
40
|
+
def verbal_lang_map(markVerbalElements, applang=None):
|
|
41
|
+
return ipas.verbal_lang_map(markVerbalElements, applang=applang)
|
|
42
|
+
|
|
43
|
+
def get_registration_nb(trademark, tmstatus):
|
|
44
|
+
if trademark.RegistrationNumber:
|
|
45
|
+
return trademark.RegistrationNumber
|
|
46
|
+
return None
|
|
47
|
+
|
|
48
|
+
def get_expiry_date(trademark, tmstatus):
|
|
49
|
+
return ipas.get_expiry_date(trademark, tmstatus)
|
|
50
|
+
|
|
51
|
+
def get_registration_date(trademark, tmstatus):
|
|
52
|
+
return ipas.get_registration_date(trademark, tmstatus)
|
|
53
|
+
|
|
54
|
+
def is_international(header):
|
|
55
|
+
return False
|
|
56
|
+
|
|
57
|
+
def get_ir_refnum(appnum):
|
|
58
|
+
return
|
|
59
|
+
|
|
60
|
+
def get_goods_services(goods_services):
|
|
61
|
+
return ipas.get_goods_services(goods_services)
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/Transaction
|
|
2
|
+
__/TradeMarkTransactionBody
|
|
3
|
+
____/TransactionContentDetails
|
|
4
|
+
______/TransactionCode
|
|
5
|
+
______/TransactionData
|
|
6
|
+
________/TradeMarkApplication
|
|
7
|
+
__________/TradeMarkDetails
|
|
8
|
+
____________/TradeMark
|
|
9
|
+
______________/ApplicantDetails
|
|
10
|
+
________________/Applicant
|
|
11
|
+
__________________/ApplicantAddressBook
|
|
12
|
+
____________________/FormattedNameAddress
|
|
13
|
+
______________________/Address
|
|
14
|
+
________________________/AddressCountryCode
|
|
15
|
+
________________________/FreeFormatAddress
|
|
16
|
+
__________________________/FreeFormatAddressLine
|
|
17
|
+
______________________/Name
|
|
18
|
+
________________________/FreeFormatName
|
|
19
|
+
__________________________/FreeFormatNameDetails
|
|
20
|
+
____________________________/FreeFormatNameLine
|
|
21
|
+
____________________________/FreeFormatNameLine[@languageCode=en]
|
|
22
|
+
______________/ApplicationDate
|
|
23
|
+
______________/ApplicationLanguageCode
|
|
24
|
+
______________/ApplicationNumber
|
|
25
|
+
______________/ExpiryDate
|
|
26
|
+
______________/GoodsServicesDetails
|
|
27
|
+
________________/GoodsServices
|
|
28
|
+
__________________/ClassDescriptionDetails
|
|
29
|
+
____________________/ClassDescription
|
|
30
|
+
______________________/ClassNumber
|
|
31
|
+
______________________/GoodsServicesDescription
|
|
32
|
+
______________________/GoodsServicesDescription[@languageCode=en]
|
|
33
|
+
______________/KindMark
|
|
34
|
+
______________/MarkCurrentStatusCode
|
|
35
|
+
______________/MarkCurrentStatusDate
|
|
36
|
+
______________/MarkDisclaimerDetails
|
|
37
|
+
________________/MarkDisclaimer
|
|
38
|
+
________________/MarkDisclaimer[@languageCode=en]
|
|
39
|
+
______________/MarkEventDetails
|
|
40
|
+
________________/MarkEvent
|
|
41
|
+
__________________/MarkEventCode
|
|
42
|
+
__________________/MarkEventDate
|
|
43
|
+
__________________/OfficeSpecificMarkEventCode
|
|
44
|
+
__________________/OfficeSpecificMarkEventDescription
|
|
45
|
+
__________________/OfficeSpecificMarkEventDescription[@languageCode=en]
|
|
46
|
+
______________/MarkFeature
|
|
47
|
+
______________/MarkImageDetails
|
|
48
|
+
________________/MarkImage
|
|
49
|
+
__________________/MarkImageCategory
|
|
50
|
+
____________________/CategoryCodeDetails
|
|
51
|
+
______________________/CategoryCode
|
|
52
|
+
____________________/CategoryKind
|
|
53
|
+
____________________/CategoryVersion
|
|
54
|
+
__________________/MarkImageColourClaimedText
|
|
55
|
+
__________________/MarkImageColourClaimedText[@languageCode=en]
|
|
56
|
+
__________________/MarkImageFileFormat
|
|
57
|
+
__________________/MarkImageFilename
|
|
58
|
+
______________/PriorityDetails
|
|
59
|
+
________________/Priority
|
|
60
|
+
__________________/PriorityCountryCode
|
|
61
|
+
__________________/PriorityDate
|
|
62
|
+
__________________/PriorityNumber
|
|
63
|
+
______________/PublicationDetails
|
|
64
|
+
________________/Publication
|
|
65
|
+
__________________/PublicationDate
|
|
66
|
+
__________________/PublicationIdentifier
|
|
67
|
+
______________/RegistrationDate
|
|
68
|
+
______________/RegistrationNumber
|
|
69
|
+
______________/RegistrationOfficeCode
|
|
70
|
+
______________/RepresentativeDetails
|
|
71
|
+
________________/Representative
|
|
72
|
+
__________________/RepresentativeAddressBook
|
|
73
|
+
____________________/FormattedNameAddress
|
|
74
|
+
______________________/Address
|
|
75
|
+
________________________/AddressCountryCode
|
|
76
|
+
________________________/FreeFormatAddress
|
|
77
|
+
__________________________/FreeFormatAddressLine
|
|
78
|
+
______________________/Name
|
|
79
|
+
________________________/FreeFormatName
|
|
80
|
+
__________________________/FreeFormatNameDetails
|
|
81
|
+
____________________________/FreeFormatNameLine
|
|
82
|
+
____________________________/FreeFormatNameLine[@languageCode=en]
|
|
83
|
+
______________/WordMarkSpecification
|
|
84
|
+
________________/MarkVerbalElementText
|
|
85
|
+
________________/MarkVerbalElementText[@languageCode=en]
|
|
86
|
+
______/TransactionIdentifier
|
|
87
|
+
______/TransactionSubCode
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{% include "ipas/template.yml" %}
|
|
File without changes
|
|
@@ -30,13 +30,13 @@ def translate_status(status, status_is):
|
|
|
30
30
|
if status_is == 'Synja': return 'Ended'
|
|
31
31
|
if status_is == 'Umsögn hjá NS': return 'Pending'
|
|
32
32
|
|
|
33
|
-
|
|
34
33
|
if status == 'Filed': return 'Pending'
|
|
35
34
|
if status == 'Expired': return 'Expired'
|
|
36
35
|
if status == 'Ended': return 'Ended'
|
|
37
36
|
if status == 'Registered': return 'Registered'
|
|
38
|
-
return 'Unknown'
|
|
39
37
|
|
|
38
|
+
return 'Unknown'
|
|
39
|
+
#raise Exception('status "%s" unmapped' % status)
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
def translate_feature(feature, is3D):
|
|
@@ -55,6 +55,6 @@ def translate_feature(feature, is3D):
|
|
|
55
55
|
if feature == 'mynsturmerki': return "Pattern"
|
|
56
56
|
if feature == 'margmiðlunarmerki': return "Multimedia"
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
raise Exception('feature "%s" unmapped' % feature)
|
|
58
|
+
return 'Other'
|
|
59
|
+
#raise Exception('feature "%s" unmapped' % feature)
|
|
60
60
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# namespaces defined in XML and to be ignored
|
|
1
|
+
# namespaces defined in XML and to be ignored during processing
|
|
2
2
|
ignore_namespace = [
|
|
3
3
|
'http://www.wipo.int/standards/XMLSchema/ST96/Common',
|
|
4
4
|
'http://www.wipo.int/standards/XMLSchema/ST96/Trademark',
|
|
5
|
-
'urn:ru:rupto:trademark'
|
|
5
|
+
'urn:ru:rupto:trademark',
|
|
6
|
+
'http://www1.fips.ru/standards/XMLSchema/Publication/TM/96/ST96Schema_TM_V1_6/RUTrademark/Document/TrademarkTransaction.xsd'
|
|
6
7
|
]
|
|
7
8
|
|
|
8
|
-
|
|
9
9
|
# -------------------------------------------------------------
|
|
10
10
|
# data translation helpers:
|
|
11
11
|
# translate values from office interpretation to gbd equivalent
|
|
@@ -13,8 +13,8 @@ ignore_namespace = [
|
|
|
13
13
|
def translate_kind(kind):
|
|
14
14
|
|
|
15
15
|
if kind == 'Trademark': return ['Individual']
|
|
16
|
-
if kind == 'Collective trademark
|
|
17
|
-
if kind == 'Certification mark
|
|
16
|
+
if kind == 'Collective trademark': return ['Collective']
|
|
17
|
+
if kind == 'Certification mark': return ['Certificate']
|
|
18
18
|
|
|
19
19
|
raise Exception('kind "%s" is not mapped.' % kind)
|
|
20
20
|
|
|
@@ -54,6 +54,8 @@ def get_termination(value, gbd_status):
|
|
|
54
54
|
def translate_feature(trademark):
|
|
55
55
|
feature = get_path('MarkRepresentation.MarkFeatureCategory',
|
|
56
56
|
trademark)
|
|
57
|
+
if feature == None: return 'Undefined'
|
|
58
|
+
|
|
57
59
|
if feature == 'Three dimensional': return 'Three dimensional'
|
|
58
60
|
if feature == 'Hologram': return 'Hologram'
|
|
59
61
|
if feature == 'Colour': return 'Colour'
|
|
@@ -61,6 +63,9 @@ def translate_feature(trademark):
|
|
|
61
63
|
if feature == 'Olfactory': return 'Olfactory'
|
|
62
64
|
if feature == 'Motion': return 'Motion'
|
|
63
65
|
|
|
66
|
+
# positional is not a feature considered or observed so far in any collections
|
|
67
|
+
if feature == 'Positional': return 'Other'
|
|
68
|
+
|
|
64
69
|
# the office wild card. bof
|
|
65
70
|
if feature == 'Other': return 'Other'
|
|
66
71
|
|
|
@@ -38,7 +38,8 @@ def translate_status(status):
|
|
|
38
38
|
try:
|
|
39
39
|
return status_map[status]
|
|
40
40
|
except:
|
|
41
|
-
|
|
41
|
+
return ['Unknown']
|
|
42
|
+
#raise Exception('Status "%s" unmapped' % status)
|
|
42
43
|
|
|
43
44
|
|
|
44
45
|
def translate_feature(drawcode):
|
|
@@ -52,7 +53,8 @@ def translate_feature(drawcode):
|
|
|
52
53
|
if code == '5': return 'Stylized characters'
|
|
53
54
|
if code == '6': return 'Olfactory' #6000
|
|
54
55
|
|
|
55
|
-
|
|
56
|
+
return ['Other']
|
|
57
|
+
#raise Exception('DrawCode "%s" unmapped' % drawcode)
|
|
56
58
|
|
|
57
59
|
##-----------------
|
|
58
60
|
|
|
@@ -21,7 +21,8 @@ def translate_kind(kind):
|
|
|
21
21
|
if kind == 'Individual': return ['Individual']
|
|
22
22
|
if kind == 'Collective': return ['Collective']
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
return ['Other']
|
|
25
|
+
#raise Exception('kind "%s" is not mapped.' % kind)
|
|
25
26
|
|
|
26
27
|
def translate_feature(feature):
|
|
27
28
|
if not feature: return 'Undefined'
|
|
@@ -33,7 +34,8 @@ def translate_feature(feature):
|
|
|
33
34
|
if feature == 'Colour': return 'Colour'
|
|
34
35
|
if feature == 'Position': return 'Position'
|
|
35
36
|
|
|
36
|
-
|
|
37
|
+
return 'Other'
|
|
38
|
+
#raise Exception('Feature "%s" unmapped' % feature)
|
|
37
39
|
|
|
38
40
|
def get_entity_kind(entity):
|
|
39
41
|
if entity.ApplicantLegalEntity: return 'Legal entity'
|
{wipo_gbd_transformation-1.1.58.dist-info → wipo_gbd_transformation-1.1.60.dist-info}/RECORD
RENAMED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
gbdtransformation/.DS_Store,sha256=0P5iuLZ7zgY5l38MNfo5m8w3yfR_rIdKFFFjvnF0ws4,6148
|
|
2
1
|
gbdtransformation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
2
|
gbdtransformation/execs-nico.py,sha256=UC8E6CPLS5YwhB8AC_Z9_VIxlDGjweOv7NEMMxEVte0,24514
|
|
4
3
|
gbdtransformation/execs.py,sha256=h4BBz3YrEBwPRwt312iNf2tAT_AglqLbssa1faJe1PA,25450
|
|
@@ -28,7 +27,7 @@ gbdtransformation/brands/attm/filters.py,sha256=iQSq5YvrbCGzsBXQVgOaX5q7cxAeiqoo
|
|
|
28
27
|
gbdtransformation/brands/attm/schema,sha256=qVTJ_da77BzoqVIbkQgKJFlzU_BeAs6K6OyJX0u_9pc,788
|
|
29
28
|
gbdtransformation/brands/attm/template.yml,sha256=P5sziAKjlItlBK8gWSXnso4kJjLhThTpwhG-Uo0AEwM,2494
|
|
30
29
|
gbdtransformation/brands/autm/__init__.py,sha256=yqzC7OagUR0RLui3pHPWo5WxLyksznHcpI-NEEgnlYE,36
|
|
31
|
-
gbdtransformation/brands/autm/filters.py,sha256=
|
|
30
|
+
gbdtransformation/brands/autm/filters.py,sha256=QsFxnLubJBy6X5wU574lGnuOPu-oDGjtoq9A5Zk3W8s,7404
|
|
32
31
|
gbdtransformation/brands/autm/schema,sha256=BQ98dIqfJHMFacTLO5xKLwwJlz1j0UGT9J23634xuNE,1150
|
|
33
32
|
gbdtransformation/brands/autm/template.yml,sha256=EeYm1TZCBdd5m94R3vmuXAQlQKJtz1TFnEPqGw5XE14,5066
|
|
34
33
|
gbdtransformation/brands/bgtm/__init__.py,sha256=6GPBFsLpbifmq8Ar2njs1Qf_vtIkUqvGUAegvJ4zIsQ,124
|
|
@@ -126,6 +125,11 @@ gbdtransformation/brands/gbtm/__init__.py,sha256=UHmbQDIPDdApISBKfO9tKOX6LgUQ_Ib
|
|
|
126
125
|
gbdtransformation/brands/gbtm/filters.py,sha256=IBajcCJJutucKLPDrOgft6mZhwepeacEr-jQJiuW3yQ,4327
|
|
127
126
|
gbdtransformation/brands/gbtm/schema,sha256=fwTT16clc_vF6eckSyyXhfDkCxbN4MMAhLOjlyRjfZ0,9395
|
|
128
127
|
gbdtransformation/brands/gbtm/template.yml,sha256=i2R0rGxMVjwFxFNSRh5e-uPsl0V4QhREhOlhzEEL83Y,6669
|
|
128
|
+
gbdtransformation/brands/gdtm/__init__.py,sha256=12Lx89GSh8Dux2pZNTl8J44XLzzyZmet_4kwkbH3sQ0,110
|
|
129
|
+
gbdtransformation/brands/gdtm/filters.py,sha256=7qlpwuREYjrNSyd9rwUO9D6R_3q4aDHBaGfPxt0A9r4,1766
|
|
130
|
+
gbdtransformation/brands/gdtm/schema,sha256=AP0MxQyD0hY4APRh8nxitlxMqJYJB4AaaTJ8y20-XBA,3283
|
|
131
|
+
gbdtransformation/brands/gdtm/template.yml,sha256=PO7s1HDQM9ushIJuIX3z_dfWO-f62YDzBG_sYKDlnG8,34
|
|
132
|
+
gbdtransformation/brands/gdtm/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
129
133
|
gbdtransformation/brands/getm/__init__.py,sha256=UHmbQDIPDdApISBKfO9tKOX6LgUQ_Ib-IVMR5kCVMTY,86
|
|
130
134
|
gbdtransformation/brands/getm/filters.py,sha256=9nJtX8WO83KcxePdDr_eVNXL2iBLMCNJ2YNKNqMte-k,2136
|
|
131
135
|
gbdtransformation/brands/getm/schema,sha256=jLZa_r9emAhmOMOODUicsgLbzX2vhbWb9MdxR2S6i-Q,7665
|
|
@@ -172,7 +176,7 @@ gbdtransformation/brands/ipas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5N
|
|
|
172
176
|
gbdtransformation/brands/ipas/filters.py,sha256=cjHa9yciQfUWC2XehqcluwLODbajU8yZvleATpKI6-4,6561
|
|
173
177
|
gbdtransformation/brands/ipas/template.yml,sha256=TMD1OLKdxGN9XLc6gjTIArM0bXjT0hwQbam4PTvxAzE,7402
|
|
174
178
|
gbdtransformation/brands/istm/__init__.py,sha256=Odl0eAIHwvFrNHxJCqM-9Yht1kcLcXJSZDpJbSLXeq0,192
|
|
175
|
-
gbdtransformation/brands/istm/filters.py,sha256=
|
|
179
|
+
gbdtransformation/brands/istm/filters.py,sha256=PRSZa0NTSA6oe35CXJtoyMEXCY5B5JCBBqO9dX8tiao,2905
|
|
176
180
|
gbdtransformation/brands/istm/schema,sha256=iMcsysU2fLG9lQYr3rwsbt3U0oC8xrIrB0-XitQGsMg,789
|
|
177
181
|
gbdtransformation/brands/istm/template.yml,sha256=Eo7aW87OOyLeHpR7TwEejapKYFFevMfW7S26yH2IaL0,3660
|
|
178
182
|
gbdtransformation/brands/ittm/__init__.py,sha256=x7MEG0cRT7jOj2U9I4stffawL5ZOFcH3iywiNSsdXEQ,132
|
|
@@ -331,8 +335,8 @@ gbdtransformation/brands/rstm/filters.py,sha256=YCQzIg8chXUNTxodQTTToWPApZVHRFL8
|
|
|
331
335
|
gbdtransformation/brands/rstm/schema,sha256=TFrF4FR76cytcbtQkDWxtF74I0tCPRDIvWRFeqaJt6Q,3242
|
|
332
336
|
gbdtransformation/brands/rstm/template.yml,sha256=PO7s1HDQM9ushIJuIX3z_dfWO-f62YDzBG_sYKDlnG8,34
|
|
333
337
|
gbdtransformation/brands/rstm/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
334
|
-
gbdtransformation/brands/rutm/__init__.py,sha256=
|
|
335
|
-
gbdtransformation/brands/rutm/filters.py,sha256=
|
|
338
|
+
gbdtransformation/brands/rutm/__init__.py,sha256=fG-Q4zuvL3Uk7Cwlzh7wxDn9bMngz4wAEnXHgogglKw,310
|
|
339
|
+
gbdtransformation/brands/rutm/filters.py,sha256=NQp9z3wcOdv0NYOtkR4xHu_femDQmwZqpq86rdO-X4I,3243
|
|
336
340
|
gbdtransformation/brands/rutm/schema,sha256=u4Xwm50hewm6AuS2aDSaeNEp8OGVwBX1DMjj8OX7dU8,3521
|
|
337
341
|
gbdtransformation/brands/rutm/template.yml,sha256=1K1ZnK7FBJPR8NOWpOlSCyhiMNaAF9BWqwFRp1I4C5Y,4254
|
|
338
342
|
gbdtransformation/brands/sdtm/__init__.py,sha256=Qgy8B1FmSnuyYKLhuKP1YBvzo4MvTpPtNO1uTTgwdiA,83
|
|
@@ -399,7 +403,7 @@ gbdtransformation/brands/uatm/filters.py,sha256=Er8L7T5If-2s_oDZIhgIpUKBTHR9gN1Z
|
|
|
399
403
|
gbdtransformation/brands/uatm/schema,sha256=xyi3dhfyhzwFzeNA4vl5CZ_3FGNm6kcePHQt4Nd_qWM,4318
|
|
400
404
|
gbdtransformation/brands/uatm/template.yml,sha256=7E7Q9HUg8aFdiwzpYYqB0LIWbkG_zkRh8mGVpk7fL6k,5974
|
|
401
405
|
gbdtransformation/brands/ustm/__init__.py,sha256=kTDTnS4FtOCbvjeHCz0Tt2fXvlQ-I5ukdgvm8ECBW44,9679
|
|
402
|
-
gbdtransformation/brands/ustm/filters.py,sha256=
|
|
406
|
+
gbdtransformation/brands/ustm/filters.py,sha256=INsDDZ2KvvfYuN4CvPuRu1d-G-e2cLUwh8BbcqJ5fJ8,5234
|
|
403
407
|
gbdtransformation/brands/ustm/schema,sha256=7vcbDMFy76nAxZ5dRjssbOhHNFOqVIlVldrNssBB1Mc,133581
|
|
404
408
|
gbdtransformation/brands/ustm/template.yml,sha256=92F8h-MT_m6S0QACKlJyldWHP1CWJKRpzdJDyC1zoeY,4582
|
|
405
409
|
gbdtransformation/brands/uytm/__init__.py,sha256=UHmbQDIPDdApISBKfO9tKOX6LgUQ_Ib-IVMR5kCVMTY,86
|
|
@@ -436,7 +440,7 @@ gbdtransformation/brands/woptm/__init__.py,sha256=BBSJKhuopE1HdZ_sXhOOEMDADJD8Rx
|
|
|
436
440
|
gbdtransformation/brands/woptm/filters.py,sha256=iLXi4o85DM3k37VfYlzmn-IgpKFQPcDWFBXFLoKKX0Q,1374
|
|
437
441
|
gbdtransformation/brands/woptm/template.yml,sha256=ZEltb9iU2M0WN5pwFJQCAEybH2s9dFYfJnMlHnr_Kgc,35
|
|
438
442
|
gbdtransformation/brands/wotm/__init__.py,sha256=BBSJKhuopE1HdZ_sXhOOEMDADJD8RxFBzP805X3m5T4,91
|
|
439
|
-
gbdtransformation/brands/wotm/filters.py,sha256=
|
|
443
|
+
gbdtransformation/brands/wotm/filters.py,sha256=8hdpzVUp5Pf6yEelZZp-jB_ArUW1q1Q3gMvpphK4MX0,4080
|
|
440
444
|
gbdtransformation/brands/wotm/schema,sha256=FHXgkQTuh0gAufHQOGbHEEFk8zNqzphLF4cvkbnuHV0,6727
|
|
441
445
|
gbdtransformation/brands/wotm/template.yml,sha256=W2ZX_jyvfYT_3c-Kzc_OUYXfI-a7iaWwL4zbcFqIwUo,7446
|
|
442
446
|
gbdtransformation/brands/wstm/__init__.py,sha256=yshUmbbQzu5ZrROqnR50RX-_eoEuitAxSUsA_AZaBN8,102
|
|
@@ -484,10 +488,6 @@ gbdtransformation/designs/alid/__init__.py,sha256=U1i1Qng034s7l_2No1yJKbHvUSnMWl
|
|
|
484
488
|
gbdtransformation/designs/alid/filters.py,sha256=bwE0eg3BCaoUlWT_U1BSvBIbKz1a2n0JTENJW-ZfD5s,1947
|
|
485
489
|
gbdtransformation/designs/alid/schema,sha256=4W6aAkQ4JFTzOEVGYRWlWpsieoIIWoVqhLLnGzI3MjM,3502
|
|
486
490
|
gbdtransformation/designs/alid/template.yml,sha256=PO7s1HDQM9ushIJuIX3z_dfWO-f62YDzBG_sYKDlnG8,34
|
|
487
|
-
gbdtransformation/designs/bgid/__init__.py,sha256=jLrJQ5nccnWItNDV4kmUdq-uo6ms500KnR9qchLry8Q,84
|
|
488
|
-
gbdtransformation/designs/bgid/filters.py,sha256=wDLEZ8GAtVl4UBVwtW59siB44tiSmJOCMDS-aKUEd7s,2897
|
|
489
|
-
gbdtransformation/designs/bgid/schema,sha256=WOLoyQZCQ_PYjsXODbJSE3vEPppqwm85K7thf5T7lKQ,3667
|
|
490
|
-
gbdtransformation/designs/bgid/template.yml,sha256=dAnTluo-554scf_FxYalZ7xHj8RfGfBIhFZurXAenZY,5860
|
|
491
491
|
gbdtransformation/designs/bnid/__init__.py,sha256=Y_X59eGmIFOkwWF4SkaxTQ3z7QAfIHGoL1VHM8ywbHo,87
|
|
492
492
|
gbdtransformation/designs/bnid/filters.py,sha256=vx4rZhlOIYzpYfMvm8baxuKfQZWml8dW58oN_I_NT6M,1644
|
|
493
493
|
gbdtransformation/designs/bnid/schema,sha256=BSzYzhQUcv3cLI-rDSLEEcIAOxMSIgQClvfKDVVTyak,3145
|
|
@@ -579,10 +579,9 @@ gbdtransformation/utilities/st66.xsd,sha256=co8aFN3a5TpudllRttWmfLeiZu8ulNipfeXm
|
|
|
579
579
|
schemas/ShazamConfig.py,sha256=D67os5B11C41h_WZ7kk54Ss0Kk7tHh8W0d_1c_aX-lY,1191
|
|
580
580
|
schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
581
581
|
schemas/schema_extractor.py,sha256=3-ImtnI777f6b3VA0A_w-NoXdlGz5VZMzK6MnPdQQAY,10294
|
|
582
|
-
wipo_gbd_transformation-1.1.
|
|
583
|
-
wipo_gbd_transformation-1.1.
|
|
584
|
-
wipo_gbd_transformation-1.1.
|
|
585
|
-
wipo_gbd_transformation-1.1.
|
|
586
|
-
wipo_gbd_transformation-1.1.
|
|
587
|
-
wipo_gbd_transformation-1.1.
|
|
588
|
-
wipo_gbd_transformation-1.1.58.dist-info/RECORD,,
|
|
582
|
+
wipo_gbd_transformation-1.1.60.dist-info/LICENSE.md,sha256=6r2dL13EwZqSt2ellLbJRFTA-6ECIDOer4YthCfkac0,35654
|
|
583
|
+
wipo_gbd_transformation-1.1.60.dist-info/METADATA,sha256=7iqsd2Pnis4i0u0NUVK4b9cETsQaV7HB91EKdWxwCMI,577
|
|
584
|
+
wipo_gbd_transformation-1.1.60.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
585
|
+
wipo_gbd_transformation-1.1.60.dist-info/entry_points.txt,sha256=NFLtlP3mPHUi-hEoUcz4CXa7vcpP8bbwd18HS4arbEk,223
|
|
586
|
+
wipo_gbd_transformation-1.1.60.dist-info/top_level.txt,sha256=oU1j-JNLga18Fd-EV6Xl9wM8zxYoNVEzb7P8MDhTPJg,26
|
|
587
|
+
wipo_gbd_transformation-1.1.60.dist-info/RECORD,,
|
gbdtransformation/.DS_Store
DELETED
|
Binary file
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
# standard gdd definitions
|
|
2
|
-
from gbdtransformation.designs import kinds as std_kinds
|
|
3
|
-
from gbdtransformation.designs import status as std_status
|
|
4
|
-
|
|
5
|
-
# namespaces defined in XML and to be ignored in procecssing
|
|
6
|
-
ignore_namespace = [
|
|
7
|
-
"http://www.oami.europa.eu/schemas/design_Transaction",
|
|
8
|
-
"http://www.oami.europa.eu/schemas/design_IndicationProduct",
|
|
9
|
-
"http://www.oami.europa.eu/schemas/design",
|
|
10
|
-
]
|
|
11
|
-
|
|
12
|
-
def get_appdate(appdate, appnum):
|
|
13
|
-
return appdate
|
|
14
|
-
|
|
15
|
-
def get_designs_count(design, header):
|
|
16
|
-
return '1'
|
|
17
|
-
|
|
18
|
-
def get_designs_pos(design, header):
|
|
19
|
-
return '1'
|
|
20
|
-
|
|
21
|
-
# -------------------------------------------------------------
|
|
22
|
-
# data translation helpers:
|
|
23
|
-
# translate values from office interpretation to gbd equivalent
|
|
24
|
-
# -------------------------------------------------------------
|
|
25
|
-
def translate_kind(desgin, header):
|
|
26
|
-
code = header.TransactionCode.lower()
|
|
27
|
-
if code == 'ds-search design list':
|
|
28
|
-
return 'Industrial Design'
|
|
29
|
-
raise Exception('Type "%s" is not mapped.' % (code))
|
|
30
|
-
|
|
31
|
-
def parseForSt13(appnum, des_ref):
|
|
32
|
-
if des_ref.get('DesignIdentifier'):
|
|
33
|
-
return appnum + '-' + des_ref['DesignIdentifier'].split('-')[1]
|
|
34
|
-
else:
|
|
35
|
-
return appnum + '-' + des_ref['DesignURI'].split('-')[1]
|
|
36
|
-
|
|
37
|
-
def format_address(address):
|
|
38
|
-
return '%s, %s %s' % (address.AddressStreet,
|
|
39
|
-
address.AddressPostcode,
|
|
40
|
-
address.AddressCity)
|
|
41
|
-
|
|
42
|
-
def format_name(name):
|
|
43
|
-
fname = name.FirstName
|
|
44
|
-
lname = name.LastName
|
|
45
|
-
|
|
46
|
-
full_name = [name.FirstName, name.LastName]
|
|
47
|
-
full_name = [f.strip() for f in full_name if f is not None]
|
|
48
|
-
|
|
49
|
-
return ' '.join(full_name)
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
def is_international(header):
|
|
53
|
-
return False
|
|
54
|
-
|
|
55
|
-
def get_ir_refnum(appnum):
|
|
56
|
-
return appnum
|
|
57
|
-
|
|
58
|
-
def translate_status(desgin):
|
|
59
|
-
if desgin._operationCode == 'Delete':
|
|
60
|
-
return 'Delete'
|
|
61
|
-
|
|
62
|
-
status = desgin.DesignCurrentStatusCode
|
|
63
|
-
|
|
64
|
-
if status in ['Application filed',
|
|
65
|
-
'Application published',
|
|
66
|
-
'Application under examination',
|
|
67
|
-
'Registration pending',
|
|
68
|
-
'Appeal pending',
|
|
69
|
-
'Registration cancellation pending',
|
|
70
|
-
'Filed']:
|
|
71
|
-
return 'Pending'
|
|
72
|
-
|
|
73
|
-
if status in ['Application refused',
|
|
74
|
-
'Application withdrawn',
|
|
75
|
-
'Application opposed',
|
|
76
|
-
'Registration cancelled',
|
|
77
|
-
'Registration surrendered',
|
|
78
|
-
'Design surrendered',
|
|
79
|
-
'Design declared invalid',
|
|
80
|
-
'Lack of effects',
|
|
81
|
-
"Design lapsed",
|
|
82
|
-
'Ended']:
|
|
83
|
-
return 'Ended'
|
|
84
|
-
|
|
85
|
-
if status in ['Registered',
|
|
86
|
-
'Registered and subject to deferment',
|
|
87
|
-
'Registered and fully published']:
|
|
88
|
-
return 'Registered'
|
|
89
|
-
if status in ['Registration expired', 'Expired']: return 'Expired'
|
|
90
|
-
|
|
91
|
-
raise Exception('Status "%s" not mapped.' % status)
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
/Transaction
|
|
2
|
-
__/DesignTransactionBody
|
|
3
|
-
____/TransactionContentDetails
|
|
4
|
-
______/TransactionCode
|
|
5
|
-
______/TransactionData
|
|
6
|
-
________/DesignDetails
|
|
7
|
-
__________/Design
|
|
8
|
-
____________/ApplicantDetails
|
|
9
|
-
______________/Applicant
|
|
10
|
-
________________/ApplicantAddressBook
|
|
11
|
-
__________________/ContactInformationDetails
|
|
12
|
-
____________________/Email
|
|
13
|
-
____________________/Phone
|
|
14
|
-
____________________/Phone[@phoneKind=Undefined]
|
|
15
|
-
__________________/FormattedNameAddress
|
|
16
|
-
____________________/Address
|
|
17
|
-
______________________/AddressCountryCode
|
|
18
|
-
______________________/FormattedAddress
|
|
19
|
-
________________________/AddressCity
|
|
20
|
-
________________________/AddressCounty
|
|
21
|
-
________________________/AddressPostcode
|
|
22
|
-
________________________/AddressStreet
|
|
23
|
-
____________________/Name
|
|
24
|
-
______________________/FormattedName
|
|
25
|
-
________________________/FirstName
|
|
26
|
-
________________________/LastName
|
|
27
|
-
________________________/MiddleName
|
|
28
|
-
________________________/OrganizationName
|
|
29
|
-
________________/ApplicantIdentifier
|
|
30
|
-
________________/ApplicantNationalityCode
|
|
31
|
-
____________/ApplicationDate
|
|
32
|
-
____________/ApplicationNumber
|
|
33
|
-
____________/ClassDescriptionDetails
|
|
34
|
-
______________/ClassDescription
|
|
35
|
-
________________/ClassNumber
|
|
36
|
-
____________/DefermentExpirationDate
|
|
37
|
-
____________/DesignCurrentStatusCode
|
|
38
|
-
____________/DesignCurrentStatusDate
|
|
39
|
-
____________/DesignIdentifier
|
|
40
|
-
____________/DesignPreferedRepresentation
|
|
41
|
-
______________/ViewURI
|
|
42
|
-
____________/DesignRepresentationSheetDetails
|
|
43
|
-
______________/DesignRepresentationSheet
|
|
44
|
-
________________/ViewDetails
|
|
45
|
-
__________________/View
|
|
46
|
-
____________________/ViewURI
|
|
47
|
-
____________/DesignURI
|
|
48
|
-
____________/DesignerDetails
|
|
49
|
-
______________/Designer
|
|
50
|
-
________________/DesignerAddressBook
|
|
51
|
-
__________________/FormattedNameAddress
|
|
52
|
-
____________________/Name
|
|
53
|
-
______________________/FreeFormatName
|
|
54
|
-
________________________/FreeFormatNameDetails
|
|
55
|
-
__________________________/FreeFormatNameLine
|
|
56
|
-
________________/DesignerIdentifier
|
|
57
|
-
____________/EffectiveDate
|
|
58
|
-
____________/ExpiryDate
|
|
59
|
-
____________/IndicationProductDetails
|
|
60
|
-
______________/IndicationProduct
|
|
61
|
-
______________/IndicationProduct[@languageCode=BG]
|
|
62
|
-
____________/PriorityDetails
|
|
63
|
-
______________/Priority
|
|
64
|
-
________________/PriorityCountryCode
|
|
65
|
-
________________/PriorityDate
|
|
66
|
-
________________/PriorityNumber
|
|
67
|
-
____________/PublicationDate
|
|
68
|
-
____________/RegistrationDate
|
|
69
|
-
____________/RegistrationNumber
|
|
70
|
-
____________/RegistrationOfficeCode
|
|
71
|
-
____________/RepresentativeDetails
|
|
72
|
-
______________/Representative
|
|
73
|
-
________________/RepresentativeAddressBook
|
|
74
|
-
__________________/ContactInformationDetails
|
|
75
|
-
____________________/Email
|
|
76
|
-
____________________/Phone
|
|
77
|
-
____________________/Phone[@phoneKind=Undefined]
|
|
78
|
-
__________________/FormattedNameAddress
|
|
79
|
-
____________________/Address
|
|
80
|
-
______________________/AddressCountryCode
|
|
81
|
-
______________________/FormattedAddress
|
|
82
|
-
________________________/AddressCity
|
|
83
|
-
________________________/AddressCounty
|
|
84
|
-
________________________/AddressPostcode
|
|
85
|
-
________________________/AddressStreet
|
|
86
|
-
____________________/Name
|
|
87
|
-
______________________/FormattedName
|
|
88
|
-
________________________/FirstName
|
|
89
|
-
________________________/LastName
|
|
90
|
-
________________________/MiddleName
|
|
91
|
-
________________________/OrganizationName
|
|
92
|
-
______________________/FreeFormatName
|
|
93
|
-
________________________/FreeFormatNameDetails
|
|
94
|
-
__________________________/FreeFormatNameLine
|
|
95
|
-
________________/RepresentativeIdentifier
|
|
96
|
-
________________/RepresentativeKindCode
|
|
97
|
-
________________/RepresentativeLegalEntity
|
|
98
|
-
________________/RepresentativeNationalityCode
|
|
99
|
-
________________/RepresentativeURI
|
|
100
|
-
__________/Design[@operationCode=Delete]
|
|
101
|
-
__________/Design[@operationCode=Insert]
|
|
102
|
-
______/TransactionIdentifier
|
|
103
|
-
__/TransactionHeader
|
|
104
|
-
____/SenderDetails
|
|
105
|
-
______/RequestProducerDateTime
|
|
106
|
-
________/design EM-DS-Search-DesignList-V1-0.xsd]
|