wipo-gbd-transformation 1.1.53__py3-none-any.whl → 1.1.55__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.

Files changed (37) hide show
  1. gbdtransformation/brands/catm/filters.py +2 -1
  2. gbdtransformation/brands/catm/template.yml +9 -5
  3. gbdtransformation/brands/chtm/filters.py +153 -181
  4. gbdtransformation/brands/chtm/schema +79 -91
  5. gbdtransformation/brands/chtm/template.yml +98 -107
  6. gbdtransformation/brands/natm/__init__.py +2 -3
  7. gbdtransformation/brands/natm/filters.py +8 -2
  8. gbdtransformation/brands/notm/__init__.py +5 -0
  9. gbdtransformation/brands/notm/filters.py +117 -0
  10. gbdtransformation/brands/notm/template.yml +165 -0
  11. gbdtransformation/brands/phtm/schema +79 -50
  12. gbdtransformation/brands/phtm/schema.classic +50 -0
  13. gbdtransformation/brands/phtm/template.classic.yml +102 -0
  14. gbdtransformation/brands/phtm/template.yml +1 -102
  15. gbdtransformation/brands/vctm/__init__.py +5 -0
  16. gbdtransformation/brands/vctm/filters.py +75 -0
  17. gbdtransformation/brands/vctm/schema +87 -0
  18. gbdtransformation/brands/vctm/template.yml +1 -0
  19. gbdtransformation/brands/vctm/tests/__init__.py +0 -0
  20. gbdtransformation/brands/xxxx/template.yml +1 -1
  21. gbdtransformation/designs/woid/filters.py +26 -1
  22. gbdtransformation/designs/woid/template.yml +166 -1
  23. gbdtransformation/designs/xxid/template.yml +118 -2
  24. gbdtransformation/execs-nico.py +709 -0
  25. gbdtransformation/execs.py +9 -4
  26. gbdtransformation/gbd-transform.exec.tgz +0 -0
  27. {wipo_gbd_transformation-1.1.53.dist-info → wipo_gbd_transformation-1.1.55.dist-info}/METADATA +5 -3
  28. {wipo_gbd_transformation-1.1.53.dist-info → wipo_gbd_transformation-1.1.55.dist-info}/RECORD +33 -24
  29. wipo_gbd_transformation-1.1.55.dist-info/SOURCES_Stefans-Mac-Studio.local_Sep-18-063455-2024_Conflict.txt +690 -0
  30. {wipo_gbd_transformation-1.1.53.dist-info → wipo_gbd_transformation-1.1.55.dist-info}/WHEEL +1 -1
  31. gbdtransformation/designs/bgid/__init__.py +0 -5
  32. gbdtransformation/designs/bgid/filters.py +0 -91
  33. gbdtransformation/designs/bgid/schema +0 -106
  34. gbdtransformation/designs/bgid/template.yml +0 -169
  35. {wipo_gbd_transformation-1.1.53.dist-info → wipo_gbd_transformation-1.1.55.dist-info}/LICENSE.md +0 -0
  36. {wipo_gbd_transformation-1.1.53.dist-info → wipo_gbd_transformation-1.1.55.dist-info}/entry_points.txt +0 -0
  37. {wipo_gbd_transformation-1.1.53.dist-info → wipo_gbd_transformation-1.1.55.dist-info}/top_level.txt +0 -0
@@ -108,6 +108,61 @@ applicants:
108
108
  entitlementDomiciled: {{ holder.Entitlement.EntitlementDomiciled.EntitlementDomiciledCode }}
109
109
  {% endcall %}
110
110
 
