wipo-gbd-transformation 1.1.105__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.
- gbdtransformation/__init__.py +0 -0
- gbdtransformation/brands/__init__.py +44 -0
- gbdtransformation/brands/aetm/__init__.py +5 -0
- gbdtransformation/brands/aetm/filters.py +84 -0
- gbdtransformation/brands/aetm/schema +87 -0
- gbdtransformation/brands/aetm/template.yml +1 -0
- gbdtransformation/brands/aetm/tests/__init__.py +0 -0
- gbdtransformation/brands/altm/__init__.py +6 -0
- gbdtransformation/brands/altm/filters.py +107 -0
- gbdtransformation/brands/altm/schema +83 -0
- gbdtransformation/brands/altm/template.yml +1 -0
- gbdtransformation/brands/altm/tests/__init__.py +0 -0
- gbdtransformation/brands/altm/tests/altm.xml +93 -0
- gbdtransformation/brands/aptm/__init__.py +15 -0
- gbdtransformation/brands/aptm/filters.py +80 -0
- gbdtransformation/brands/aptm/schema +87 -0
- gbdtransformation/brands/aptm/template.yml +1 -0
- gbdtransformation/brands/aptm/tests/__init__.py +0 -0
- gbdtransformation/brands/attm/__init__.py +6 -0
- gbdtransformation/brands/attm/filters.py +76 -0
- gbdtransformation/brands/attm/schema +52 -0
- gbdtransformation/brands/attm/template.yml +85 -0
- gbdtransformation/brands/autm/__init__.py +2 -0
- gbdtransformation/brands/autm/filters.py +222 -0
- gbdtransformation/brands/autm/schema +91 -0
- gbdtransformation/brands/autm/template.yml +157 -0
- gbdtransformation/brands/bgtm/__init__.py +5 -0
- gbdtransformation/brands/bgtm/filters.py +112 -0
- gbdtransformation/brands/bgtm/schema +314 -0
- gbdtransformation/brands/bgtm/template.yml +154 -0
- gbdtransformation/brands/bhtm/__init__.py +12 -0
- gbdtransformation/brands/bhtm/filters.py +87 -0
- gbdtransformation/brands/bhtm/schema +87 -0
- gbdtransformation/brands/bhtm/template.yml +1 -0
- gbdtransformation/brands/bhtm/tests/__init__.py +0 -0
- gbdtransformation/brands/bntm/__init__.py +2 -0
- gbdtransformation/brands/bntm/filters.py +75 -0
- gbdtransformation/brands/bntm/schema +87 -0
- gbdtransformation/brands/bntm/template.yml +1 -0
- gbdtransformation/brands/bntm/tests/__init__.py +0 -0
- gbdtransformation/brands/brtm/__init__.py +3 -0
- gbdtransformation/brands/brtm/filters.py +169 -0
- gbdtransformation/brands/brtm/schema +86 -0
- gbdtransformation/brands/brtm/template.yml +22 -0
- gbdtransformation/brands/brtm/tests/__init__.py +0 -0
- gbdtransformation/brands/brtm/tests/test01.xml +53 -0
- gbdtransformation/brands/bttm/__init__.py +10 -0
- gbdtransformation/brands/bttm/filters.py +80 -0
- gbdtransformation/brands/bttm/schema +87 -0
- gbdtransformation/brands/bttm/template.yml +1 -0
- gbdtransformation/brands/bttm/tests/__init__.py +0 -0
- gbdtransformation/brands/bwtm/__init__.py +13 -0
- gbdtransformation/brands/bwtm/filters.py +90 -0
- gbdtransformation/brands/bwtm/schema +87 -0
- gbdtransformation/brands/bwtm/template.yml +1 -0
- gbdtransformation/brands/bwtm/tests/__init__.py +0 -0
- gbdtransformation/brands/bztm/__init__.py +16 -0
- gbdtransformation/brands/bztm/filters.py +77 -0
- gbdtransformation/brands/bztm/schema +87 -0
- gbdtransformation/brands/bztm/template.yml +1 -0
- gbdtransformation/brands/bztm/tests/__init__.py +0 -0
- gbdtransformation/brands/catm/__init__.py +10 -0
- gbdtransformation/brands/catm/filters.py +272 -0
- gbdtransformation/brands/catm/schema +804 -0
- gbdtransformation/brands/catm/template.yml +230 -0
- gbdtransformation/brands/chtm/__init__.py +6 -0
- gbdtransformation/brands/chtm/filters.py +161 -0
- gbdtransformation/brands/chtm/schema +79 -0
- gbdtransformation/brands/chtm/template.yml +121 -0
- gbdtransformation/brands/cltm/__init__.py +2 -0
- gbdtransformation/brands/cltm/filters.py +80 -0
- gbdtransformation/brands/cltm/schema +86 -0
- gbdtransformation/brands/cltm/template.yml +1 -0
- gbdtransformation/brands/cltm/tests/__init__.py +0 -0
- gbdtransformation/brands/crtm/__init__.py +5 -0
- gbdtransformation/brands/crtm/filters.py +196 -0
- gbdtransformation/brands/crtm/schema +86 -0
- gbdtransformation/brands/crtm/template.yml +1 -0
- gbdtransformation/brands/crtm/tests/__init__.py +0 -0
- gbdtransformation/brands/cutm/__init__.py +10 -0
- gbdtransformation/brands/cutm/filters.py +94 -0
- gbdtransformation/brands/cutm/schema +86 -0
- gbdtransformation/brands/cutm/template.yml +4 -0
- gbdtransformation/brands/cutm/tests/__init__.py +0 -0
- gbdtransformation/brands/detm/__init__.py +19 -0
- gbdtransformation/brands/detm/filters.py +75 -0
- gbdtransformation/brands/detm/schema +511 -0
- gbdtransformation/brands/detm/template.yml +151 -0
- gbdtransformation/brands/dktm/__init__.py +7 -0
- gbdtransformation/brands/dktm/filters.py +90 -0
- gbdtransformation/brands/dktm/schema +95 -0
- gbdtransformation/brands/dktm/template.yml +114 -0
- gbdtransformation/brands/dztm/__init__.py +10 -0
- gbdtransformation/brands/dztm/filters.py +81 -0
- gbdtransformation/brands/dztm/schema +87 -0
- gbdtransformation/brands/dztm/template.yml +1 -0
- gbdtransformation/brands/dztm/tests/__init__.py +0 -0
- gbdtransformation/brands/eetm/__init__.py +8 -0
- gbdtransformation/brands/eetm/filters.py +115 -0
- gbdtransformation/brands/eetm/schema +48 -0
- gbdtransformation/brands/eetm/template.yml +98 -0
- gbdtransformation/brands/egtm/__init__.py +5 -0
- gbdtransformation/brands/egtm/filters.py +73 -0
- gbdtransformation/brands/egtm/schema +87 -0
- gbdtransformation/brands/egtm/template.yml +1 -0
- gbdtransformation/brands/egtm/tests/__init__.py +0 -0
- gbdtransformation/brands/emtm/__init__.py +3 -0
- gbdtransformation/brands/emtm/filters.py +96 -0
- gbdtransformation/brands/emtm/schema +314 -0
- gbdtransformation/brands/emtm/template.yml +125 -0
- gbdtransformation/brands/estm/__init__.py +3 -0
- gbdtransformation/brands/estm/filters.py +110 -0
- gbdtransformation/brands/estm/schema +99 -0
- gbdtransformation/brands/estm/template.yml +144 -0
- gbdtransformation/brands/filters.py +125 -0
- gbdtransformation/brands/frtm/__init__.py +2 -0
- gbdtransformation/brands/frtm/filters.py +172 -0
- gbdtransformation/brands/frtm/schema +300 -0
- gbdtransformation/brands/frtm/template.yml +203 -0
- gbdtransformation/brands/gbtm/__init__.py +3 -0
- gbdtransformation/brands/gbtm/filters.py +122 -0
- gbdtransformation/brands/gbtm/schema +362 -0
- gbdtransformation/brands/gbtm/template.yml +147 -0
- gbdtransformation/brands/gdtm/__init__.py +5 -0
- gbdtransformation/brands/gdtm/filters.py +68 -0
- gbdtransformation/brands/gdtm/schema +87 -0
- gbdtransformation/brands/gdtm/template.yml +1 -0
- gbdtransformation/brands/gdtm/tests/__init__.py +0 -0
- gbdtransformation/brands/getm/__init__.py +3 -0
- gbdtransformation/brands/getm/filters.py +68 -0
- gbdtransformation/brands/getm/schema +209 -0
- gbdtransformation/brands/getm/template.yml +142 -0
- gbdtransformation/brands/ghtm/__init__.py +12 -0
- gbdtransformation/brands/ghtm/filters.py +74 -0
- gbdtransformation/brands/ghtm/schema +86 -0
- gbdtransformation/brands/ghtm/template.yml +1 -0
- gbdtransformation/brands/ghtm/tests/__init__.py +0 -0
- gbdtransformation/brands/gmtm/__init__.py +7 -0
- gbdtransformation/brands/gmtm/filters.py +70 -0
- gbdtransformation/brands/gmtm/schema +86 -0
- gbdtransformation/brands/gmtm/template.yml +1 -0
- gbdtransformation/brands/gmtm/tests/__init__.py +0 -0
- gbdtransformation/brands/gstm/__init__.py +2 -0
- gbdtransformation/brands/gstm/filters.py +75 -0
- gbdtransformation/brands/gstm/template.gs.yml +56 -0
- gbdtransformation/brands/gstm/template.yml +32 -0
- gbdtransformation/brands/hrtm/__init__.py +3 -0
- gbdtransformation/brands/hrtm/filters.py +158 -0
- gbdtransformation/brands/hrtm/schema +43 -0
- gbdtransformation/brands/hrtm/template.yml +205 -0
- gbdtransformation/brands/idtm/__init__.py +12 -0
- gbdtransformation/brands/idtm/filters.py +95 -0
- gbdtransformation/brands/idtm/schema +86 -0
- gbdtransformation/brands/idtm/template.yml +1 -0
- gbdtransformation/brands/idtm/tests/__init__.py +0 -0
- gbdtransformation/brands/idtm/tests/translation.xml +106 -0
- gbdtransformation/brands/idtm/tests/unicode.xml +120 -0
- gbdtransformation/brands/iltm/__init__.py +2 -0
- gbdtransformation/brands/iltm/filters.py +91 -0
- gbdtransformation/brands/iltm/schema +87 -0
- gbdtransformation/brands/iltm/template.yml +213 -0
- gbdtransformation/brands/iltm/tests/__init__.py +0 -0
- gbdtransformation/brands/iltm/tests/cancellations.xml +156 -0
- gbdtransformation/brands/iltm/tests/collcert.xml +51 -0
- gbdtransformation/brands/iltm/tests/eventdata.xml +83 -0
- gbdtransformation/brands/iltm/tests/international.xml +80 -0
- gbdtransformation/brands/iltm/tests/markfeature.xml +117 -0
- gbdtransformation/brands/iltm/tests/noevents.xml +44 -0
- gbdtransformation/brands/iltm/tests/opposition.xml +147 -0
- gbdtransformation/brands/iltm/tests/tlit.xml +77 -0
- gbdtransformation/brands/intm/__init__.py +6 -0
- gbdtransformation/brands/intm/filters.py +75 -0
- gbdtransformation/brands/intm/schema +127 -0
- gbdtransformation/brands/intm/template.yml +112 -0
- gbdtransformation/brands/ipas/__init__.py +0 -0
- gbdtransformation/brands/ipas/filters.py +203 -0
- gbdtransformation/brands/ipas/template.yml +185 -0
- gbdtransformation/brands/istm/__init__.py +10 -0
- gbdtransformation/brands/istm/filters.py +60 -0
- gbdtransformation/brands/istm/schema +53 -0
- gbdtransformation/brands/istm/template.yml +119 -0
- gbdtransformation/brands/ittm/__init__.py +6 -0
- gbdtransformation/brands/ittm/filters.py +114 -0
- gbdtransformation/brands/ittm/schema +104 -0
- gbdtransformation/brands/ittm/template.yml +107 -0
- gbdtransformation/brands/jotm/__init__.py +8 -0
- gbdtransformation/brands/jotm/filters.py +61 -0
- gbdtransformation/brands/jotm/schema +86 -0
- gbdtransformation/brands/jotm/template.yml +1 -0
- gbdtransformation/brands/jotm/tests/__init__.py +0 -0
- gbdtransformation/brands/jotm/tests/test.xml +84 -0
- gbdtransformation/brands/jptm/__init__.py +6 -0
- gbdtransformation/brands/jptm/filters.py +79 -0
- gbdtransformation/brands/jptm/schema +39 -0
- gbdtransformation/brands/jptm/template.yml +113 -0
- gbdtransformation/brands/ketm/__init__.py +9 -0
- gbdtransformation/brands/ketm/filters.py +77 -0
- gbdtransformation/brands/ketm/schema +86 -0
- gbdtransformation/brands/ketm/template.yml +1 -0
- gbdtransformation/brands/ketm/tests/__init__.py +0 -0
- gbdtransformation/brands/kgtm/__init__.py +6 -0
- gbdtransformation/brands/kgtm/filters.py +67 -0
- gbdtransformation/brands/kgtm/schema +27 -0
- gbdtransformation/brands/kgtm/template.yml +58 -0
- gbdtransformation/brands/khtm/__init__.py +14 -0
- gbdtransformation/brands/khtm/filters.py +134 -0
- gbdtransformation/brands/khtm/schema +86 -0
- gbdtransformation/brands/khtm/template.yml +1 -0
- gbdtransformation/brands/khtm/tests/__init__.py +0 -0
- gbdtransformation/brands/khtm/tests/khtm.xml +122 -0
- gbdtransformation/brands/krtm/__init__.py +6 -0
- gbdtransformation/brands/krtm/filters.py +136 -0
- gbdtransformation/brands/krtm/schema +179 -0
- gbdtransformation/brands/krtm/template.yml +186 -0
- gbdtransformation/brands/kwtm/__init__.py +2 -0
- gbdtransformation/brands/kwtm/filters.py +69 -0
- gbdtransformation/brands/kwtm/schema +86 -0
- gbdtransformation/brands/kwtm/template.yml +1 -0
- gbdtransformation/brands/kwtm/tests/__init__.py +0 -0
- gbdtransformation/brands/kwtm/tests/test.xml +84 -0
- gbdtransformation/brands/kztm/__init__.py +242 -0
- gbdtransformation/brands/kztm/filters.py +140 -0
- gbdtransformation/brands/kztm/schema +36 -0
- gbdtransformation/brands/kztm/template.yml +117 -0
- gbdtransformation/brands/latm/__init__.py +7 -0
- gbdtransformation/brands/latm/filters.py +93 -0
- gbdtransformation/brands/latm/schema +86 -0
- gbdtransformation/brands/latm/template.yml +1 -0
- gbdtransformation/brands/latm/tests/__init__.py +0 -0
- gbdtransformation/brands/latm/tests/test.xml +112 -0
- gbdtransformation/brands/lktm/__init__.py +5 -0
- gbdtransformation/brands/lktm/filters.py +83 -0
- gbdtransformation/brands/lktm/schema +87 -0
- gbdtransformation/brands/lktm/template.yml +1 -0
- gbdtransformation/brands/lktm/tests/__init__.py +0 -0
- gbdtransformation/brands/matm/__init__.py +3 -0
- gbdtransformation/brands/matm/filters.py +36 -0
- gbdtransformation/brands/matm/schema +33 -0
- gbdtransformation/brands/matm/template.yml +72 -0
- gbdtransformation/brands/mctm/__init__.py +3 -0
- gbdtransformation/brands/mctm/filters.py +65 -0
- gbdtransformation/brands/mctm/schema +128 -0
- gbdtransformation/brands/mctm/template.yml +122 -0
- gbdtransformation/brands/mdtm/__init__.py +3 -0
- gbdtransformation/brands/mdtm/filters.py +64 -0
- gbdtransformation/brands/mdtm/schema +128 -0
- gbdtransformation/brands/mdtm/template.yml +122 -0
- gbdtransformation/brands/metm/__init__.py +5 -0
- gbdtransformation/brands/metm/filters.py +87 -0
- gbdtransformation/brands/metm/schema +87 -0
- gbdtransformation/brands/metm/template.yml +1 -0
- gbdtransformation/brands/metm/tests/__init__.py +0 -0
- gbdtransformation/brands/mgtm/__init__.py +7 -0
- gbdtransformation/brands/mgtm/filters.py +73 -0
- gbdtransformation/brands/mgtm/schema +86 -0
- gbdtransformation/brands/mgtm/template.yml +1 -0
- gbdtransformation/brands/mgtm/tests/__init__.py +0 -0
- gbdtransformation/brands/mgtm/tests/test.xml +107 -0
- gbdtransformation/brands/mktm/__init__.py +6 -0
- gbdtransformation/brands/mktm/filters.py +63 -0
- gbdtransformation/brands/mktm/schema +80 -0
- gbdtransformation/brands/mktm/template.yml +112 -0
- gbdtransformation/brands/mntm/__init__.py +11 -0
- gbdtransformation/brands/mntm/filters.py +99 -0
- gbdtransformation/brands/mntm/schema +86 -0
- gbdtransformation/brands/mntm/template.yml +1 -0
- gbdtransformation/brands/mntm/tests/__init__.py +0 -0
- gbdtransformation/brands/mwtm/__init__.py +11 -0
- gbdtransformation/brands/mwtm/filters.py +80 -0
- gbdtransformation/brands/mwtm/schema +86 -0
- gbdtransformation/brands/mwtm/template.yml +1 -0
- gbdtransformation/brands/mwtm/tests/__init__.py +0 -0
- gbdtransformation/brands/mxtm/__init__.py +6 -0
- gbdtransformation/brands/mxtm/filters.py +77 -0
- gbdtransformation/brands/mxtm/schema +81 -0
- gbdtransformation/brands/mxtm/template.yml +127 -0
- gbdtransformation/brands/mytm/__init__.py +17 -0
- gbdtransformation/brands/mytm/filters.py +125 -0
- gbdtransformation/brands/mytm/schema +86 -0
- gbdtransformation/brands/mytm/template.yml +1 -0
- gbdtransformation/brands/mytm/tests/__init__.py +0 -0
- gbdtransformation/brands/mytm/tests/example.xml +132 -0
- gbdtransformation/brands/mytm/tests/mytm.xml +132 -0
- gbdtransformation/brands/mztm/__init__.py +14 -0
- gbdtransformation/brands/mztm/filters.py +89 -0
- gbdtransformation/brands/mztm/schema +86 -0
- gbdtransformation/brands/mztm/template.yml +1 -0
- gbdtransformation/brands/mztm/tests/__init__.py +0 -0
- gbdtransformation/brands/natm/__init__.py +11 -0
- gbdtransformation/brands/natm/filters.py +88 -0
- gbdtransformation/brands/natm/schema +86 -0
- gbdtransformation/brands/natm/template.yml +1 -0
- gbdtransformation/brands/natm/tests/__init__.py +0 -0
- gbdtransformation/brands/notm/__init__.py +5 -0
- gbdtransformation/brands/notm/filters.py +170 -0
- gbdtransformation/brands/notm/template.yml +289 -0
- gbdtransformation/brands/nztm/__init__.py +3 -0
- gbdtransformation/brands/nztm/filters.py +126 -0
- gbdtransformation/brands/nztm/schema +197 -0
- gbdtransformation/brands/nztm/template.yml +161 -0
- gbdtransformation/brands/oatm/__init__.py +18 -0
- gbdtransformation/brands/oatm/filters.py +82 -0
- gbdtransformation/brands/oatm/schema +87 -0
- gbdtransformation/brands/oatm/template.yml +1 -0
- gbdtransformation/brands/oatm/tests/__init__.py +0 -0
- gbdtransformation/brands/omtm/__init__.py +5 -0
- gbdtransformation/brands/omtm/filters.py +60 -0
- gbdtransformation/brands/omtm/schema +86 -0
- gbdtransformation/brands/omtm/template.yml +1 -0
- gbdtransformation/brands/omtm/tests/__init__.py +0 -0
- gbdtransformation/brands/omtm/tests/test.xml +84 -0
- gbdtransformation/brands/patm/__init__.py +8 -0
- gbdtransformation/brands/patm/filters.py +149 -0
- gbdtransformation/brands/patm/template.yml +40 -0
- gbdtransformation/brands/petm/__init__.py +6 -0
- gbdtransformation/brands/petm/filters.py +90 -0
- gbdtransformation/brands/petm/schema +114 -0
- gbdtransformation/brands/petm/template.yml +143 -0
- gbdtransformation/brands/pgtm/__init__.py +5 -0
- gbdtransformation/brands/pgtm/filters.py +76 -0
- gbdtransformation/brands/pgtm/schema +86 -0
- gbdtransformation/brands/pgtm/template.yml +1 -0
- gbdtransformation/brands/pgtm/tests/__init__.py +0 -0
- gbdtransformation/brands/pgtm/tests/pgtm.xml +128 -0
- gbdtransformation/brands/phtm/__init__.py +14 -0
- gbdtransformation/brands/phtm/filters.py +169 -0
- gbdtransformation/brands/phtm/schema +79 -0
- gbdtransformation/brands/phtm/schema.classic +50 -0
- gbdtransformation/brands/phtm/template.classic.yml +102 -0
- gbdtransformation/brands/phtm/template.yml +189 -0
- gbdtransformation/brands/pttm/__init__.py +0 -0
- gbdtransformation/brands/pttm/filters.py +0 -0
- gbdtransformation/brands/pttm/schema +0 -0
- gbdtransformation/brands/pttm/template.yml +0 -0
- gbdtransformation/brands/pytm/__init__.py +6 -0
- gbdtransformation/brands/pytm/filters.py +136 -0
- gbdtransformation/brands/pytm/template.yml +40 -0
- gbdtransformation/brands/qatm/__init__.py +5 -0
- gbdtransformation/brands/qatm/filters.py +81 -0
- gbdtransformation/brands/qatm/schema +87 -0
- gbdtransformation/brands/qatm/template.yml +1 -0
- gbdtransformation/brands/qatm/tests/__init__.py +0 -0
- gbdtransformation/brands/rotm/__init__.py +3 -0
- gbdtransformation/brands/rotm/filters.py +82 -0
- gbdtransformation/brands/rotm/schema +128 -0
- gbdtransformation/brands/rotm/template.yml +121 -0
- gbdtransformation/brands/rstm/__init__.py +5 -0
- gbdtransformation/brands/rstm/filters.py +88 -0
- gbdtransformation/brands/rstm/schema +86 -0
- gbdtransformation/brands/rstm/template.yml +1 -0
- gbdtransformation/brands/rstm/tests/__init__.py +0 -0
- gbdtransformation/brands/rutm/__init__.py +14 -0
- gbdtransformation/brands/rutm/filters.py +82 -0
- gbdtransformation/brands/rutm/schema +94 -0
- gbdtransformation/brands/rutm/template.yml +105 -0
- gbdtransformation/brands/sdtm/__init__.py +5 -0
- gbdtransformation/brands/sdtm/filters.py +59 -0
- gbdtransformation/brands/sdtm/schema +86 -0
- gbdtransformation/brands/sdtm/template.yml +1 -0
- gbdtransformation/brands/sdtm/tests/__init__.py +0 -0
- gbdtransformation/brands/sdtm/tests/test.xml +84 -0
- gbdtransformation/brands/sgtm/__init__.py +16 -0
- gbdtransformation/brands/sgtm/filters.py +177 -0
- gbdtransformation/brands/sgtm/schema +213 -0
- gbdtransformation/brands/sgtm/template.article6ter.yml +48 -0
- gbdtransformation/brands/sgtm/template.r13.yml +45 -0
- gbdtransformation/brands/sgtm/template.trademark.yml +148 -0
- gbdtransformation/brands/sgtm/template.yml +9 -0
- gbdtransformation/brands/smtm/__init__.py +6 -0
- gbdtransformation/brands/smtm/filters.py +77 -0
- gbdtransformation/brands/smtm/schema +86 -0
- gbdtransformation/brands/smtm/template.yml +1 -0
- gbdtransformation/brands/smtm/tests/__init__.py +0 -0
- gbdtransformation/brands/smtm/tests/test.xml +133 -0
- gbdtransformation/brands/solrjtm/__init__.py +1 -0
- gbdtransformation/brands/solrjtm/filters.py +85 -0
- gbdtransformation/brands/solrjtm/template.yml +195 -0
- gbdtransformation/brands/st66tm/__init__.py +1 -0
- gbdtransformation/brands/st66tm/filters.py +33 -0
- gbdtransformation/brands/st66tm/st66tm.tmpl +219 -0
- gbdtransformation/brands/sttm/__init__.py +18 -0
- gbdtransformation/brands/sttm/filters.py +72 -0
- gbdtransformation/brands/sttm/schema +83 -0
- gbdtransformation/brands/sttm/template.yml +1 -0
- gbdtransformation/brands/sttm/tests/__init__.py +0 -0
- gbdtransformation/brands/sztm/__init__.py +14 -0
- gbdtransformation/brands/sztm/filters.py +72 -0
- gbdtransformation/brands/sztm/schema +86 -0
- gbdtransformation/brands/sztm/template.yml +1 -0
- gbdtransformation/brands/sztm/tests/__init__.py +0 -0
- gbdtransformation/brands/thtm/__init__.py +2 -0
- gbdtransformation/brands/thtm/filters.py +86 -0
- gbdtransformation/brands/thtm/schema +86 -0
- gbdtransformation/brands/thtm/template.yml +175 -0
- gbdtransformation/brands/thtm/tests/__init__.py +0 -0
- gbdtransformation/brands/thtm/tests/test.xml +84 -0
- gbdtransformation/brands/tntm/__init__.py +16 -0
- gbdtransformation/brands/tntm/filters.py +89 -0
- gbdtransformation/brands/tntm/schema +87 -0
- gbdtransformation/brands/tntm/template.yml +1 -0
- gbdtransformation/brands/tntm/tests/__init__.py +0 -0
- gbdtransformation/brands/totm/__init__.py +5 -0
- gbdtransformation/brands/totm/filters.py +72 -0
- gbdtransformation/brands/totm/schema +86 -0
- gbdtransformation/brands/totm/template.yml +1 -0
- gbdtransformation/brands/totm/tests/__init__.py +0 -0
- gbdtransformation/brands/totm/tests/nofeature.xml +106 -0
- gbdtransformation/brands/totm/tests/syntax.xml +162 -0
- gbdtransformation/brands/totm/tests/test.xml +84 -0
- gbdtransformation/brands/tttm/__init__.py +17 -0
- gbdtransformation/brands/tttm/filters.py +79 -0
- gbdtransformation/brands/tttm/schema +87 -0
- gbdtransformation/brands/tttm/template.yml +1 -0
- gbdtransformation/brands/tttm/tests/__init__.py +0 -0
- gbdtransformation/brands/uatm/__init__.py +18 -0
- gbdtransformation/brands/uatm/filters.py +70 -0
- gbdtransformation/brands/uatm/schema +158 -0
- gbdtransformation/brands/uatm/template.yml +148 -0
- gbdtransformation/brands/ustm/__init__.py +187 -0
- gbdtransformation/brands/ustm/filters.py +227 -0
- gbdtransformation/brands/ustm/schema +2183 -0
- gbdtransformation/brands/ustm/template.yml +219 -0
- gbdtransformation/brands/uytm/__init__.py +3 -0
- gbdtransformation/brands/uytm/filters.py +64 -0
- gbdtransformation/brands/uytm/schema +106 -0
- gbdtransformation/brands/uytm/template.yml +137 -0
- gbdtransformation/brands/vctm/__init__.py +5 -0
- gbdtransformation/brands/vctm/filters.py +75 -0
- gbdtransformation/brands/vctm/schema +87 -0
- gbdtransformation/brands/vctm/template.yml +1 -0
- gbdtransformation/brands/vctm/tests/__init__.py +0 -0
- gbdtransformation/brands/vntm/__init__.py +9 -0
- gbdtransformation/brands/vntm/filters.py +84 -0
- gbdtransformation/brands/vntm/schema +86 -0
- gbdtransformation/brands/vntm/template.yml +1 -0
- gbdtransformation/brands/vntm/tests/__init__.py +0 -0
- gbdtransformation/brands/vutm/__init__.py +5 -0
- gbdtransformation/brands/vutm/filters.py +67 -0
- gbdtransformation/brands/vutm/schema +83 -0
- gbdtransformation/brands/vutm/template.yml +1 -0
- gbdtransformation/brands/vutm/tests/__init__.py +0 -0
- gbdtransformation/brands/whoinn/__init__.py +6 -0
- gbdtransformation/brands/whoinn/filters.py +46 -0
- gbdtransformation/brands/whoinn/schema +4 -0
- gbdtransformation/brands/whoinn/template.yml +45 -0
- gbdtransformation/brands/wo6ter/__init__.py +1 -0
- gbdtransformation/brands/wo6ter/filters.py +88 -0
- gbdtransformation/brands/wo6ter/template.yml +88 -0
- gbdtransformation/brands/woao/__init__.py +1 -0
- gbdtransformation/brands/woao/filters.py +107 -0
- gbdtransformation/brands/woao/schema +116 -0
- gbdtransformation/brands/woao/template.yml +90 -0
- gbdtransformation/brands/woptm/__init__.py +3 -0
- gbdtransformation/brands/woptm/filters.py +42 -0
- gbdtransformation/brands/woptm/template.yml +2 -0
- gbdtransformation/brands/wotm/__init__.py +3 -0
- gbdtransformation/brands/wotm/filters.py +127 -0
- gbdtransformation/brands/wotm/schema +218 -0
- gbdtransformation/brands/wotm/template.yml +220 -0
- gbdtransformation/brands/wstm/__init__.py +6 -0
- gbdtransformation/brands/wstm/filters.py +67 -0
- gbdtransformation/brands/wstm/schema +86 -0
- gbdtransformation/brands/wstm/template.yml +1 -0
- gbdtransformation/brands/wstm/tests/__init__.py +0 -0
- gbdtransformation/brands/wstm/tests/test.xml +132 -0
- gbdtransformation/brands/xxxx/__init__.py +6 -0
- gbdtransformation/brands/xxxx/filters.py +60 -0
- gbdtransformation/brands/xxxx/schema +4 -0
- gbdtransformation/brands/xxxx/template.yml +363 -0
- gbdtransformation/brands/zmtm/__init__.py +12 -0
- gbdtransformation/brands/zmtm/filters.py +79 -0
- gbdtransformation/brands/zmtm/schema +86 -0
- gbdtransformation/brands/zmtm/template.yml +1 -0
- gbdtransformation/brands/zmtm/tests/__init__.py +0 -0
- gbdtransformation/brands/zwtm/__init__.py +3 -0
- gbdtransformation/brands/zwtm/filters.py +86 -0
- gbdtransformation/brands/zwtm/schema +86 -0
- gbdtransformation/brands/zwtm/template.yml +1 -0
- gbdtransformation/brands/zwtm/tests/__init__.py +0 -0
- gbdtransformation/common/__init__.py +383 -0
- gbdtransformation/common/filters.py +418 -0
- gbdtransformation/common/jpap/__init__.py +1 -0
- gbdtransformation/common/jpap/filters.py +83 -0
- gbdtransformation/common/jpap/template.yml +37 -0
- gbdtransformation/common/jpbase/__init__.py +1 -0
- gbdtransformation/common/jpbase/filters.py +93 -0
- gbdtransformation/common/jpbase/template.yml +51 -0
- gbdtransformation/common/jprp/__init__.py +1 -0
- gbdtransformation/common/jprp/filters.py +86 -0
- gbdtransformation/common/jprp/template.yml +51 -0
- gbdtransformation/common/navigation.tmpl +12 -0
- gbdtransformation/commons/__init__.py +0 -0
- gbdtransformation/commons/emap/__init__.py +1 -0
- gbdtransformation/commons/emap/filters.py +16 -0
- gbdtransformation/commons/emap/template.yml +55 -0
- gbdtransformation/commons/emrp/__init__.py +1 -0
- gbdtransformation/commons/emrp/filters.py +14 -0
- gbdtransformation/commons/emrp/template.yml +53 -0
- gbdtransformation/commons/filters.py +3 -0
- gbdtransformation/designs/__init__.py +8 -0
- gbdtransformation/designs/alid/__init__.py +5 -0
- gbdtransformation/designs/alid/filters.py +69 -0
- gbdtransformation/designs/alid/schema +89 -0
- gbdtransformation/designs/alid/template.yml +1 -0
- gbdtransformation/designs/bnid/__init__.py +5 -0
- gbdtransformation/designs/bnid/filters.py +61 -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 +64 -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 +63 -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 +60 -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 +62 -0
- gbdtransformation/designs/egid/schema +82 -0
- gbdtransformation/designs/egid/template.yml +1 -0
- gbdtransformation/designs/filters.py +73 -0
- gbdtransformation/designs/idid/__init__.py +5 -0
- gbdtransformation/designs/idid/filters.py +67 -0
- gbdtransformation/designs/idid/schema +102 -0
- gbdtransformation/designs/idid/template.yml +1 -0
- gbdtransformation/designs/ipas/__init__.py +0 -0
- gbdtransformation/designs/ipas/filters.py +181 -0
- gbdtransformation/designs/ipas/template.yml +174 -0
- gbdtransformation/designs/joid/__init__.py +6 -0
- gbdtransformation/designs/joid/filters.py +62 -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 +62 -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 +63 -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 +61 -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 +62 -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 +60 -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 +70 -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 +66 -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 +64 -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 +66 -0
- gbdtransformation/designs/tnid/schema +96 -0
- gbdtransformation/designs/tnid/template.yml +1 -0
- gbdtransformation/designs/vnid/__init__.py +5 -0
- gbdtransformation/designs/vnid/filters.py +62 -0
- gbdtransformation/designs/vnid/schema +97 -0
- gbdtransformation/designs/vnid/template.yml +1 -0
- gbdtransformation/designs/woid/__init__.py +2 -0
- gbdtransformation/designs/woid/filters.py +372 -0
- gbdtransformation/designs/woid/schema +592 -0
- gbdtransformation/designs/woid/template.yml +516 -0
- gbdtransformation/designs/xxid/__init__.py +2 -0
- gbdtransformation/designs/xxid/filters.py +60 -0
- gbdtransformation/designs/xxid/schema +4 -0
- gbdtransformation/designs/xxid/template.yml +358 -0
- gbdtransformation/execs-nico.py +709 -0
- gbdtransformation/execs.py +734 -0
- gbdtransformation/gbd-transform.exec.tgz +0 -0
- gbdtransformation/parser.py +190 -0
- gbdtransformation/renders.py +149 -0
- gbdtransformation/utilities/ISOCountryCodeType-V2006.xsd +1245 -0
- gbdtransformation/utilities/ISOCurrencyCodeType-V2001.xsd +855 -0
- gbdtransformation/utilities/ISOLanguageCodeType-V2002.xsd +715 -0
- gbdtransformation/utilities/WIPOST3CodeType-V2007.xsd +1151 -0
- gbdtransformation/utilities/__init__.py +0 -0
- gbdtransformation/utilities/st66.dot +2828 -0
- gbdtransformation/utilities/st66.pdf +0 -0
- gbdtransformation/utilities/st66.py +38700 -0
- gbdtransformation/utilities/st66.xsd +4174 -0
- schemas/ShazamConfig.py +35 -0
- schemas/__init__.py +0 -0
- schemas/schema_extractor.py +300 -0
- wipo_gbd_transformation-1.1.105.dist-info/LICENSE.md +687 -0
- wipo_gbd_transformation-1.1.105.dist-info/METADATA +25 -0
- wipo_gbd_transformation-1.1.105.dist-info/RECORD +607 -0
- wipo_gbd_transformation-1.1.105.dist-info/WHEEL +5 -0
- wipo_gbd_transformation-1.1.105.dist-info/entry_points.txt +6 -0
- wipo_gbd_transformation-1.1.105.dist-info/top_level.txt +2 -0
|
@@ -0,0 +1,86 @@
|
|
|
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
|
+
______________/RegistrationDate
|
|
67
|
+
______________/RegistrationNumber
|
|
68
|
+
______________/RegistrationOfficeCode
|
|
69
|
+
______________/RepresentativeDetails
|
|
70
|
+
________________/Representative
|
|
71
|
+
__________________/RepresentativeAddressBook
|
|
72
|
+
____________________/FormattedNameAddress
|
|
73
|
+
______________________/Address
|
|
74
|
+
________________________/AddressCountryCode
|
|
75
|
+
________________________/FreeFormatAddress
|
|
76
|
+
__________________________/FreeFormatAddressLine
|
|
77
|
+
______________________/Name
|
|
78
|
+
________________________/FreeFormatName
|
|
79
|
+
__________________________/FreeFormatNameDetails
|
|
80
|
+
____________________________/FreeFormatNameLine
|
|
81
|
+
____________________________/FreeFormatNameLine[@languageCode=en]
|
|
82
|
+
______________/WordMarkSpecification
|
|
83
|
+
________________/MarkVerbalElementText
|
|
84
|
+
________________/MarkVerbalElementText[@languageCode=en]
|
|
85
|
+
______/TransactionIdentifier
|
|
86
|
+
______/TransactionSubCode
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{% include "ipas/template.yml" %}
|
|
File without changes
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import re
|
|
2
|
+
import os
|
|
3
|
+
|
|
4
|
+
def transform_name_address(entities, app_lang):
|
|
5
|
+
names = {}
|
|
6
|
+
cc = []
|
|
7
|
+
if isinstance(entities, list):
|
|
8
|
+
for entity in entities:
|
|
9
|
+
for name in entity.get('fullName', []):
|
|
10
|
+
names.setdefault(name.languageCode, [])
|
|
11
|
+
names[name.languageCode].append(name.text)
|
|
12
|
+
cc.append(entity.countryCode)
|
|
13
|
+
|
|
14
|
+
return {'names': names, 'cc': cc}
|
|
15
|
+
|
|
16
|
+
def guess_image_name(appnum):
|
|
17
|
+
appnum = appnum.replace('/', '').replace('-', '')
|
|
18
|
+
return os.path.join(appnum.zfill(4)[-4:-2],
|
|
19
|
+
appnum.zfill(4)[-2:],
|
|
20
|
+
'%s.png' % appnum)
|
|
21
|
+
|
|
22
|
+
def transform_goods_services(gservices, app_lang):
|
|
23
|
+
gs_terms = {}
|
|
24
|
+
if isinstance(gservices, list):
|
|
25
|
+
for gservice in gservices:
|
|
26
|
+
gs_terms.setdefault(str(gservice.nice), {})
|
|
27
|
+
if not gservice.terms:
|
|
28
|
+
continue
|
|
29
|
+
for language in gservice.terms.keys() or {}:
|
|
30
|
+
terms = gservice.terms[language]
|
|
31
|
+
for term in terms:
|
|
32
|
+
gs_terms[str(gservice.nice)].setdefault(language, [])
|
|
33
|
+
gs_terms[str(gservice.nice)][language].append(term)
|
|
34
|
+
|
|
35
|
+
return gs_terms
|
|
36
|
+
|
|
37
|
+
def transform_unclassified_goods_services(gservice, app_lang):
|
|
38
|
+
if not gservice: return {}
|
|
39
|
+
|
|
40
|
+
gs_terms = {}
|
|
41
|
+
for language in gservice.keys() or {}:
|
|
42
|
+
terms = gservice[language]
|
|
43
|
+
for term in terms:
|
|
44
|
+
gs_terms.setdefault(language, [])
|
|
45
|
+
gs_terms[language].append(term)
|
|
46
|
+
|
|
47
|
+
return gs_terms
|
|
48
|
+
|
|
49
|
+
def filter_events(events):
|
|
50
|
+
events_names = []
|
|
51
|
+
if isinstance(events, list):
|
|
52
|
+
for event in events:
|
|
53
|
+
events_names.append(event.gbdKind)
|
|
54
|
+
|
|
55
|
+
return set(events_names)
|
|
56
|
+
|
|
57
|
+
# if combined, then image type has Word and Device
|
|
58
|
+
def get_image_type(mark_feature):
|
|
59
|
+
if mark_feature == 'Combined':
|
|
60
|
+
return ['Word', 'Device']
|
|
61
|
+
if mark_feature == 'Figurative':
|
|
62
|
+
return ['Device']
|
|
63
|
+
|
|
64
|
+
return [mark_feature]
|
|
65
|
+
|
|
66
|
+
# only top 2 for classification
|
|
67
|
+
# might be useful for faceting
|
|
68
|
+
def cl_top2(classes):
|
|
69
|
+
return ['.'.join(c.split('.')[:2]) for c in classes]
|
|
70
|
+
|
|
71
|
+
def validate_status(status):
|
|
72
|
+
if status not in ['Ended', 'Expired', 'Registered', 'Pending', 'Unknown']:
|
|
73
|
+
raise Exception('Invalid Status: %s' % status)
|
|
74
|
+
else:
|
|
75
|
+
return status[0:3].upper()
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{% from 'navigation.tmpl' import match %}
|
|
2
|
+
|
|
3
|
+
{% if not gbdStatus == 'Delete' %}
|
|
4
|
+
office: {{ registrationOfficeCode }}
|
|
5
|
+
status: {{ gbdStatus | validate_status }}
|
|
6
|
+
{% call(verbal) match('wordMarkSpecification.markVerbalElement', brand) %}
|
|
7
|
+
brandName: {{ verbal.text }}
|
|
8
|
+
{% endcall %}
|
|
9
|
+
{% call(image) match('markImageDetails', brand) %}
|
|
10
|
+
imageName: {{ applicationNumber | guess_image_name }}
|
|
11
|
+
{% endcall %}
|
|
12
|
+
|
|
13
|
+
applicationNumber: {{ applicationNumber }}
|
|
14
|
+
registrationNumber: {{ registrationNumber }}
|
|
15
|
+
applicationRefNumber: {{ applicationRefNumber }}
|
|
16
|
+
|
|
17
|
+
applicationDate: {{ applicationDate }}
|
|
18
|
+
registrationDate: {{ registrationDate }}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
{% set applicants_info = applicants | transform_name_address(applicationLanguageCode) %}
|
|
22
|
+
{% for k,v in applicants_info.names.items() %}
|
|
23
|
+
applicant: {% for x in v %}
|
|
24
|
+
- {{ x }}
|
|
25
|
+
{% endfor %}
|
|
26
|
+
{% endfor %}
|
|
27
|
+
applicantCountryCode:
|
|
28
|
+
{% for cc in applicants_info.cc %}
|
|
29
|
+
- {{ cc }}
|
|
30
|
+
{% endfor %}
|
|
31
|
+
|
|
32
|
+
{% set gservices_info = goodsServicesClassification | transform_goods_services(applicationLanguageCode) %}
|
|
33
|
+
|
|
34
|
+
{% for class,langs in gservices_info.items() %}
|
|
35
|
+
{% set name = 'goodsServices_' + class %}
|
|
36
|
+
|
|
37
|
+
{% for lang,terms in gservices_info[class].items() %}
|
|
38
|
+
{% set name = name + '_' + lang %}
|
|
39
|
+
{{ name | field_name }}:
|
|
40
|
+
{% for term in terms %}
|
|
41
|
+
- {{ term | remove_trailing(',', '.') }}
|
|
42
|
+
{% endfor %}
|
|
43
|
+
{% endfor %}
|
|
44
|
+
{% endfor %}
|
|
45
|
+
|
|
46
|
+
{% set gservices_unclassified = goodsServicesUnclassified | transform_unclassified_goods_services(applicationLanguageCode) %}
|
|
47
|
+
{% set name = 'goodsServices' %}
|
|
48
|
+
{% for lang,terms in gservices_unclassified.items() %}
|
|
49
|
+
{% set name = name + '_' + lang %}
|
|
50
|
+
{{ name | field_name }}:
|
|
51
|
+
{% for term in terms %}
|
|
52
|
+
- {{ term | remove_trailing(',', '.') }}
|
|
53
|
+
{% endfor %}
|
|
54
|
+
{% endfor %}
|
|
55
|
+
{% else %}
|
|
56
|
+
{% endif %}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{% from 'navigation.tmpl' import match %}
|
|
2
|
+
|
|
3
|
+
{% if gbdStatus == 'Registered' or gbdStatus == 'Pending' %}
|
|
4
|
+
office: {{ registrationOfficeCode }}
|
|
5
|
+
status: {{ gbdStatus }}
|
|
6
|
+
|
|
7
|
+
applicationNumber: {{ applicationNumber }}
|
|
8
|
+
registrationNumber: {{ registrationNumber }}
|
|
9
|
+
applicationDate: {{ applicationDate }}
|
|
10
|
+
registrationDate: {{ registrationDate }}
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
{% for applicant in applicants %}
|
|
14
|
+
applicant:
|
|
15
|
+
name: {{ applicant.fullName[0].text }}
|
|
16
|
+
address: {{ applicant.fullAddress[0].text }}
|
|
17
|
+
country: {{ applicant.countryCode }}
|
|
18
|
+
phone: {{ applicant.contact.phone }}
|
|
19
|
+
fax: {{ applicant.contact.fax }}
|
|
20
|
+
email: {{ applicant.contact.email }}
|
|
21
|
+
{% endfor %}
|
|
22
|
+
{% for representative in representatives %}
|
|
23
|
+
representative:
|
|
24
|
+
name: {{ representative.fullName[0].text }}
|
|
25
|
+
address: {{ representative.fullAddress[0].text }}
|
|
26
|
+
country: {{ representative.countryCode }}
|
|
27
|
+
phone: {{ representative.contact.phone }}
|
|
28
|
+
fax: {{ representative.contact.fax }}
|
|
29
|
+
email: {{ representative.contact.email }}
|
|
30
|
+
{% endfor %}
|
|
31
|
+
{% else %}
|
|
32
|
+
{% endif %}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
# namespaces defined in XML and to be ignored in procecssing
|
|
2
|
+
ignore_namespace = [
|
|
3
|
+
'http://tmview.europa.eu/trademark/data',
|
|
4
|
+
'http://www.oami.europa.eu/TM-Search',
|
|
5
|
+
'http://hr.tmview.europa.eu/trademark/data'
|
|
6
|
+
]
|
|
7
|
+
|
|
8
|
+
def get_entity_addr(addr):
|
|
9
|
+
if not addr: return None
|
|
10
|
+
result = ""
|
|
11
|
+
if addr.AddressStreet:
|
|
12
|
+
result+= addr.AddressStreet
|
|
13
|
+
if addr.AddressCity:
|
|
14
|
+
result+= " " + addr.AddressCity
|
|
15
|
+
if addr.AddressState:
|
|
16
|
+
result+= " " + addr.AddressState
|
|
17
|
+
if addr.AddressPostcode:
|
|
18
|
+
result+= " " + addr.AddressPostcode
|
|
19
|
+
return result.strip()
|
|
20
|
+
|
|
21
|
+
def create_full_name(name):
|
|
22
|
+
result = ""
|
|
23
|
+
|
|
24
|
+
if name.FirstName:
|
|
25
|
+
result += name.FirstName + " "
|
|
26
|
+
if name.LastName:
|
|
27
|
+
result += name.LastName
|
|
28
|
+
if name.OrganizationName and name.OrganizationName != name.LastName and name.OrganizationName != result:
|
|
29
|
+
if name.FirstName or name.LastName:
|
|
30
|
+
result += ", "
|
|
31
|
+
result += name.OrganizationName
|
|
32
|
+
return result
|
|
33
|
+
|
|
34
|
+
# -------------------------------------------------------------
|
|
35
|
+
# data translation helpers:
|
|
36
|
+
# translate values from office interpretation to gbd equivalent
|
|
37
|
+
# -------------------------------------------------------------
|
|
38
|
+
def translate_kind(kind):
|
|
39
|
+
if not kind: return ['Individual']
|
|
40
|
+
|
|
41
|
+
if kind == 'Individual': return ['Individual']
|
|
42
|
+
if kind == 'Collective': return ['Collective']
|
|
43
|
+
if kind == 'Guarantee': return ['Collective']
|
|
44
|
+
|
|
45
|
+
raise Exception('kind "%s" is not mapped.' % kind)
|
|
46
|
+
|
|
47
|
+
def translate_status(status):
|
|
48
|
+
if not status: return 'Unknown'
|
|
49
|
+
|
|
50
|
+
if status == 'Registered': return 'Registered'
|
|
51
|
+
|
|
52
|
+
if status in ['Application published',
|
|
53
|
+
'Application filed',
|
|
54
|
+
'Application opposed',
|
|
55
|
+
'Filed']:
|
|
56
|
+
return 'Pending'
|
|
57
|
+
|
|
58
|
+
if status in ['Expired']:
|
|
59
|
+
return 'Expired'
|
|
60
|
+
|
|
61
|
+
if status in ['Ended']:
|
|
62
|
+
return 'Ended'
|
|
63
|
+
|
|
64
|
+
return 'Unknown'
|
|
65
|
+
#raise Exception('Status "%s" unmapped' % status)
|
|
66
|
+
|
|
67
|
+
def get_termination(value, gbd_status):
|
|
68
|
+
if gbd_status == 'Ended':
|
|
69
|
+
return value
|
|
70
|
+
return None
|
|
71
|
+
|
|
72
|
+
def translate_feature(feature):
|
|
73
|
+
"""translation of mark feature"""
|
|
74
|
+
|
|
75
|
+
# needed information from office
|
|
76
|
+
# if office cannot provide information, then agree on a way to guess (uatm)
|
|
77
|
+
if not feature: return 'Undefined'
|
|
78
|
+
feature = feature.upper()
|
|
79
|
+
if feature == 'COMBINED': return 'Combined'
|
|
80
|
+
if feature == 'WORD': return 'Word'
|
|
81
|
+
if feature == 'STYLIZED_CHARACTERS': return 'Stylized characters'
|
|
82
|
+
if feature == 'FIGURATIVE': return 'Figurative'
|
|
83
|
+
if feature == 'SOUND': return 'Sound'
|
|
84
|
+
if feature == ' 3 d': return 'Three dimensional'
|
|
85
|
+
if feature == '3-d': return 'Three dimensional'
|
|
86
|
+
if feature == '_3_D': return 'Three dimensional'
|
|
87
|
+
if feature == '3-D': return 'Three dimensional'
|
|
88
|
+
return feature.lower().capitalize()
|
|
89
|
+
# raise Exception to recognize unmapped values
|
|
90
|
+
raise Exception('Feature "%s" unmapped' % feature)
|
|
91
|
+
|
|
92
|
+
def get_registration_nb(trademark, tmstatus):
|
|
93
|
+
if "RegistrationNumber" in trademark and trademark.RegistrationNumber:
|
|
94
|
+
return trademark.RegistrationNumber
|
|
95
|
+
|
|
96
|
+
# default registration number to application number
|
|
97
|
+
# in case none is provided
|
|
98
|
+
if tmstatus in ['Registered', 'Expired']:
|
|
99
|
+
return trademark.ApplicationNumber
|
|
100
|
+
|
|
101
|
+
# -----------------------
|
|
102
|
+
# filtering empty tags
|
|
103
|
+
# -----------------------
|
|
104
|
+
def get_goods_services(goods_services):
|
|
105
|
+
nc_gs = {} # classified
|
|
106
|
+
if not goods_services:
|
|
107
|
+
goods_services = []
|
|
108
|
+
|
|
109
|
+
if not isinstance(goods_services, list):
|
|
110
|
+
goods_services = [goods_services]
|
|
111
|
+
|
|
112
|
+
for goods_service in goods_services:
|
|
113
|
+
code = goods_service.ClassNumber
|
|
114
|
+
if code and not code == '0':
|
|
115
|
+
nc_gs[code] = {}
|
|
116
|
+
desc = goods_service.GoodsServicesDescription
|
|
117
|
+
|
|
118
|
+
if hasattr(desc, '__value'):
|
|
119
|
+
terms = desc.__value
|
|
120
|
+
else:
|
|
121
|
+
terms = desc
|
|
122
|
+
|
|
123
|
+
if terms:
|
|
124
|
+
nc_gs[code]['terms'] = terms
|
|
125
|
+
else:
|
|
126
|
+
continue
|
|
127
|
+
|
|
128
|
+
if hasattr(desc, '_languageCode'):
|
|
129
|
+
lang = desc._languageCode
|
|
130
|
+
nc_gs[code]['lang'] = lang.lower()
|
|
131
|
+
|
|
132
|
+
return nc_gs
|
|
133
|
+
|
|
134
|
+
def clean_app_reg_number(app_num):
|
|
135
|
+
if app_num == None:
|
|
136
|
+
return None
|
|
137
|
+
if not app_num[:1].isdigit():
|
|
138
|
+
app_num = app_num[1:]
|
|
139
|
+
return app_num
|
|
140
|
+
|
|
141
|
+
def get_publication_date(publications):
|
|
142
|
+
# in the publication information, in case:
|
|
143
|
+
# PublicationSection == "Registration"
|
|
144
|
+
# the associated PublicationDate is the publicationDate
|
|
145
|
+
if publications == None:
|
|
146
|
+
return None
|
|
147
|
+
if isinstance(publications, list):
|
|
148
|
+
for publication in publications:
|
|
149
|
+
if 'PublicationSection' in publication and publication['PublicationSection'] == 'Registration':
|
|
150
|
+
if 'PublicationDate' in publication:
|
|
151
|
+
return publication['PublicationDate']
|
|
152
|
+
else:
|
|
153
|
+
if "Publication" in publications:
|
|
154
|
+
publication = publications["Publication"]
|
|
155
|
+
if 'PublicationSection' in publication and publication['PublicationSection'] == 'Registration':
|
|
156
|
+
if 'PublicationDate' in publication:
|
|
157
|
+
return publication['PublicationDate']
|
|
158
|
+
return None
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/Transaction
|
|
2
|
+
__/TradeMarkTransactionBody
|
|
3
|
+
____/TransactionContentDetails
|
|
4
|
+
______/TransactionCode
|
|
5
|
+
______/TransactionData
|
|
6
|
+
________/TradeMarkDetails
|
|
7
|
+
__________/TradeMark
|
|
8
|
+
____________/ApplicantDetails
|
|
9
|
+
______________/Applicant
|
|
10
|
+
________________/ApplicantAddressBook
|
|
11
|
+
__________________/FormattedNameAddress
|
|
12
|
+
____________________/Name
|
|
13
|
+
______________________/FreeFormatName
|
|
14
|
+
________________________/FreeFormatNameDetails
|
|
15
|
+
__________________________/FreeFormatNameLine
|
|
16
|
+
________________/ApplicantURI
|
|
17
|
+
____________/ApplicationDate
|
|
18
|
+
____________/ApplicationNumber
|
|
19
|
+
____________/GoodsServicesDetails
|
|
20
|
+
______________/GoodsServices
|
|
21
|
+
________________/ClassDescriptionDetails
|
|
22
|
+
__________________/ClassDescription
|
|
23
|
+
____________________/ClassNumber
|
|
24
|
+
____________/MarkCurrentStatusCode
|
|
25
|
+
____________/MarkFeature
|
|
26
|
+
____________/MarkImageDetails
|
|
27
|
+
______________/MarkImage
|
|
28
|
+
________________/MarkImageCategory
|
|
29
|
+
__________________/CategoryCodeDetails
|
|
30
|
+
____________________/CategoryCode
|
|
31
|
+
________________/MarkImageURI
|
|
32
|
+
____________/OppositionPeriodEndDate
|
|
33
|
+
____________/OppositionPeriodStartDate
|
|
34
|
+
____________/RegistrationOfficeCode
|
|
35
|
+
____________/TradeMarkURI
|
|
36
|
+
____________/WordMarkSpecification
|
|
37
|
+
______________/MarkVerbalElementText
|
|
38
|
+
__________/TradeMark[@operationCode=Insert]
|
|
39
|
+
______/TransactionIdentifier
|
|
40
|
+
__/TransactionHeader
|
|
41
|
+
____/SenderDetails
|
|
42
|
+
______/RequestProducerDateTime
|
|
43
|
+
______/TM-Search TM-Search-TradeMarkList-V1-8.xsd]
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
{% from 'navigation.tmpl' import match %}
|
|
2
|
+
|
|
3
|
+
{% set TradeMark = Transaction.TradeMarkTransactionBody.TransactionContentDetails.TransactionData.TradeMarkDetails.TradeMark %}
|
|
4
|
+
{% set status = TradeMark.MarkCurrentStatusCode | translate_status %}
|
|
5
|
+
|
|
6
|
+
st13: {{ TradeMark.ApplicationNumber | clean_app_reg_number | st13('HR', appdate=TradeMark.ApplicationDate) }}
|
|
7
|
+
gbdStatus: {{ status }}
|
|
8
|
+
registrationOfficeCode: {{ TradeMark.RegistrationOfficeCode }}
|
|
9
|
+
type: TRADEMARK
|
|
10
|
+
|
|
11
|
+
{% if not status == 'Delete' %}
|
|
12
|
+
kind: {{ TradeMark.KindMark | translate_kind }}
|
|
13
|
+
markFeature: {{ TradeMark.MarkFeature | translate_feature }}
|
|
14
|
+
designatedCountries:
|
|
15
|
+
- {{ TradeMark.RegistrationOfficeCode }}
|
|
16
|
+
applicationNumber: {{ TradeMark.ApplicationNumber }}
|
|
17
|
+
applicationDate: {{ TradeMark.ApplicationDate | convertdate('%Y-%m-%d') }}
|
|
18
|
+
registrationNumber: {{ TradeMark | get_registration_nb(TradeMark.MarkCurrentStatusCode) }}
|
|
19
|
+
registrationDate: {{ TradeMark.RegistrationDate }}
|
|
20
|
+
applicationLanguageCode: {{ TradeMark.ApplicationLanguageCode }}
|
|
21
|
+
officeStatus: {{ TradeMark.MarkCurrentStatusCode }}
|
|
22
|
+
statusDate: {{ TradeMark.MarkCurrentStatusDate | convertdate('%Y-%m-%d') }}
|
|
23
|
+
|
|
24
|
+
publicationDate: {{ TradeMark.PublicationDetails | get_publication_date | convertdate('%Y-%m-%d')}}
|
|
25
|
+
|
|
26
|
+
expiryDate: {{ TradeMark.ExpiryDate | convertdate('%Y-%m-%d') }}
|
|
27
|
+
|
|
28
|
+
markDisclaimerDetails:
|
|
29
|
+
{% call(desc) match('MarkDisclaimerDetails.MarkDisclaimer', TradeMark) %}
|
|
30
|
+
- text: {{ desc }}
|
|
31
|
+
languageCode: {{ desc | guess_language(TradeMark.ApplicationLanguageCode) }}
|
|
32
|
+
{% endcall %}
|
|
33
|
+
|
|
34
|
+
markDescriptionDetails:
|
|
35
|
+
{% call(desc) match('MarkDisclaimerDetails.MarkDisclaimer', TradeMark) %}
|
|
36
|
+
- text: {{ desc }}
|
|
37
|
+
languageCode: {{ desc | guess_language(TradeMark.ApplicationLanguageCode) }}
|
|
38
|
+
{% endcall %}
|
|
39
|
+
|
|
40
|
+
wordMarkSpecification:
|
|
41
|
+
markVerbalElement:
|
|
42
|
+
{% call(desc) match('WordMarkSpecification.MarkVerbalElementText', TradeMark) %}
|
|
43
|
+
- text: {{ desc }}
|
|
44
|
+
languageCode: {{ desc | guess_language(TradeMark.ApplicationLanguageCode) }}
|
|
45
|
+
{% endcall %}
|
|
46
|
+
|
|
47
|
+
markImageDetails:
|
|
48
|
+
{% call(img) match('MarkImageDetails.MarkImage', TradeMark) %}
|
|
49
|
+
- name: {{ img.MarkImageURI }}
|
|
50
|
+
colourIndicator: {{ img.MarkImageColourClaimedText | get_true_or_false }}
|
|
51
|
+
colourClaimed:
|
|
52
|
+
{% call(desc) match('MarkImageColourClaimedText', img) %}
|
|
53
|
+
- text: {{ desc }}
|
|
54
|
+
languageCode: {{ desc | guess_language(TradeMark.ApplicationLanguageCode) }}
|
|
55
|
+
{% endcall %}
|
|
56
|
+
classification:
|
|
57
|
+
kind: Vienna
|
|
58
|
+
code:
|
|
59
|
+
{% call(code) match('MarkImageCategory.CategoryCodeDetails.CategoryCode', img) %}
|
|
60
|
+
- {{ code }}
|
|
61
|
+
{% endcall %}
|
|
62
|
+
{% endcall %}
|
|
63
|
+
|
|
64
|
+
markSoundDetails:
|
|
65
|
+
{% call(sound) match('MarkSoundDetails.MarkSound', TradeMark) %}
|
|
66
|
+
- filename: {{ sound.MarkSoundFilename }}
|
|
67
|
+
fileformat: {{ sound.MarkSoundFileFormat }}
|
|
68
|
+
{% endcall %}
|
|
69
|
+
|
|
70
|
+
markVideoDetails:
|
|
71
|
+
{% call(video) match('MarkVideoDetails.MarkVideo', TradeMark) %}
|
|
72
|
+
- filename: {{ video.MarkVideoFilename }}
|
|
73
|
+
fileformat: {{ video.MarkVideoFileFormat }}
|
|
74
|
+
{% endcall %}
|
|
75
|
+
|
|
76
|
+
{% set nc_gs = TradeMark.GoodsServicesDetails.GoodsServices.ClassDescriptionDetails.ClassDescription | get_goods_services %}
|
|
77
|
+
{% if (nc_gs.keys() | length) > 0 %}
|
|
78
|
+
goodsServicesClassification:
|
|
79
|
+
kind: Nice
|
|
80
|
+
version: {{ ASK_THE_OFFICE }}
|
|
81
|
+
class:
|
|
82
|
+
{% for nc in nc_gs.keys() %}
|
|
83
|
+
- code: {{ nc | int }}
|
|
84
|
+
{% if nc_gs[nc]['terms'] %}
|
|
85
|
+
terms:
|
|
86
|
+
{{ nc_gs[nc]['terms'] | guess_language(nc_gs[nc]['lang'], TradeMark.ApplicationLanguageCode) | field_name}}:
|
|
87
|
+
{% for gsline in nc_gs[nc]['terms'] | remove_trailing('.', '-') | split_terms %}
|
|
88
|
+
- {{ gsline | lower }}
|
|
89
|
+
{% endfor %}
|
|
90
|
+
{% endif %}
|
|
91
|
+
{% endfor %}
|
|
92
|
+
{% endif %}
|
|
93
|
+
|
|
94
|
+
priorities:
|
|
95
|
+
{% call(priority) match('PriorityDetails.Priority', TradeMark) %}
|
|
96
|
+
- countryCode: {{ priority.PriorityCountryCode }}
|
|
97
|
+
number: {{ priority.PriorityNumber }}
|
|
98
|
+
date: {{ priority.PriorityDate }}
|
|
99
|
+
{% endcall %}
|
|
100
|
+
|
|
101
|
+
publications:
|
|
102
|
+
{% call(publication) match('PublicationDetails.Publication', TradeMark) %}
|
|
103
|
+
- identifier: {{ publication.PublicationIdentifier }}
|
|
104
|
+
date: {{ publication.PublicationDate }}
|
|
105
|
+
section: {{ publication.PublicationSection }}
|
|
106
|
+
{% endcall %}
|
|
107
|
+
|
|
108
|
+
applicants:
|
|
109
|
+
{% call(Applicant) match('ApplicantDetails.Applicant', TradeMark) %}
|
|
110
|
+
- identifier: {{ Applicant.ApplicantURI }}
|
|
111
|
+
kind: {{ Applicant.ApplicantLegalEntity}}
|
|
112
|
+
fullName:
|
|
113
|
+
{% call(nameline) match('FormattedNameAddress.Name.FormattedName', Applicant.ApplicantAddressBook) %}
|
|
114
|
+
- text: {{ nameline | create_full_name }}
|
|
115
|
+
languageCode: {{ nameline.LastName | guess_language('en') }}
|
|
116
|
+
{% endcall %}
|
|
117
|
+
firstName:
|
|
118
|
+
{% call(nameline) match('FormattedNameAddress.Name.FormattedName.FirstName', Applicant.ApplicantAddressBook) %}
|
|
119
|
+
- languageCode: {{ nameline | guess_language('en') }}
|
|
120
|
+
text: {{ nameline }}
|
|
121
|
+
{% endcall %}
|
|
122
|
+
lastName:
|
|
123
|
+
{% call(nameline) match('FormattedNameAddress.Name.FormattedName.LastName', Applicant.ApplicantAddressBook) %}
|
|
124
|
+
- languageCode: {{ nameline | guess_language('en') }}
|
|
125
|
+
text: {{ nameline }}
|
|
126
|
+
{% endcall %}
|
|
127
|
+
middleName:
|
|
128
|
+
{% call(nameline) match('FormattedNameAddress.Name.FormattedName.MiddleName', Applicant.ApplicantAddressBook) %}
|
|
129
|
+
- languageCode: {{ nameline | guess_language('en') }}
|
|
130
|
+
text: {{ nameline }}
|
|
131
|
+
{% endcall %}
|
|
132
|
+
organizationName:
|
|
133
|
+
{% call(nameline) match('FormattedNameAddress.Name.FormattedName.OrganizationName', Applicant.ApplicantAddressBook) %}
|
|
134
|
+
- languageCode: {{ nameline | guess_language('en') }}
|
|
135
|
+
text: {{ nameline }}
|
|
136
|
+
{% endcall %}
|
|
137
|
+
fullAddress:
|
|
138
|
+
{% call(adrline) match('FormattedNameAddress.Address.FormattedAddress', Applicant.ApplicantAddressBook) %}
|
|
139
|
+
- text: {{ adrline | get_entity_addr }}
|
|
140
|
+
languageCode: {{ nameline | guess_language('en') }}
|
|
141
|
+
{% endcall %}
|
|
142
|
+
detailedAddress:
|
|
143
|
+
- languageCode: {{ Applicant.ApplicantAddressBook.FormattedNameAddress.Address.FormattedAddress.AddressStreet | guess_language('en') }}
|
|
144
|
+
text: {{ Applicant.ApplicantAddressBook.FormattedNameAddress.Address.FormattedAddress.AddressStreet }}
|
|
145
|
+
cityName: {{ Applicant.ApplicantAddressBook.FormattedNameAddress.Address.FormattedAddress.AddressCity }}
|
|
146
|
+
geographicRegionName: {{ Applicant.ApplicantAddressBook.FormattedNameAddress.Address.FormattedAddress.AddressState }}
|
|
147
|
+
postalCode: {{ Applicant.ApplicantAddressBook.FormattedNameAddress.Address.FormattedAddress.AddressPostcode }}
|
|
148
|
+
{% call(adrline) match('FormattedNameAddress.Address', Applicant.ApplicantAddressBook) %}
|
|
149
|
+
countryCode: {{ adrline.AddressCountryCode }}
|
|
150
|
+
{% endcall %}
|
|
151
|
+
{% endcall %}
|
|
152
|
+
|
|
153
|
+
representatives:
|
|
154
|
+
{% call(Representative) match('RepresentativeDetails.Representative', TradeMark) %}
|
|
155
|
+
{% if not Representative.RepresentativeIdentifier.endswith('-null') %}
|
|
156
|
+
- identifier: {{ Representative.RepresentativeURI }}
|
|
157
|
+
kind: {{ Representative.RepresentativeLegalEntity}}
|
|
158
|
+
fullName:
|
|
159
|
+
{% call(nameline) match('FormattedNameAddress.Name.FormattedName', Representative.RepresentativeAddressBook) %}
|
|
160
|
+
- text: {{ nameline | create_full_name }}
|
|
161
|
+
languageCode: {{ nameline.LastName | guess_language('en') }}
|
|
162
|
+
{% endcall %}
|
|
163
|
+
firstName:
|
|
164
|
+
{% call(nameline) match('FormattedNameAddress.Name.FormattedName.FirstName', Representative.RepresentativeAddressBook) %}
|
|
165
|
+
- languageCode: {{ nameline | guess_language('en') }}
|
|
166
|
+
text: {{ nameline }}
|
|
167
|
+
{% endcall %}
|
|
168
|
+
lastName:
|
|
169
|
+
{% call(nameline) match('FormattedNameAddress.Name.FormattedName.LastName', Representative.RepresentativeAddressBook) %}
|
|
170
|
+
- languageCode: {{ nameline | guess_language('en') }}
|
|
171
|
+
text: {{ nameline }}
|
|
172
|
+
{% endcall %}
|
|
173
|
+
middleName:
|
|
174
|
+
{% call(nameline) match('FormattedNameAddress.Name.FormattedName.MiddleName', Representative.RepresentativeAddressBook) %}
|
|
175
|
+
- languageCode: {{ nameline | guess_language('en') }}
|
|
176
|
+
text: {{ nameline }}
|
|
177
|
+
{% endcall %}
|
|
178
|
+
organizationName:
|
|
179
|
+
{% call(nameline) match('FormattedNameAddress.Name.FormattedName.OrganizationName', Representative.RepresentativeAddressBook) %}
|
|
180
|
+
- languageCode: {{ nameline | guess_language('en') }}
|
|
181
|
+
text: {{ nameline }}
|
|
182
|
+
{% endcall %}
|
|
183
|
+
fullAddress:
|
|
184
|
+
{% call(adrline) match('FormattedNameAddress.Address.FormattedAddress', Representative.RepresentativeAddressBook) %}
|
|
185
|
+
- text: {{ adrline | get_entity_addr}}
|
|
186
|
+
languageCode: {{ adrline | guess_language('en') }}
|
|
187
|
+
{% endcall %}
|
|
188
|
+
detailedAddress:
|
|
189
|
+
- languageCode: {{ Representative.RepresentativeAddressBook.FormattedNameAddress.Address.FormattedAddress.AddressStreet | guess_language('en') }}
|
|
190
|
+
text: {{ Representative.RepresentativeAddressBook.FormattedNameAddress.Address.FormattedAddress.AddressStreet }}
|
|
191
|
+
cityName: {{ Representative.RepresentativeAddressBook.FormattedNameAddress.Address.FormattedAddress.AddressCity }}
|
|
192
|
+
geographicRegionName: {{ Representative.RepresentativeAddressBook.FormattedNameAddress.Address.FormattedAddress.AddressState }}
|
|
193
|
+
postalCode: {{ Representative.RepresentativeAddressBook.FormattedNameAddress.Address.FormattedAddress.AddressPostcode }}
|
|
194
|
+
{% call(adrline) match('FormattedNameAddress.Address', Representative.RepresentativeAddressBook) %}
|
|
195
|
+
countryCode: {{ adrline.AddressCountryCode }}
|
|
196
|
+
{% endcall %}
|
|
197
|
+
{% endif %}
|
|
198
|
+
{% endcall %}
|
|
199
|
+
|
|
200
|
+
# here goes extra information that is office specific and that is pertinent for us to retain.
|
|
201
|
+
extra:
|
|
202
|
+
oppositionPeriodStartDate: {{ TradeMark.OppositionPeriodStartDate | convertdate('%Y-%m-%d') }}
|
|
203
|
+
oppositionPeriodEndDate: {{ TradeMark.OppositionPeriodEndDate | convertdate('%Y-%m-%d') }}
|
|
204
|
+
|
|
205
|
+
{% endif %}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
render = 'JSON'
|
|
2
|
+
source = 'national'
|
|
3
|
+
|
|
4
|
+
# M0020191466446
|
|
5
|
+
# M0020191466446-11
|
|
6
|
+
# D002009034362
|
|
7
|
+
# JID2019045707
|
|
8
|
+
appnum_mask = [ 'M00\\d{4}(\\d*)',
|
|
9
|
+
'M00\\d{4}(\\d*)-(\\d*)',
|
|
10
|
+
'M00\\d{4}(\\d*)_?([A-Z])',
|
|
11
|
+
'M00\\d{4}(\\d*)-([A-Z])',
|
|
12
|
+
'(\\w{3})\\d{4}(\\d*)' ]
|