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,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
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# standard gbd definitions
|
|
2
|
+
from gbdtransformation.brands.filters import st13 as std_st13
|
|
3
|
+
|
|
4
|
+
# namespaces defined in XML and to be ignored in procecssing
|
|
5
|
+
ignore_namespace = []
|
|
6
|
+
|
|
7
|
+
def parse_appnum(appnum):
|
|
8
|
+
return appnum.split('/')
|
|
9
|
+
|
|
10
|
+
# -------------------------------------------------------------
|
|
11
|
+
# data translation helpers:
|
|
12
|
+
# translate values from office interpretation to gbd equivalent
|
|
13
|
+
# -------------------------------------------------------------
|
|
14
|
+
|
|
15
|
+
gbd_status_map = {
|
|
16
|
+
'1': 'Ended',
|
|
17
|
+
'2': 'Ended',
|
|
18
|
+
'3': 'Pending',
|
|
19
|
+
'4': 'Registered',
|
|
20
|
+
'5': 'Delete'
|
|
21
|
+
}
|
|
22
|
+
off_status_map = {
|
|
23
|
+
'1': 'Invalid registration',
|
|
24
|
+
'2': 'Registration aborted',
|
|
25
|
+
'3': 'In registration',
|
|
26
|
+
'4': 'Registered',
|
|
27
|
+
'5': 'Deleted'
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
def translate_status(status, feature):
|
|
31
|
+
"""translation of mark status"""
|
|
32
|
+
# a required data from office. if not present and no way to guess,
|
|
33
|
+
# return Unknown
|
|
34
|
+
gstatus = gbd_status_map[status]
|
|
35
|
+
|
|
36
|
+
# this is an empty document. we will import it as a Delete
|
|
37
|
+
if gstatus == 'Ended' and feature == 'Undefined':
|
|
38
|
+
gstatus = 'Delete'
|
|
39
|
+
|
|
40
|
+
return (gstatus, off_status_map[status])
|
|
41
|
+
|
|
42
|
+
map_feature = {
|
|
43
|
+
'B': 'Figurative',
|
|
44
|
+
'C': 'Combined',
|
|
45
|
+
'F': 'Colour',
|
|
46
|
+
'G': 'Motion',
|
|
47
|
+
'H': 'Hologram',
|
|
48
|
+
'K': 'Three dimensional',
|
|
49
|
+
'L': 'Multimedia',
|
|
50
|
+
'O': 'Other',
|
|
51
|
+
'P': 'Position',
|
|
52
|
+
'S': 'Sound',
|
|
53
|
+
'W': 'Word',
|
|
54
|
+
'M': 'Pattern'
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
def translate_feature(feature):
|
|
59
|
+
"""translation of mark feature"""
|
|
60
|
+
|
|
61
|
+
# needed information from office
|
|
62
|
+
# if office cannot provide information, then agree on a way to guess (uatm)
|
|
63
|
+
if not feature: return 'Undefined'
|
|
64
|
+
|
|
65
|
+
translated_feature = map_feature.get(feature, None)
|
|
66
|
+
if translated_feature:
|
|
67
|
+
return translated_feature
|
|
68
|
+
|
|
69
|
+
# raise Exception to recognize unmapped values
|
|
70
|
+
raise Exception('Feature "%s" unmapped' % feature)
|
|
71
|
+
|
|
72
|
+
def get_name(applicant):
|
|
73
|
+
return ("%s %s" % (applicant.Vorname, applicant.Name)).replace('None', '').strip()
|
|
74
|
+
|
|
75
|
+
def get_address(applicant):
|
|
76
|
+
return ("%s %s %s %s %s" % (applicant.Strasse, applicant.Stiege, applicant.Tuer, applicant.PLZ, applicant.Ort)).replace('None ', '').strip()
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
|
|
2
|
+
/mark
|
|
3
|
+
__/AnmeldeDatum
|
|
4
|
+
__/Anmeldenummer
|
|
5
|
+
__/Applicants
|
|
6
|
+
____/item
|
|
7
|
+
______/Land
|
|
8
|
+
______/Name
|
|
9
|
+
______/Ort
|
|
10
|
+
______/PLZ
|
|
11
|
+
______/PersonenAuswahlId
|
|
12
|
+
______/Personenart
|
|
13
|
+
______/Reihenfolge
|
|
14
|
+
______/Stiege
|
|
15
|
+
______/Strasse
|
|
16
|
+
______/Tuer
|
|
17
|
+
______/Vorname
|
|
18
|
+
__/GoodsAndServices
|
|
19
|
+
____/item
|
|
20
|
+
______/Beschreibung
|
|
21
|
+
______/Klassen
|
|
22
|
+
______/Prioritaet
|
|
23
|
+
______/WarenklasseReihenfolge
|
|
24
|
+
__/MarkenName
|
|
25
|
+
__/Markenart
|
|
26
|
+
__/NationaleMarkeId
|
|
27
|
+
__/Pfad
|
|
28
|
+
__/Priorities
|
|
29
|
+
____/item
|
|
30
|
+
______/PrioDatum
|
|
31
|
+
______/PrioLand
|
|
32
|
+
______/PrioritaetReihenfolge
|
|
33
|
+
______/Prioritaetsnummer
|
|
34
|
+
__/PublikationsDatum
|
|
35
|
+
__/Quelle
|
|
36
|
+
__/RegisterDatum
|
|
37
|
+
__/RegisterNr
|
|
38
|
+
__/Representatives
|
|
39
|
+
____/item
|
|
40
|
+
______/Land
|
|
41
|
+
______/Name
|
|
42
|
+
______/Ort
|
|
43
|
+
______/PLZ
|
|
44
|
+
______/PersonenAuswahlId
|
|
45
|
+
______/Personenart
|
|
46
|
+
______/Reihenfolge
|
|
47
|
+
______/Stiege
|
|
48
|
+
______/Strasse
|
|
49
|
+
______/Tuer
|
|
50
|
+
______/Vorname
|
|
51
|
+
__/Status
|
|
52
|
+
__/Widerspruch
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{% from 'navigation.tmpl' import match %}
|
|
2
|
+
|
|
3
|
+
{% set feature = mark.Markenart | translate_feature %}
|
|
4
|
+
{% set (gstatus, ostatus) = mark.Status | translate_status(feature) %}
|
|
5
|
+
|
|
6
|
+
{% set (appnum, appyear) = mark.Anmeldenummer | parse_appnum %}
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
st13: {{ mark.Anmeldenummer | st13("AT", appdate=appyear) }}
|
|
10
|
+
registrationOfficeCode: AT
|
|
11
|
+
type: TRADEMARK
|
|
12
|
+
gbdStatus: {{ gstatus }}
|
|
13
|
+
|
|
14
|
+
{% if not gstatus == 'Delete' %}
|
|
15
|
+
|
|
16
|
+
kind:
|
|
17
|
+
- Individual
|
|
18
|
+
markFeature: {{ feature }}
|
|
19
|
+
designatedCountries:
|
|
20
|
+
- AT
|
|
21
|
+
|
|
22
|
+
applicationNumber: {{ mark.Anmeldenummer }}
|
|
23
|
+
applicationDate: {{ mark.AnmeldeDatum | convertdate('%d.%m.%Y') }}
|
|
24
|
+
publicationDate: {{ mark.PublikationsDatum | convertdate('%d.%m.%Y') }}
|
|
25
|
+
registrationNumber: {{ mark.RegisterNr }}
|
|
26
|
+
registrationDate: {{ mark.RegisterDatum | convertdate('%d.%m.%Y') }}
|
|
27
|
+
applicationLanguageCode: de
|
|
28
|
+
officeStatus: {{ ostatus }}
|
|
29
|
+
statusDate: {{ mark.PublikationsDatum | convertdate('%d.%m.%Y')}}
|
|
30
|
+
wordMarkSpecification:
|
|
31
|
+
markVerbalElement:
|
|
32
|
+
- languageCode: {{ mark.MarkenName | guess_language('de') }}
|
|
33
|
+
text: {{ mark.MarkenName }}
|
|
34
|
+
markImageDetails:
|
|
35
|
+
- name: {{ mark.Pfad}}
|
|
36
|
+
|
|
37
|
+
{% call(nc_gs) match('GoodsAndServices', mark) %}
|
|
38
|
+
goodsServicesClassification:
|
|
39
|
+
kind: Nice
|
|
40
|
+
version: {{ ASK_THE_OFFICE }}
|
|
41
|
+
class:
|
|
42
|
+
{% call(nice) match('item', nc_gs) %}
|
|
43
|
+
- code: {{ nice.Klassen | int }}
|
|
44
|
+
terms:
|
|
45
|
+
{% call(gs) match('Beschreibung', nice) %}
|
|
46
|
+
de:
|
|
47
|
+
{% for gsline in gs | remove_trailing('.') | lower | split_terms %}
|
|
48
|
+
- {{ gsline }}
|
|
49
|
+
{% endfor %}
|
|
50
|
+
{% endcall %}
|
|
51
|
+
{% endcall %}
|
|
52
|
+
{% endcall %}
|
|
53
|
+
|
|
54
|
+
priorities:
|
|
55
|
+
{% call(priority) match('Priorities.item', mark) %}
|
|
56
|
+
- countryCode: {{ priority.PrioLand }}
|
|
57
|
+
number: {{ priority.Prioritaetsnummer}}
|
|
58
|
+
date: {{ priority.PrioDatum | convertdate('%d.%m.%Y') }}
|
|
59
|
+
{% endcall %}
|
|
60
|
+
|
|
61
|
+
applicants:
|
|
62
|
+
{% call(applicant) match('Applicants.item', mark) %}
|
|
63
|
+
- identifier: {{ applicant.PersonenAuswahlId }}
|
|
64
|
+
fullName:
|
|
65
|
+
- text: {{ applicant | get_name }}
|
|
66
|
+
languageCode: de
|
|
67
|
+
fullAddress:
|
|
68
|
+
- languageCode: de
|
|
69
|
+
text: {{ applicant | get_address }}
|
|
70
|
+
countryCode: {{ applicant.Land }}
|
|
71
|
+
{% endcall %}
|
|
72
|
+
|
|
73
|
+
representatives:
|
|
74
|
+
{% call(rep) match('Representatives.item', mark) %}
|
|
75
|
+
- identifier: {{ rep.PersonenAuswahlId }}
|
|
76
|
+
fullName:
|
|
77
|
+
- text: {{ rep | get_name }}
|
|
78
|
+
languageCode: de
|
|
79
|
+
fullAddress:
|
|
80
|
+
- languageCode: de
|
|
81
|
+
text: {{ rep | get_address }}
|
|
82
|
+
countryCode: {{ rep.Land }}
|
|
83
|
+
{% endcall %}
|
|
84
|
+
|
|
85
|
+
{% endif %}
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
from datetime import datetime, date
|
|
2
|
+
from gbdtransformation.brands import kinds as std_kinds
|
|
3
|
+
from gbdtransformation.brands import status as std_status
|
|
4
|
+
from gbdtransformation.brands import features as std_features
|
|
5
|
+
|
|
6
|
+
ignore_namespace = [
|
|
7
|
+
'http://www.ipaustralia.gov.au/trademarks/schema/tm-extract/2005/2',
|
|
8
|
+
'http://www.ipaustralia.gov.au/trademarks/schema/tm-extract/2012/1'
|
|
9
|
+
]
|
|
10
|
+
|
|
11
|
+
def translate_feature(feature, words=None):
|
|
12
|
+
# needed information from office
|
|
13
|
+
if not feature or not isinstance(feature, str): return 'Undefined'
|
|
14
|
+
|
|
15
|
+
# out-of-the-box match
|
|
16
|
+
if feature.capitalize() in std_features:
|
|
17
|
+
return feature.capitalize()
|
|
18
|
+
|
|
19
|
+
lst = feature.split(', ')
|
|
20
|
+
|
|
21
|
+
has_words = words or _lst_has(lst, 'Word')
|
|
22
|
+
has_figure = _lst_has(lst, 'Shape', 'Device', 'Figurative')
|
|
23
|
+
|
|
24
|
+
if has_words and has_figure: return 'Combined'
|
|
25
|
+
if _lst_has(lst, 'Word'): return 'Word'
|
|
26
|
+
if _lst_has(lst, 'Movement'): return 'Motion'
|
|
27
|
+
if _lst_has(lst, 'Shape'): return 'Three dimensional'
|
|
28
|
+
if _lst_has(lst, 'Figurative'): return 'Figurative'
|
|
29
|
+
if _lst_has(lst, 'Fancy'): return 'Stylized characters'
|
|
30
|
+
if _lst_has(lst, 'Colour'): return 'Colour'
|
|
31
|
+
if _lst_has(lst, 'Scent'): return 'Olfactory'
|
|
32
|
+
if _lst_has(lst, 'Feel'): return 'Touch'
|
|
33
|
+
if _lst_has(lst, 'Other'): return 'Other'
|
|
34
|
+
|
|
35
|
+
return 'Other'
|
|
36
|
+
#raise Exception('Feature "%s" unmapped' % feature)
|
|
37
|
+
|
|
38
|
+
def translate_status(status):
|
|
39
|
+
if not status: return 'Unknown'
|
|
40
|
+
|
|
41
|
+
# out-of-the-box match
|
|
42
|
+
if status.capitalize() in std_status:
|
|
43
|
+
return status.capitalize()
|
|
44
|
+
|
|
45
|
+
status_translated = _status_map.get(status.lower(), None)
|
|
46
|
+
|
|
47
|
+
if not status_translated:
|
|
48
|
+
return 'Unknown'
|
|
49
|
+
#raise Exception('Status "%s" unmapped' % status)
|
|
50
|
+
|
|
51
|
+
return status_translated
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
def translate_kind(kind):
|
|
55
|
+
# out-of-the-box match
|
|
56
|
+
if kind.capitalize() in std_kinds:
|
|
57
|
+
return [kind.capitalize()]
|
|
58
|
+
|
|
59
|
+
if kind == 'Trade': return ['Individual']
|
|
60
|
+
if kind == 'Certification': return ['Certificate']
|
|
61
|
+
|
|
62
|
+
if not kind: return ['Individual']
|
|
63
|
+
|
|
64
|
+
return ['Other']
|
|
65
|
+
#raise Exception('kind "%s" is not mapped.' % kind)
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
# -------------------------
|
|
69
|
+
# handling dates exceptions
|
|
70
|
+
# -------------------------
|
|
71
|
+
def get_application_date(tm):
|
|
72
|
+
sdate = tm.BASGR.BASAPPD
|
|
73
|
+
# application date not set
|
|
74
|
+
if not sdate:
|
|
75
|
+
rdate = tm.BASGR.BASREGD
|
|
76
|
+
if rdate:
|
|
77
|
+
return rdate
|
|
78
|
+
try:
|
|
79
|
+
irdate = tm.INTREGG.NTFDATE
|
|
80
|
+
if irdate:
|
|
81
|
+
return irdate
|
|
82
|
+
except: pass
|
|
83
|
+
|
|
84
|
+
return sdate
|
|
85
|
+
|
|
86
|
+
def get_registration_date(tm):
|
|
87
|
+
rdate = tm.BASGR.BASREGD
|
|
88
|
+
if rdate:
|
|
89
|
+
return rdate
|
|
90
|
+
|
|
91
|
+
# try to look in registration publication
|
|
92
|
+
try:
|
|
93
|
+
return tm.PUBREG.PUBREGD
|
|
94
|
+
except: pass
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
def get_expiry_date(tm):
|
|
98
|
+
edate = tm.BASGR.BASREND
|
|
99
|
+
# expiry date not set
|
|
100
|
+
if not edate:
|
|
101
|
+
status = tm.BASGR.BASSTA
|
|
102
|
+
if status.endswith('Renewal fee not paid') or status.startswith('Registered'):
|
|
103
|
+
sdate = tm.BASGR.BASREGD
|
|
104
|
+
# add 10 years to registration date
|
|
105
|
+
if sdate:
|
|
106
|
+
sdate = datetime.strptime(sdate, '%Y%m%d')
|
|
107
|
+
try:
|
|
108
|
+
edate = sdate.replace(year = sdate.year + 10)
|
|
109
|
+
except ValueError:
|
|
110
|
+
edate = sdate + (date(sdate.year + 10, 3, 1) - date(sdate.year, 3, 1))
|
|
111
|
+
|
|
112
|
+
edate = edate.strftime('%Y%m%d')
|
|
113
|
+
|
|
114
|
+
return edate
|
|
115
|
+
|
|
116
|
+
# -----------------------------------------------------
|
|
117
|
+
# helpers for applicants/representatives/correspondence
|
|
118
|
+
# -----------------------------------------------------
|
|
119
|
+
def unique_persons(persons):
|
|
120
|
+
if not persons:
|
|
121
|
+
return []
|
|
122
|
+
|
|
123
|
+
if not isinstance(persons, list):
|
|
124
|
+
persons = [persons]
|
|
125
|
+
|
|
126
|
+
# records are sometines duplicated with same NAML8
|
|
127
|
+
# ADDRL8 666666:XX - "Refer to WIPO correspondence" (International Application)
|
|
128
|
+
unique_by_identifier = list({p.get('NAML8', None): p
|
|
129
|
+
for p in persons
|
|
130
|
+
if not p.ADDRL8 == '666666:XX' }.values())
|
|
131
|
+
|
|
132
|
+
return unique_by_identifier
|
|
133
|
+
|
|
134
|
+
def get_person_name(person):
|
|
135
|
+
if not person:
|
|
136
|
+
return None
|
|
137
|
+
|
|
138
|
+
name_lst = [person.NAML4, person.NAML5, person.NAML3, person.NAML6]
|
|
139
|
+
name_lst = list(filter(None, name_lst))
|
|
140
|
+
return ' '.join(name_lst)
|
|
141
|
+
|
|
142
|
+
# ------------
|
|
143
|
+
# helpers
|
|
144
|
+
# ------------
|
|
145
|
+
# get the injected tag: WIPO_IMGNB
|
|
146
|
+
def get_nb_images(tm):
|
|
147
|
+
try:
|
|
148
|
+
if tm.MARKDET.DEVDESC is not None: return 1
|
|
149
|
+
except: pass
|
|
150
|
+
return 0
|
|
151
|
+
# NOT INJECTION ANYMORE int(tm[list(tm.keys()).pop()])
|
|
152
|
+
|
|
153
|
+
# split on ',' if series
|
|
154
|
+
def get_word_series(text, is_series):
|
|
155
|
+
if not text:
|
|
156
|
+
return []
|
|
157
|
+
|
|
158
|
+
return text.split(',') if is_series else [text]
|
|
159
|
+
|
|
160
|
+
def _lst_has(lst, *values):
|
|
161
|
+
for value in values:
|
|
162
|
+
value = value.lower()
|
|
163
|
+
for item in lst:
|
|
164
|
+
if item.lower().startswith(value):
|
|
165
|
+
return True
|
|
166
|
+
return False
|
|
167
|
+
|
|
168
|
+
_status_map = {
|
|
169
|
+
'published: awaiting examination': 'Pending',
|
|
170
|
+
'accepted: awaiting advertisement': 'Pending',
|
|
171
|
+
'accepted: opposed': 'Pending',
|
|
172
|
+
'accepted: in opposition period': 'Pending',
|
|
173
|
+
'accepted: opposition period expired': 'Pending',
|
|
174
|
+
'accepted: under examination': 'Pending',
|
|
175
|
+
'published: awaiting indexing': 'Pending',
|
|
176
|
+
'published: awaiting examination': 'Pending',
|
|
177
|
+
'published: under examination': 'Pending',
|
|
178
|
+
'published: under examination - hearing requested': 'Pending',
|
|
179
|
+
'published: under examination - deferred': 'Pending',
|
|
180
|
+
'published: under examination - court action': 'Pending',
|
|
181
|
+
'published: deferred awaiting certification rules assessment': 'Pending',
|
|
182
|
+
'published: cancelled at the request of ib': 'Ended',
|
|
183
|
+
|
|
184
|
+
'accepted: awaiting publication': 'Registered',
|
|
185
|
+
|
|
186
|
+
'registered: registered/protected': 'Registered',
|
|
187
|
+
'protected: registered/protected': 'Registered',
|
|
188
|
+
'registered: renewal due': 'Registered',
|
|
189
|
+
'protected: renewal due': 'Registered',
|
|
190
|
+
|
|
191
|
+
'linked: linked/merged before registration': 'Ended',
|
|
192
|
+
'linked: linked/merged after registration': 'Ended',
|
|
193
|
+
'merged: linked/merged before registration': 'Ended',
|
|
194
|
+
'merged: linked/merged after registration': 'Ended',
|
|
195
|
+
|
|
196
|
+
'lapsed: notice of intention to defend not filed': 'Ended',
|
|
197
|
+
'lapsed: registration fee not paid on time': 'Ended',
|
|
198
|
+
'lapsed: not accepted': 'Ended',
|
|
199
|
+
'lapsed: in opposition period': 'Ended',
|
|
200
|
+
'lapsed: under examination': 'Ended',
|
|
201
|
+
'removed: non-use': 'Ended',
|
|
202
|
+
'removed: registrar cessation': 'Ended',
|
|
203
|
+
'rejected: examination requirements not met': 'Ended',
|
|
204
|
+
'withdrawn: cancelled before protection': 'Ended',
|
|
205
|
+
'cancelled: owner request': 'Ended',
|
|
206
|
+
'cancelled: cancelled by a court': 'Ended',
|
|
207
|
+
'cancelled: cancelled at the request of ib': 'Ended',
|
|
208
|
+
'cancelled: cancelled for unknown reason': 'Ended',
|
|
209
|
+
'refused: opposition successful': 'Ended',
|
|
210
|
+
'refused: irda notice of intention to defend not filed': 'Ended',
|
|
211
|
+
'refused: pre 1995 refused': 'Ended',
|
|
212
|
+
'withdrawn: applicant request': 'Ended',
|
|
213
|
+
'ceased: non-use': 'Ended',
|
|
214
|
+
'ceased: registrar cessation': 'Ended',
|
|
215
|
+
'not protected: not accepted': 'Ended',
|
|
216
|
+
'not protected: registration fee not paid on time': 'Ended',
|
|
217
|
+
'not protected: notice of intention to defend not filed': 'Ended',
|
|
218
|
+
'registered: expired renewal possible': 'Expired',
|
|
219
|
+
'protected: expired renewal possible': 'Expired',
|
|
220
|
+
'removed - not renewed: renewal fee not paid': 'Expired',
|
|
221
|
+
'ceased - not renewed: renewal fee not paid': 'Expired'
|
|
222
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/TMEXTRACT
|
|
2
|
+
__/APCTADD
|
|
3
|
+
____/ADDRL6
|
|
4
|
+
____/ADDRL8
|
|
5
|
+
____/COUNTRY
|
|
6
|
+
____/NAML1
|
|
7
|
+
____/NAML3
|
|
8
|
+
____/NAML4
|
|
9
|
+
____/NAML6
|
|
10
|
+
____/NAML8
|
|
11
|
+
____/POSTCDE
|
|
12
|
+
__/BASGR
|
|
13
|
+
____/BASAPPD
|
|
14
|
+
____/BASAPPN
|
|
15
|
+
____/BASCAND
|
|
16
|
+
____/BASREGD
|
|
17
|
+
____/BASREND
|
|
18
|
+
____/BASSTA
|
|
19
|
+
____/OOCC
|
|
20
|
+
__/CIDET
|
|
21
|
+
____/CITEXT
|
|
22
|
+
____/CLMTADD
|
|
23
|
+
______/ADDRL6
|
|
24
|
+
______/ADDRL8
|
|
25
|
+
______/COUNTRY
|
|
26
|
+
______/NAML3
|
|
27
|
+
______/NAML4
|
|
28
|
+
______/NAML6
|
|
29
|
+
______/NAML8
|
|
30
|
+
______/POSTCDE
|
|
31
|
+
____/CLSRVAD
|
|
32
|
+
______/ADDRL6
|
|
33
|
+
______/ADDRL8
|
|
34
|
+
______/COUNTRY
|
|
35
|
+
______/NAML1
|
|
36
|
+
______/NAML3
|
|
37
|
+
______/NAML4
|
|
38
|
+
______/NAML6
|
|
39
|
+
______/NAML8
|
|
40
|
+
______/POSTCDE
|
|
41
|
+
__/DIVCLM
|
|
42
|
+
____/PARAPPD
|
|
43
|
+
____/PARAPPN
|
|
44
|
+
__/GSGR
|
|
45
|
+
____/GSTERMO
|
|
46
|
+
____/NICCLAI
|
|
47
|
+
__/INTREGG
|
|
48
|
+
____/CORADD
|
|
49
|
+
______/ADDRL6
|
|
50
|
+
______/ADDRL8
|
|
51
|
+
______/COUNTRY
|
|
52
|
+
______/NAML1
|
|
53
|
+
______/NAML3
|
|
54
|
+
______/NAML4
|
|
55
|
+
______/NAML6
|
|
56
|
+
______/NAML8
|
|
57
|
+
______/POSTCDE
|
|
58
|
+
____/INTREGN
|
|
59
|
+
____/NTFDATE
|
|
60
|
+
__/MARKDET
|
|
61
|
+
____/DEVDESC
|
|
62
|
+
____/DISCLAI
|
|
63
|
+
____/MARDESC
|
|
64
|
+
____/ORIGLAN
|
|
65
|
+
____/TYPMARI
|
|
66
|
+
____/TYPMARI[@nil=true]
|
|
67
|
+
__/OTHTMDET
|
|
68
|
+
____/TYPMARI
|
|
69
|
+
__/PRIGR
|
|
70
|
+
____/COUNTRY
|
|
71
|
+
____/PRIAPPD
|
|
72
|
+
____/PRIAPPN
|
|
73
|
+
__/PUBAPP
|
|
74
|
+
____/PUBAPPD
|
|
75
|
+
____/PUBAPPIS
|
|
76
|
+
____/PUBAPPYR
|
|
77
|
+
__/PUBREG
|
|
78
|
+
____/PUBREGD
|
|
79
|
+
____/PUBREGIS
|
|
80
|
+
____/PUBREGYR
|
|
81
|
+
__/SRVCADD
|
|
82
|
+
____/ADDRL6
|
|
83
|
+
____/ADDRL8
|
|
84
|
+
____/COUNTRY
|
|
85
|
+
____/NAML1
|
|
86
|
+
____/NAML3
|
|
87
|
+
____/NAML4
|
|
88
|
+
____/NAML6
|
|
89
|
+
____/NAML8
|
|
90
|
+
____/POSTCDE
|
|
91
|
+
__/WIPO_IMGNB
|