111
+ applicantsNormalized:
112
+ {% call(holder) match('HolderNormalized', HagueExpressTransaction.HagueCurrent.HagueRegistration.HolderBag) %}
113
+ - identifier:
114
+
115
+ {% set ns = namespace(kind='organization') %}
116
+ {% call(name) match('Name', holder.Contact) %}
117
+ {% if name.PersonName %}
118
+ {% set ns.kind = 'person' %}
119
+ {% endif %}
120
+ {% endcall %}
121
+ kind: {{ ns.kind }}
122
+
123
+ {% call(name) match('Name', holder.Contact) %}
124
+ {% if name.PersonName %}
125
+ firstName:
126
+ - languageCode: {{ HagueExpressTransaction.HagueCurrent.HagueRegistration.FilingLanguageCode | should_display_language(name.PersonName.PersonStructuredName.FirstName) }}
127
+ text: {{ name.PersonName.PersonStructuredName.FirstName }}
128
+ lastName:
129
+ - languageCode: {{ HagueExpressTransaction.HagueCurrent.HagueRegistration.FilingLanguageCode | should_display_language(name.PersonName.PersonStructuredName.LastName) }}
130
+ text: {{ name.PersonName.PersonStructuredName.LastName }}
131
+ middleName:
132
+ - languageCode: {{ HagueExpressTransaction.HagueCurrent.HagueRegistration.FilingLanguageCode | should_display_language(name.PersonName.PersonStructuredName.MiddleName) }}
133
+ text: {{ name.PersonName.PersonStructuredName.MiddleName }}
134
+ {% endif %}
135
+
136
+ {% if name.OrganizationName %}
137
+ orgName:
138
+ - languageCode: {{ HagueExpressTransaction.HagueCurrent.HagueRegistration.FilingLanguageCode }}
139
+ text: {{ name.OrganizationName.OrganizationStandardName }}
140
+ {% endif %}
141
+ {% endcall %}
142
+
143
+ fullAddress:
144
+ {% call(postalAddress) match('PostalAddress', holder.Contact.PostalAddressBag) %}
145
+ - languageCode: {{ HagueExpressTransaction.HagueCurrent.HagueRegistration.FilingLanguageCode }}
146
+ #text: {{ postalAddress.PostalStructuredAddress | format_complete_address }}
147
+ addressLine: {{ postalAddress.PostalStructuredAddress.AddressLineText }}
148
+ cityName: {{ postalAddress.PostalStructuredAddress.CityName }}
149
+ geographicRegionName: {{ postalAddress.PostalStructuredAddress.GeographicRegionName }}
150
+ postalCode: {{ postalAddress.PostalStructuredAddress.PostalCode }}
151
+ postalBox: {{ postalAddress.PostalStructuredAddress.PostalBox }}
152
+ countryCode: {{ postalAddress.PostalStructuredAddress.CountryCode }}
153
+ {% endcall %}
154
+
155
+ processingTool:
156
+ name: {{ holder.Contact._type }}
157
+ version: {{ holder.Contact._subtype }}
158
+ processingDate: {{ holder.Contact._when }}
159
+
160
+ entitlement:
161
+ entitlementNationalityCode: {{ holder.Entitlement.EntitlementNationalityCode }}
162
+ entitlementEstablishment: {{ holder.Entitlement.EntitlementEstablishment.EntitlementEstablishmentCode }}
163
+ entitlementDomiciled: {{ holder.Entitlement.EntitlementDomiciled.EntitlementDomiciledCode }}
164
+ {% endcall %}
165
+
111
166
  representatives:
112
167
  {% call(representative) match('Representative', HagueExpressTransaction.HagueCurrent.HagueRegistration.RepresentativeBag) %}
113
168
  - identifier:
@@ -145,6 +200,56 @@ representatives:
145
200
  {% endcall %}
146
201
  {% endcall %}
147
202
 
203
+ representativesNormalized:
204
+ {% call(representative) match('RepresentativeNormalized', HagueExpressTransaction.HagueCurrent.HagueRegistration.RepresentativeBag) %}
205
+ - identifier:
206
+
207
+ {% set ns = namespace(kind='organization') %}
208
+ {% call(name) match('Name', representative.Contact) %}
209
+ {% if name.PersonName %}
210
+ {% set ns.kind = 'person' %}
211
+ {% endif %}
212
+ {% endcall %}
213
+ kind: {{ ns.kind }}
214
+
215
+ {% call(name) match('Name', representative.Contact) %}
216
+ {% if name.PersonName %}
217
+ firstName:
218
+ - languageCode: {{ HagueExpressTransaction.HagueCurrent.HagueRegistration.FilingLanguageCode | should_display_language(name.PersonName.PersonStructuredName.FirstName) }}
219
+ text: {{ name.PersonName.PersonStructuredName.FirstName }}
220
+ lastName:
221
+ - languageCode: {{ HagueExpressTransaction.HagueCurrent.HagueRegistration.FilingLanguageCode | should_display_language(name.PersonName.PersonStructuredName.LastName) }}
222
+ text: {{ name.PersonName.PersonStructuredName.LastName }}
223
+ middleName:
224
+ - languageCode: {{ HagueExpressTransaction.HagueCurrent.HagueRegistration.FilingLanguageCode | should_display_language(name.PersonName.PersonStructuredName.MiddleName) }}
225
+ text: {{ name.PersonName.PersonStructuredName.MiddleName }}
226
+ {% endif %}
227
+
228
+ {% if name.OrganizationName %}
229
+ orgName:
230
+ - languageCode: {{ HagueExpressTransaction.HagueCurrent.HagueRegistration.FilingLanguageCode }}
231
+ text: {{ name.OrganizationName.OrganizationStandardName }}
232
+ {% endif %}
233
+ {% endcall %}
234
+
235
+ fullAddress:
236
+ {% call(postalAddress) match('PostalAddress', representative.Contact.PostalAddressBag) %}
237
+ - languageCode: {{ HagueExpressTransaction.HagueCurrent.HagueRegistration.FilingLanguageCode }}
238
+ #text: {{ postalAddress.PostalStructuredAddress | format_complete_address }}
239
+ addressLine: {{ postalAddress.PostalStructuredAddress.AddressLineText }}
240
+ cityName: {{ postalAddress.PostalStructuredAddress.CityName }}
241
+ geographicRegionName: {{ postalAddress.PostalStructuredAddress.GeographicRegionName }}
242
+ postalCode: {{ postalAddress.PostalStructuredAddress.PostalCode }}
243
+ postalBox: {{ postalAddress.PostalStructuredAddress.PostalBox }}
244
+ countryCode: {{ postalAddress.PostalStructuredAddress.CountryCode }}
245
+ {% endcall %}
246
+
247
+ processingTool:
248
+ name: {{ representative.Contact._type }}
249
+ version: {{ representative.Contact._subtype }}
250
+ processingDate: {{ representative.Contact._when }}
251
+ {% endcall %}
252
+
148
253
  designClaim:
149
254
  # updated for supporting Hague data
150
255
  {% if HagueExpressTransaction.HagueCurrent.HagueRegistration.DesignClaimBag.DesignClaim.DesignClaimTextBag %}
@@ -264,6 +369,56 @@ designs:
264
369
  {% endcall %}
265
370
  {% endcall %}
266
371
 
372
+ designerNormalized:
373
+ {% call(designer) match('DesignerNormalized', design.DesignerBag) %}
374
+ - identifier:
375
+
376
+ {% set ns = namespace(kind='organization') %}
377
+ {% call(name) match('Name', designer.Contact) %}
378
+ {% if name.PersonName %}
379
+ {% set ns.kind = 'person' %}
380
+ {% endif %}
381
+ {% endcall %}
382
+ kind: {{ ns.kind }}
383
+
384
+ {% call(name) match('Name', designer.Contact) %}
385
+ {% if name.PersonName %}
386
+ firstName:
387
+ - languageCode: {{ HagueExpressTransaction.HagueCurrent.HagueRegistration.FilingLanguageCode | should_display_language(name.PersonName.PersonStructuredName.FirstName) }}
388
+ text: {{ name.PersonName.PersonStructuredName.FirstName }}
389
+ lastName:
390
+ - languageCode: {{ HagueExpressTransaction.HagueCurrent.HagueRegistration.FilingLanguageCode | should_display_language(name.PersonName.PersonStructuredName.LastName) }}
391
+ text: {{ name.PersonName.PersonStructuredName.LastName }}
392
+ middleName:
393
+ - languageCode: {{ HagueExpressTransaction.HagueCurrent.HagueRegistration.FilingLanguageCode | should_display_language(name.PersonName.PersonStructuredName.MiddleName) }}
394
+ text: {{ name.PersonName.PersonStructuredName.MiddleName }}
395
+ {% endif %}
396
+
397
+ {% if name.OrganizationName %}
398
+ orgName:
399
+ - languageCode: {{ HagueExpressTransaction.HagueCurrent.HagueRegistration.FilingLanguageCode }}
400
+ text: {{ name.OrganizationName.OrganizationStandardName }}
401
+ {% endif %}
402
+ {% endcall %}
403
+
404
+ fullAddress:
405
+ {% call(postalAddress) match('PostalAddress', designer.Contact.PostalAddressBag) %}
406
+ - languageCode: {{ HagueExpressTransaction.HagueCurrent.HagueRegistration.FilingLanguageCode }}
407
+ #text: {{ postalAddress.PostalStructuredAddress | format_complete_address }}
408
+ addressLine: {{ postalAddress.PostalStructuredAddress.AddressLineText }}
409
+ cityName: {{ postalAddress.PostalStructuredAddress.CityName }}
410
+ geographicRegionName: {{ postalAddress.PostalStructuredAddress.GeographicRegionName }}
411
+ postalCode: {{ postalAddress.PostalStructuredAddress.PostalCode }}
412
+ postalBox: {{ postalAddress.PostalStructuredAddress.PostalBox }}
413
+ countryCode: {{ postalAddress.PostalStructuredAddress.CountryCode }}
414
+ {% endcall %}
415
+
416
+ processingTool:
417
+ name: {{ designer.Contact._type }}
418
+ version: {{ designer.Contact._subtype }}
419
+ processingDate: {{ designer.Contact._when }}
420
+ {% endcall %}
421
+
267
422
  productIndicationClasses:
268
423
  kind: "Locarno"
269
424
  version: {{ design.LocarnoClassificationBag.LocarnoClassificationEdition }}
@@ -348,4 +503,14 @@ extra:
348
503
  {% endcall %}
349
504
 
350
505
  {% endcall %}
351
-
506
+
507
+ history:
508
+ {% call(history) match('HagueHistory', HagueExpressTransaction) %}
509
+
510
+ - sequenceNumber: {{ history._sequenceNumber }}
511
+ hagueBulletinNumber: {{ history.HagueBulletinNumber }}
512
+ publicationDate: {{ history.PublicationDate }}
513
+ eventType: {{ history | get_event_type() }}
514
+ content: {{ history | serialize() }}
515
+
516
+ {% endcall %}
@@ -12,7 +12,7 @@ designatedCountries:
12
12
 
13
13
  # some collections indicate that the application
14
14
  # originates from international filing and provide IR number
15
- referece:
15
+ reference:
16
16
  application:
17
17
  - number:
18
18
  date:
@@ -54,7 +54,6 @@ applicationLanguageCode:
54
54
  # rarely passed
55
55
  secondLanguageCode:
56
56
 
57
-
58
57
  applicants:
59
58
  - identifier:
60
59
  kind:
@@ -78,6 +77,39 @@ applicants:
78
77
  countryCode:
79
78
  postalCode:
80
79
  countryCode: # sometimes, country name is provided instead
80
+ entitlement:
81
+ entitlementNationalityCode:
82
+ entitlementEstablishment:
83
+ entitlementDomiciled:
84
+
85
+ applicantsNormalized:
86
+ - identifier:
87
+ kind:
88
+ orgName:
89
+ - languageCode:
90
+ text:
91
+ firstName:
92
+ - languageCode:
93
+ text:
94
+ lastName:
95
+ - languageCode:
96
+ text:
97
+ middleName:
98
+ - languageCode:
99
+ text:
100
+ fullAddress:
101
+ - languageCode:
102
+ addressLine:
103
+ cityName:
104
+ geographicRegionName:
105
+ countryCode:
106
+ country:
107
+ postalCode:
108
+ postalBox:
109
+ processingTool:
110
+ name:
111
+ version:
112
+ processingDate:
81
113
 
82
114
  representatives:
83
115
  - identifier:
@@ -103,6 +135,34 @@ representatives:
103
135
  postalCode:
104
136
  countryCode: # sometimes, country name is provided instead
105
137
 
138
+ representativesNormalized:
139
+ - identifier:
140
+ kind:
141
+ orgName:
142
+ - languageCode:
143
+ text:
144
+ firstName:
145
+ - languageCode:
146
+ text:
147
+ lastName:
148
+ - languageCode:
149
+ text:
150
+ middleName:
151
+ - languageCode:
152
+ text:
153
+ fullAddress:
154
+ - languageCode:
155
+ addressLine:
156
+ cityName:
157
+ geographicRegionName:
158
+ countryCode:
159
+ country:
160
+ postalCode:
161
+ postalBox:
162
+ processingTool:
163
+ name:
164
+ version:
165
+ processingDate:
106
166
 
107
167
  correspondence:
108
168
  fullName:
@@ -126,6 +186,33 @@ correspondence:
126
186
  postalCode:
127
187
  countryCode: # sometimes, country name is provided instead
128
188
 
189
+ correspondenceNormalized:
190
+ kind:
191
+ orgName:
192
+ - languageCode:
193
+ text:
194
+ firstName:
195
+ - languageCode:
196
+ text:
197
+ lastName:
198
+ - languageCode:
199
+ text:
200
+ middleName:
201
+ - languageCode:
202
+ text:
203
+ fullAddress:
204
+ - languageCode:
205
+ addressLine:
206
+ cityName:
207
+ geographicRegionName:
208
+ countryCode:
209
+ country:
210
+ postalCode:
211
+ postalBox:
212
+ processingTool:
213
+ name:
214
+ version:
215
+ processingDate:
129
216
 
130
217
  designClaim:
131
218
  claims:
@@ -193,6 +280,35 @@ designs:
193
280
  postalCode:
194
281
  countryCode: # sometimes, country name is provided instead
195
282
 
283
+ designerNormalized:
284
+ - identifier:
285
+ kind:
286
+ orgName:
287
+ - languageCode:
288
+ text:
289
+ firstName:
290
+ - languageCode:
291
+ text:
292
+ lastName:
293
+ - languageCode:
294
+ text:
295
+ middleName:
296
+ - languageCode:
297
+ text:
298
+ fullAddress:
299
+ - languageCode:
300
+ addressLine:
301
+ cityName:
302
+ geographicRegionName:
303
+ countryCode:
304
+ country:
305
+ postalCode:
306
+ postalBox:
307
+ processingTool:
308
+ name:
309
+ version:
310
+ processingDate:
311
+
196
312
  productIndicationClasses:
197
313
  - kind: Locarno/US/CA/Etc
198
314
  version: #mostly