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,112 @@
|
|
|
1
|
+
{% from 'navigation.tmpl' import match %}
|
|
2
|
+
{% set TradeMark = Transaction.TradeMarkTransactionBody.TransactionContentDetails.TransactionData.TradeMarkDetails.TradeMark %}
|
|
3
|
+
{% set status = TradeMark.MarkCurrentStatusCode | translate_status %}
|
|
4
|
+
type: TRADEMARK
|
|
5
|
+
kind:
|
|
6
|
+
- {{ TradeMark.KindMark | translate_kind }}
|
|
7
|
+
markFeature: {{ TradeMark.MarkFeature | translate_feature }}
|
|
8
|
+
registrationOfficeCode: IN
|
|
9
|
+
designatedCountries:
|
|
10
|
+
- IN
|
|
11
|
+
filingPlace: {{ TradeMark.FilingPlace }}
|
|
12
|
+
st13: {{ TradeMark.ApplicationNumber | st13('IN', appdate=TradeMark.ApplicationDate) }}
|
|
13
|
+
applicationNumber: {{ TradeMark.ApplicationNumber }}
|
|
14
|
+
applicationDate: {{ TradeMark.ApplicationDate | convertdate('%Y-%m-%d') }}
|
|
15
|
+
registrationNumber: {{ TradeMark.RegistrationNumber }}
|
|
16
|
+
registrationDate: {{ TradeMark.RegistrationDate }}
|
|
17
|
+
applicationLanguageCode: {{ TradeMark.ApplicationLanguageCode }}
|
|
18
|
+
expiryDate: {{ TradeMark.ExpiryDate }}
|
|
19
|
+
gbdStatus: {{ status }}
|
|
20
|
+
officeStatus: {{ TradeMark.MarkCurrentStatusCode }}
|
|
21
|
+
terminationDate: {{ TradeMark.MarkCurrentStatusDate | get_termination(status) }}
|
|
22
|
+
statusDate: {{ TradeMark.MarkCurrentStatusDate | convertdate('%Y-%m-%d') }}
|
|
23
|
+
markDescriptionDetails:
|
|
24
|
+
{% call(desc) match('MarkDescriptionDetails.MarkDescription', TradeMark) %}
|
|
25
|
+
- text: {{ desc }}
|
|
26
|
+
languageCode: {{ desc | guess_language(desc._languageCode, TradeMark.ApplicationLanguageCode) }}
|
|
27
|
+
{% endcall %}
|
|
28
|
+
wordMarkSpecification:
|
|
29
|
+
markVerbalElement:
|
|
30
|
+
{% call(desc) match('WordMarkSpecification.MarkVerbalElementText', TradeMark) %}
|
|
31
|
+
- text: {{ desc | remove_cr }}
|
|
32
|
+
languageCode: {{ desc | guess_language(desc._languageCode, TradeMark.ApplicationLanguageCode) }}
|
|
33
|
+
{% endcall %}
|
|
34
|
+
markImageDetails:
|
|
35
|
+
{% call(img) match('MarkImageDetails.MarkImage', TradeMark) %}
|
|
36
|
+
- name: {{ img.MarkImageFilename }}
|
|
37
|
+
colourIndicator: {{ img.MarkImageColourIndicator | get_true_or_false }}
|
|
38
|
+
colourClaimed:
|
|
39
|
+
{% call(desc) match('MarkImageColourClaimedText', img) %}
|
|
40
|
+
- text: {{ desc }}
|
|
41
|
+
languageCode: {{ desc | guess_language(desc._languageCode, TradeMark.ApplicationLanguageCode) }}
|
|
42
|
+
{% endcall %}
|
|
43
|
+
classification:
|
|
44
|
+
kind: Vienna
|
|
45
|
+
code:
|
|
46
|
+
{% call(code) match('MarkImageCategory.CategoryCodeDetails.CategoryCode', img) %}
|
|
47
|
+
- {{ code }}
|
|
48
|
+
{% endcall %}
|
|
49
|
+
{% endcall %}
|
|
50
|
+
|
|
51
|
+
{% call(nc_gs) match('GoodsServicesDetails.GoodsServices', TradeMark) %}
|
|
52
|
+
goodsServicesClassification:
|
|
53
|
+
kind: Nice
|
|
54
|
+
class:
|
|
55
|
+
{% call(nice) match('ClassDescriptionDetails.ClassDescription', nc_gs) %}
|
|
56
|
+
- code: {{ nice.ClassNumber | int }}
|
|
57
|
+
{% if nice.GoodsServicesDescription | has_value %}
|
|
58
|
+
terms:
|
|
59
|
+
{% call(desc) match('GoodsServicesDescription', nice) %}
|
|
60
|
+
{{ desc | guess_language(desc._languageCode, TradeMark.ApplicationLanguageCode) | field_name }}:
|
|
61
|
+
{% for gsline in desc.__value | remove_trailing('.') | replace('---', '___') | replace('\u2022', ';') | split_terms %}
|
|
62
|
+
- {{ gsline }}
|
|
63
|
+
{% endfor %}
|
|
64
|
+
{% endcall %}
|
|
65
|
+
{% endif %}
|
|
66
|
+
{% endcall %}
|
|
67
|
+
{% endcall %}
|
|
68
|
+
priorities:
|
|
69
|
+
{% call(priority) match('PriorityDetails.Priority', TradeMark) %}
|
|
70
|
+
- countryCode: {{ priority.PriorityCountryCode }}
|
|
71
|
+
number: {{ priority.PriorityNumber }}
|
|
72
|
+
date: {{ priority.PriorityDate }}
|
|
73
|
+
comment: {{ priority.PriorityStatusCode }}
|
|
74
|
+
{% endcall %}
|
|
75
|
+
publications:
|
|
76
|
+
{% call(publication) match('PublicationDetails.Publication', TradeMark) %}
|
|
77
|
+
- identifier: {{ publication.PublicationIdentifier }}
|
|
78
|
+
date: {{ publication.PublicationDate }}
|
|
79
|
+
section: {{ publication.PublicationSection }}
|
|
80
|
+
{% endcall %}
|
|
81
|
+
applicants:
|
|
82
|
+
{% call(applicant) match('ApplicantDetails.Applicant', TradeMark) %}
|
|
83
|
+
{% if applicant.ApplicantAddressBook.FormattedNameAddress.Name.FreeFormatName.FreeFormatNameDetails.FreeFormatNameLine | has_value %}
|
|
84
|
+
- kind: {{ applicant.ApplicantLegalEntity }}
|
|
85
|
+
fullName:
|
|
86
|
+
- languageCode: {{ TradeMark.ApplicationLanguageCode }}
|
|
87
|
+
text: {{ applicant.ApplicantAddressBook.FormattedNameAddress.Name.FreeFormatName.FreeFormatNameDetails.FreeFormatNameLine }}
|
|
88
|
+
fullAddress:
|
|
89
|
+
- languageCode: {{ TradeMark.ApplicationLanguageCode }}
|
|
90
|
+
text: {{ applicant.ApplicantAddressBook.FormattedNameAddress.Address.FreeFormatAddress.FreeFormatAddressLine }}
|
|
91
|
+
contact:
|
|
92
|
+
phone: {{ applicant.ApplicantAddressBook.ContactInformationDetails.Phone }}
|
|
93
|
+
email: {{ applicant.ApplicantAddressBook.ContactInformationDetails.Email }}
|
|
94
|
+
countryCode: {{ applicant.ApplicantNationalityCode}}
|
|
95
|
+
{% endif %}
|
|
96
|
+
{% endcall %}
|
|
97
|
+
representatives:
|
|
98
|
+
{% call(rep) match('RepresentativeDetails.Representative', TradeMark) %}
|
|
99
|
+
{% if rep.RepresentativeAddressBook.FormattedNameAddress.Name.FreeFormatName.FreeFormatNameDetails.FreeFormatNameLine | has_value %}
|
|
100
|
+
- kind: {{ rep.RepresentativeLegalEntity }}
|
|
101
|
+
fullName:
|
|
102
|
+
- languageCode: {{ TradeMark.ApplicationLanguageCode }}
|
|
103
|
+
text: {{ rep.RepresentativeAddressBook.FormattedNameAddress.Name.FreeFormatName.FreeFormatNameDetails.FreeFormatNameLine }}
|
|
104
|
+
fullAddress:
|
|
105
|
+
- languageCode: {{ TradeMark.ApplicationLanguageCode }}
|
|
106
|
+
text: {{ rep.RepresentativeAddressBook.FormattedNameAddress.Address.FreeFormatAddress.FreeFormatAddressLine }}
|
|
107
|
+
contact:
|
|
108
|
+
phone: {{ rep.RepresentativeAddressBook.ContactInformationDetails.Phone }}
|
|
109
|
+
email: {{ rep.RepresentativeAddressBook.ContactInformationDetails.Email }}
|
|
110
|
+
countryCode: {{ rep.RepresentativeNationalityCode}}
|
|
111
|
+
{% endif %}
|
|
112
|
+
{% endcall %}
|
|
File without changes
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
import gbdtransformation.common.filters as commons
|
|
2
|
+
from gbdtransformation.brands import kinds as std_kinds
|
|
3
|
+
from gbdtransformation.brands import events as std_events
|
|
4
|
+
|
|
5
|
+
def get_appdate(appdate, appnum):
|
|
6
|
+
return appdate
|
|
7
|
+
|
|
8
|
+
def translate_kind(kind):
|
|
9
|
+
# out-of-the-box match
|
|
10
|
+
if kind.capitalize() in std_kinds:
|
|
11
|
+
return [kind.capitalize()]
|
|
12
|
+
|
|
13
|
+
return ['Other']
|
|
14
|
+
#raise Exception('Kind "%s" not mapped.' % kind)
|
|
15
|
+
|
|
16
|
+
def parse_version(version):
|
|
17
|
+
""" Function is here to be overriden in child elements( e.g BRTM)"""
|
|
18
|
+
return version
|
|
19
|
+
|
|
20
|
+
def parseStatus(status):
|
|
21
|
+
""" Function is here to be overriden in child elements( e.g BRTM)"""
|
|
22
|
+
return status
|
|
23
|
+
|
|
24
|
+
def translate_event(event):
|
|
25
|
+
# out-of-the-box match
|
|
26
|
+
if event.capitalize() in std_events:
|
|
27
|
+
return event.capitalize()
|
|
28
|
+
|
|
29
|
+
if event.lower() == 'active':
|
|
30
|
+
return 'Registered'
|
|
31
|
+
# raise Exception('Event "%s" not mapped.' % event)
|
|
32
|
+
return 'Unknown'
|
|
33
|
+
|
|
34
|
+
def translate_feature(feature):
|
|
35
|
+
if feature == 'Word': return 'Word'
|
|
36
|
+
if feature == 'Figurative': return 'Figurative'
|
|
37
|
+
if feature == 'Combined': return 'Combined'
|
|
38
|
+
if feature == 'Colour': return 'Colour'
|
|
39
|
+
if feature == 'Stylized characters': return 'Stylized characters'
|
|
40
|
+
if feature == '3-D': return 'Three dimensional'
|
|
41
|
+
if feature == 'Sound': return 'Sound'
|
|
42
|
+
if feature == 'Hologram': return 'Hologram'
|
|
43
|
+
if feature == 'Olfactory': return 'Olfactory'
|
|
44
|
+
if feature == 'Position': return 'Position'
|
|
45
|
+
if feature == 'Other': return 'Other'
|
|
46
|
+
if feature == 'Undefined': return 'Undefined'
|
|
47
|
+
|
|
48
|
+
return 'Unknown'
|
|
49
|
+
#raise Exception('Feature "%s" not mapped.' % feature)
|
|
50
|
+
|
|
51
|
+
def translate_status(status):
|
|
52
|
+
status = status.lower()
|
|
53
|
+
|
|
54
|
+
if status == 'registered': return 'Registered'
|
|
55
|
+
if status == 'active': return 'Registered'
|
|
56
|
+
if status == 'reinstated': return 'Registered'
|
|
57
|
+
if status == 'expired': return 'Expired'
|
|
58
|
+
if status == 'inactive': return 'Expired'
|
|
59
|
+
if status == 'published': return 'Pending'
|
|
60
|
+
if status == 'examined': return 'Pending'
|
|
61
|
+
if status == 'filed': return 'Pending'
|
|
62
|
+
if status == 'application filed': return 'Pending'
|
|
63
|
+
if status == 'converted': return 'Pending'
|
|
64
|
+
if status == 'opposed': return 'Pending'
|
|
65
|
+
if status == 'application opposed': return 'Pending'
|
|
66
|
+
if status == 'pending': return 'Pending'
|
|
67
|
+
if status == 'appealed': return 'Pending'
|
|
68
|
+
if status == 'awaiting court action': return 'Pending'
|
|
69
|
+
if status == 'application published': return 'Pending'
|
|
70
|
+
if status == 'abandoned': return 'Ended'
|
|
71
|
+
if status == 'withdrawn': return 'Ended'
|
|
72
|
+
if status == 'registration surrendered': return 'Ended'
|
|
73
|
+
if status == 'application withdrawn': return 'Ended'
|
|
74
|
+
if status == 'rejected': return 'Ended'
|
|
75
|
+
if status == 'application refused': return 'Ended'
|
|
76
|
+
if status == 'finalrefusal': return 'Ended'
|
|
77
|
+
if status == 'suspended': return 'Ended'
|
|
78
|
+
if status == 'invalidated': return 'Ended'
|
|
79
|
+
if status == 'surrendered': return 'Ended'
|
|
80
|
+
if status == 'suspended': return 'Ended'
|
|
81
|
+
if status == 'renewed': return 'Registered'
|
|
82
|
+
if status == 'renewalprocess': return 'Registered'
|
|
83
|
+
if status == 'canceled': return 'Ended'
|
|
84
|
+
if status == 'registration cancelled': return 'Ended'
|
|
85
|
+
if status == 'cancelled': return 'Ended'
|
|
86
|
+
|
|
87
|
+
return 'Unknown'
|
|
88
|
+
#raise Exception('Status "%s" not mapped.' % status)
|
|
89
|
+
|
|
90
|
+
# --------------------
|
|
91
|
+
# cleaning brand name
|
|
92
|
+
# --------------------
|
|
93
|
+
def verbal_lang_map(markVerbalElements, applang=None, remove=[]):
|
|
94
|
+
verbal = {}
|
|
95
|
+
if not isinstance(markVerbalElements, list):
|
|
96
|
+
markVerbalElements = [markVerbalElements]
|
|
97
|
+
|
|
98
|
+
for elt in markVerbalElements:
|
|
99
|
+
if hasattr(elt, '__value'):
|
|
100
|
+
text = elt.__value
|
|
101
|
+
else:
|
|
102
|
+
text = elt
|
|
103
|
+
|
|
104
|
+
if not text: continue
|
|
105
|
+
|
|
106
|
+
text = text.strip().rstrip('.')
|
|
107
|
+
|
|
108
|
+
if not text: continue
|
|
109
|
+
if text == '-': continue
|
|
110
|
+
|
|
111
|
+
if hasattr(elt, '_languageCode'):
|
|
112
|
+
lang = elt._languageCode
|
|
113
|
+
elif applang:
|
|
114
|
+
lang = applang
|
|
115
|
+
else:
|
|
116
|
+
if commons.is_latin(text):
|
|
117
|
+
lang = 'en'
|
|
118
|
+
else:
|
|
119
|
+
lang = commons.guess_language(text, default=applang)
|
|
120
|
+
|
|
121
|
+
verbal.setdefault(lang, [])
|
|
122
|
+
verbal[lang].append(text)
|
|
123
|
+
|
|
124
|
+
return verbal
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
# -----------------------
|
|
128
|
+
# filtering empty tags
|
|
129
|
+
# -----------------------
|
|
130
|
+
def get_goods_services(goods_services):
|
|
131
|
+
nc_gs = {} # classified
|
|
132
|
+
if not goods_services:
|
|
133
|
+
goods_services = []
|
|
134
|
+
|
|
135
|
+
if not isinstance(goods_services, list):
|
|
136
|
+
goods_services = [goods_services]
|
|
137
|
+
|
|
138
|
+
for goods_service in goods_services:
|
|
139
|
+
code = goods_service.ClassNumber
|
|
140
|
+
if code and not code == '0':
|
|
141
|
+
nc_gs[code] = {}
|
|
142
|
+
desc = goods_service.GoodsServicesDescription
|
|
143
|
+
|
|
144
|
+
if hasattr(desc, '__value'):
|
|
145
|
+
terms = desc.__value
|
|
146
|
+
else:
|
|
147
|
+
terms = desc
|
|
148
|
+
|
|
149
|
+
if terms:
|
|
150
|
+
nc_gs[code]['terms'] = terms
|
|
151
|
+
else:
|
|
152
|
+
continue
|
|
153
|
+
|
|
154
|
+
if hasattr(desc, '_languageCode'):
|
|
155
|
+
lang = desc._languageCode
|
|
156
|
+
nc_gs[code]['lang'] = lang.lower()
|
|
157
|
+
|
|
158
|
+
return nc_gs
|
|
159
|
+
|
|
160
|
+
# -----------------------
|
|
161
|
+
# completing missing data
|
|
162
|
+
# -----------------------
|
|
163
|
+
|
|
164
|
+
# Expired trademarks with no Expiry date
|
|
165
|
+
# => get it from Expired event
|
|
166
|
+
def get_expiry_date(trademark, tmstatus):
|
|
167
|
+
if trademark.ExpiryDate:
|
|
168
|
+
return trademark.ExpiryDate
|
|
169
|
+
|
|
170
|
+
if not tmstatus == 'Expired':
|
|
171
|
+
return None
|
|
172
|
+
|
|
173
|
+
# find the MarkEvent Expired and get its date
|
|
174
|
+
events = trademark.get('MarkEventDetails', {}).get('MarkEvent', [])
|
|
175
|
+
for event in events:
|
|
176
|
+
if hasattr(event, 'MarkEventCode'):
|
|
177
|
+
if(event.MarkEventCode == 'Expired'):
|
|
178
|
+
return event.MarkEventDate
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
# Registered or Expired trademarks with no registration date
|
|
182
|
+
# => get it from Registered or Published Event
|
|
183
|
+
def get_registration_date(trademark, tmstatus):
|
|
184
|
+
if trademark.RegistrationDate:
|
|
185
|
+
return trademark.RegistrationDate
|
|
186
|
+
|
|
187
|
+
if not tmstatus in ['Expired', 'Registered']:
|
|
188
|
+
return None
|
|
189
|
+
|
|
190
|
+
# find the MarkEvent Expired and get its date
|
|
191
|
+
events = trademark.get('MarkEventDetails', {}).get('MarkEvent', [])
|
|
192
|
+
|
|
193
|
+
# first priority is to get the Registered Event
|
|
194
|
+
for event in events:
|
|
195
|
+
if hasattr(event, 'MarkEventCode'):
|
|
196
|
+
if event.MarkEventCode == 'Registered':
|
|
197
|
+
return event.MarkEventDate
|
|
198
|
+
# second priority is to get the Published Event
|
|
199
|
+
for event in events:
|
|
200
|
+
if hasattr(event, 'MarkEventCode'):
|
|
201
|
+
if event.MarkEventCode == 'Published':
|
|
202
|
+
return event.MarkEventDate
|
|
203
|
+
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
{% from 'navigation.tmpl' import match %}
|
|
2
|
+
|
|
3
|
+
{% call(header) match('TradeMarkTransactionBody.TransactionContentDetails', Transaction) %}
|
|
4
|
+
|
|
5
|
+
{% set type = header | translate_type %}
|
|
6
|
+
type: {{ type }}
|
|
7
|
+
|
|
8
|
+
{% call(trademark) match('TransactionData.TradeMarkApplication.TradeMarkDetails.TradeMark', header) %}
|
|
9
|
+
|
|
10
|
+
{% set kind = trademark | translate_kind(header) %}
|
|
11
|
+
|
|
12
|
+
kind: {{ kind }}
|
|
13
|
+
|
|
14
|
+
reference:
|
|
15
|
+
{% if header | is_international %}
|
|
16
|
+
office: WO
|
|
17
|
+
registration:
|
|
18
|
+
- number: {{ trademark.ApplicationNumber | get_ir_refnum }}
|
|
19
|
+
{% endif %}
|
|
20
|
+
{% if not type == 'TRADEMARK' %}
|
|
21
|
+
office: {{ trademark.RegistrationOfficeCode }}
|
|
22
|
+
{% endif %}
|
|
23
|
+
|
|
24
|
+
registrationOfficeCode: {{ trademark.RegistrationOfficeCode }}
|
|
25
|
+
designatedCountries:
|
|
26
|
+
- {{ trademark.RegistrationOfficeCode }}
|
|
27
|
+
|
|
28
|
+
applicationLanguageCode: {{ trademark.ApplicationLanguageCode }}
|
|
29
|
+
|
|
30
|
+
{% set tmstatus = trademark | translate_status %}
|
|
31
|
+
{% set appdate = trademark.ApplicationDate | get_appdate(trademark.ApplicationNumber) %}
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
gbdStatus: {{ tmstatus }}
|
|
35
|
+
officeStatus: {{ trademark.MarkCurrentStatusCode | parseStatus }}
|
|
36
|
+
statusDate: {{ trademark.MarkCurrentStatusDate }}
|
|
37
|
+
publicationDate: {{ (trademark.PublicationDetails.Publication | last).PublicationDate }}
|
|
38
|
+
|
|
39
|
+
markFeature: {{ trademark | translate_feature }}
|
|
40
|
+
|
|
41
|
+
st13: {{ trademark.ApplicationNumber | clean_number | st13(trademark.RegistrationOfficeCode, type=type, appdate=appdate) }}
|
|
42
|
+
applicationNumber: {{ trademark.ApplicationNumber | clean_number }}
|
|
43
|
+
applicationDate: {{ trademark.ApplicationDate }}
|
|
44
|
+
registrationNumber: {{ trademark | get_registration_nb(tmstatus) | remove_trailing('-') }}
|
|
45
|
+
registrationDate: {{ trademark | get_registration_date(tmstatus) }}
|
|
46
|
+
|
|
47
|
+
expiryDate: {{ trademark | get_expiry_date(tmstatus) }}
|
|
48
|
+
|
|
49
|
+
{% if tmstatus == 'Ended' %}
|
|
50
|
+
terminationDate: {{ trademark.MarkCurrentStatusDate }}
|
|
51
|
+
{% endif %}
|
|
52
|
+
|
|
53
|
+
markDisclaimerDetails:
|
|
54
|
+
{% call(disclaimer) match('MarkDisclaimerDetails.MarkDisclaimer', trademark) %}
|
|
55
|
+
- text: {{ disclaimer.__value }}
|
|
56
|
+
languageCode: {{ disclaimer.__value | guess_language(disclaimer._languageCode, default=trademark.ApplicationLanguageCode) }}
|
|
57
|
+
{% endcall %}
|
|
58
|
+
|
|
59
|
+
wordMarkSpecification:
|
|
60
|
+
{% call(wordSpec) match('WordMarkSpecification', trademark) %}
|
|
61
|
+
{% set verbal_by_language = wordSpec.MarkVerbalElementText | verbal_lang_map(applang=trademark.ApplicationLanguageCode) %}
|
|
62
|
+
markVerbalElement:
|
|
63
|
+
{% for lang, verbals in verbal_by_language.items() %}
|
|
64
|
+
{% for verbal in verbals %}
|
|
65
|
+
- languageCode: {{ lang }}
|
|
66
|
+
text: {{ verbal }}
|
|
67
|
+
{% endfor %}
|
|
68
|
+
{% endfor %}
|
|
69
|
+
markTranslation:
|
|
70
|
+
{% call(trans) match('MarkTranslation', wordSpec) %}
|
|
71
|
+
- text: {{ trans }}
|
|
72
|
+
languageCode: {{ trans | guess_language(trans._languageCode, trademark.ApplicationLanguageCode) }}
|
|
73
|
+
{% endcall %}
|
|
74
|
+
{% endcall %}
|
|
75
|
+
|
|
76
|
+
markImageDetails:
|
|
77
|
+
{% call(img) match('MarkImageDetails.MarkImage', trademark) %}
|
|
78
|
+
- name: {{ trademark.ApplicationNumber | clean_number }}
|
|
79
|
+
{% call(cclaim) match('MarkImageColourClaimedText', img) %}
|
|
80
|
+
{% if not cclaim.__value == 'N/A' %}
|
|
81
|
+
colourIndicator: {{ cclaim.__value | remove_trailing('-') | get_true_or_false }}
|
|
82
|
+
colourClaimed:
|
|
83
|
+
- text: {{ cclaim.__value | remove_trailing('-') }}
|
|
84
|
+
languageCode: {{ cclaim.__value | remove_trailing('-') | guess_language(cclaim._languageCode, trademark.ApplicationLanguageCode) }}
|
|
85
|
+
{% endif %}
|
|
86
|
+
{% endcall %}
|
|
87
|
+
{% call(category) match('MarkImageCategory', img) %}
|
|
88
|
+
classification:
|
|
89
|
+
kind: {{ category.CategoryKind }}
|
|
90
|
+
version: {{ category.CategoryVersion | parse_version }}
|
|
91
|
+
code:
|
|
92
|
+
{% call(vc) match('CategoryCodeDetails.CategoryCode', category) %}
|
|
93
|
+
- {{ vc }}
|
|
94
|
+
{% endcall %}
|
|
95
|
+
{% endcall %}
|
|
96
|
+
{% endcall %}
|
|
97
|
+
|
|
98
|
+
{% set nc_gs = trademark.GoodsServicesDetails.GoodsServices.ClassDescriptionDetails.ClassDescription | get_goods_services %}
|
|
99
|
+
{% if (nc_gs.keys() | length) > 0 %}
|
|
100
|
+
goodsServicesClassification:
|
|
101
|
+
kind: Nice
|
|
102
|
+
version: {{ ASK_THE_OFFICE }}
|
|
103
|
+
class:
|
|
104
|
+
{% for nc in nc_gs.keys() %}
|
|
105
|
+
- code: {{ nc | int }}
|
|
106
|
+
{% if nc_gs[nc]['terms'] %}
|
|
107
|
+
terms:
|
|
108
|
+
{{ nc_gs[nc]['terms'] | guess_language(nc_gs[nc['terms']], trademark.ApplicationLanguageCode) | field_name}}:
|
|
109
|
+
{% for gsline in nc_gs[nc]['terms'] | remove_trailing('.', '-') | split_terms %}
|
|
110
|
+
- {{ gsline | lower }}
|
|
111
|
+
{% endfor %}
|
|
112
|
+
{% endif %}
|
|
113
|
+
{% endfor %}
|
|
114
|
+
{% endif %}
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
applicants:
|
|
118
|
+
{% call(applicant) match('ApplicantDetails.Applicant', trademark) %}
|
|
119
|
+
{% call(details) match('ApplicantAddressBook.FormattedNameAddress.Name.FreeFormatName', applicant) %}
|
|
120
|
+
- identifier: {{ details.ApplicantIdentifier }}
|
|
121
|
+
fullName:
|
|
122
|
+
{% call(nameline) match('FreeFormatNameDetails.FreeFormatNameLine', details) %}
|
|
123
|
+
{% if nameline | has_value %}
|
|
124
|
+
- text: {{ nameline }}
|
|
125
|
+
languageCode: {{ nameline.__value | guess_language(nameline._languageCode, trademark.ApplicationLanguageCode) }}
|
|
126
|
+
{% endif %}
|
|
127
|
+
{% endcall %}
|
|
128
|
+
{% endcall %}
|
|
129
|
+
{% call(address) match('ApplicantAddressBook.FormattedNameAddress.Address', applicant) %}
|
|
130
|
+
fullAddress:
|
|
131
|
+
{% call(adrline) match('FreeFormatAddress.FreeFormatAddressLine', address) %}
|
|
132
|
+
{% if adrline | has_value %}
|
|
133
|
+
- text: {{ adrline }}
|
|
134
|
+
languageCode: {{ adrline | guess_language(adrline._languageCode, trademark.ApplicationLanguageCode) }}
|
|
135
|
+
{% endif %}
|
|
136
|
+
{% endcall %}
|
|
137
|
+
countryCode: {{ address.AddressCountryCode | remove_trailing('-', '.') | remove_numerics }}
|
|
138
|
+
{% endcall %}
|
|
139
|
+
{% endcall %}
|
|
140
|
+
|
|
141
|
+
representatives:
|
|
142
|
+
{% call(representative) match('RepresentativeDetails.Representative', trademark) %}
|
|
143
|
+
{% call(details) match('RepresentativeAddressBook.FormattedNameAddress.Name.FreeFormatName', representative) %}
|
|
144
|
+
- identifier: {{ details.RepresentativeIdentifier }}
|
|
145
|
+
fullName:
|
|
146
|
+
{% call(nameline) match('FreeFormatNameDetails.FreeFormatNameLine', details) %}
|
|
147
|
+
- text: {{ nameline }}
|
|
148
|
+
languageCode: {{ nameline.__value | guess_language(nameline._languageCode, trademark.ApplicationLanguageCode) }}
|
|
149
|
+
{% endcall %}
|
|
150
|
+
{% endcall %}
|
|
151
|
+
{% call(address) match('RepresentativeAddressBook.FormattedNameAddress.Address', representative) %}
|
|
152
|
+
fullAddress:
|
|
153
|
+
{% call(adrline) match('FreeFormatAddress.FreeFormatAddressLine', address) %}
|
|
154
|
+
{% if not adrline == '-' %}
|
|
155
|
+
- text: {{ adrline }}
|
|
156
|
+
languageCode: {{ adrline | guess_language(adrline._languageCode, trademark.ApplicationLanguageCode) }}
|
|
157
|
+
{% endif %}
|
|
158
|
+
{% endcall %}
|
|
159
|
+
countryCode: {{ address.AddressCountryCode | remove_trailing('-', '.') | remove_numerics }}
|
|
160
|
+
{% endcall %}
|
|
161
|
+
{% endcall %}
|
|
162
|
+
|
|
163
|
+
priorities:
|
|
164
|
+
{% call(priority) match('PriorityDetails.Priority', trademark) %}
|
|
165
|
+
- countryCode: {{ priority.PriorityCountryCode }}
|
|
166
|
+
number: {{ priority.PriorityNumber }}
|
|
167
|
+
date: {{ priority.PriorityDate }}
|
|
168
|
+
{% endcall %}
|
|
169
|
+
|
|
170
|
+
events:
|
|
171
|
+
{% call(event) match('MarkEventDetails.MarkEvent', trademark) %}
|
|
172
|
+
{% if event.MarkEventCode %}
|
|
173
|
+
- officeKind: {{ event.MarkEventCode }}
|
|
174
|
+
gbdKind: {{ event.MarkEventCode | translate_event }}
|
|
175
|
+
date: {{ event.MarkEventDate }}
|
|
176
|
+
{% else %}
|
|
177
|
+
- officeKind: {{ event.OfficeSpecificMarkEventName }}
|
|
178
|
+
gbdKind: {{ event.OfficeSpecificMarkEventName | translate_event }}
|
|
179
|
+
date: {{ event.MarkEventDate }}
|
|
180
|
+
|
|
181
|
+
{% endif %}
|
|
182
|
+
{% endcall %}
|
|
183
|
+
|
|
184
|
+
{% endcall %}
|
|
185
|
+
{% endcall %}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# -------------------------------------------------------------
|
|
2
|
+
# data translation helpers:
|
|
3
|
+
# translate values from office interpretation to gbd equivalent
|
|
4
|
+
# -------------------------------------------------------------
|
|
5
|
+
|
|
6
|
+
def get_full_address(applicant):
|
|
7
|
+
if applicant.postalCode:
|
|
8
|
+
return "%s %s" % (applicant.address, applicant.postalCode)
|
|
9
|
+
return applicant.address
|
|
10
|
+
|
|
11
|
+
def translate_status(status, status_is):
|
|
12
|
+
# office did not map to english -> we do it
|
|
13
|
+
if 'Áfrýjun' in status_is: return 'Pending' # Appeal
|
|
14
|
+
if status_is == 'Afturkallað': return 'Ended' # Revoked
|
|
15
|
+
if status_is == 'Birt': return 'Pending' # Published
|
|
16
|
+
if status_is == 'Andmæli': return 'Registered' # Published
|
|
17
|
+
if status_is == 'Krafa um niðurfellingu': return 'Ended' # Request for cancellation
|
|
18
|
+
if status_is == 'Tilbúið til birtingar': return 'Pending' # Ready for publishing
|
|
19
|
+
if status_is == 'Í rannsókn': return 'Registered' # Investigating ..
|
|
20
|
+
if status_is == 'Krafa um ógildingu': return 'Registered' # Claim for annulment ..
|
|
21
|
+
if status_is == 'Rannsóknarhæft': return 'Pending' #Researchable or in their office Application
|
|
22
|
+
if status_is == 'Fyrsta höfnun': return 'Pending' #First rejection or in their office Application
|
|
23
|
+
if status_is == 'Hafna': return 'Ended' #Rejection or in their office Application
|
|
24
|
+
if status_is == 'Vafamál': return 'Registered' #Investigating or in their office Application
|
|
25
|
+
if status_is == 'Endurupptökufrestur': return 'Pending' #Re-admission deadline (Trad)
|
|
26
|
+
if 'Í bi' in status_is: return 'Pending' #On hold
|
|
27
|
+
if 'nari sko' in status_is: return 'Pending'
|
|
28
|
+
if 'Rökstu' in status_is: return 'Pending'
|
|
29
|
+
if status_is == 'Rökstuningur': return 'Pending'
|
|
30
|
+
if status_is == 'Synja': return 'Ended'
|
|
31
|
+
if status_is == 'Umsögn hjá NS': return 'Pending'
|
|
32
|
+
|
|
33
|
+
if status == 'Filed': return 'Pending'
|
|
34
|
+
if status == 'Expired': return 'Expired'
|
|
35
|
+
if status == 'Ended': return 'Ended'
|
|
36
|
+
if status == 'Registered': return 'Registered'
|
|
37
|
+
|
|
38
|
+
return 'Unknown'
|
|
39
|
+
#raise Exception('status "%s" unmapped' % status)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
def translate_feature(feature, is3D):
|
|
43
|
+
if not feature: return 'Undefined'
|
|
44
|
+
|
|
45
|
+
if is3D: return "Three dimensional"
|
|
46
|
+
if feature == 'orð- og myndmerki': return "Combined"
|
|
47
|
+
if feature == 'myndmerki': return "Figurative"
|
|
48
|
+
if feature == 'orðmerki': return "Word"
|
|
49
|
+
if feature == 'orðmerki skannað': return "Stylized characters"
|
|
50
|
+
if feature == 'hljóðmerki': return "Sound"
|
|
51
|
+
if feature == 'þrívíddarmerki með orðhluta': return "Three dimensional"
|
|
52
|
+
if feature == 'staðsetningarmerki': return "Position"
|
|
53
|
+
if feature == 'annað': return "Other"
|
|
54
|
+
if feature == 'hreyfimerki': return "Motion"
|
|
55
|
+
if feature == 'mynsturmerki': return "Pattern"
|
|
56
|
+
if feature == 'margmiðlunarmerki': return "Multimedia"
|
|
57
|
+
|
|
58
|
+
return 'Other'
|
|
59
|
+
#raise Exception('feature "%s" unmapped' % feature)
|
|
60
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/mark
|
|
2
|
+
__/applicationDate
|
|
3
|
+
__/applicationNumber
|
|
4
|
+
__/dateEftiraTilnefningar
|
|
5
|
+
__/dateExpires
|
|
6
|
+
__/dateModified
|
|
7
|
+
__/datePublished
|
|
8
|
+
__/dateRegistration
|
|
9
|
+
__/dateRenewed
|
|
10
|
+
__/dateUnRegistered
|
|
11
|
+
__/deleted
|
|
12
|
+
__/description
|
|
13
|
+
__/imageCategories
|
|
14
|
+
__/imagePath
|
|
15
|
+
__/is3DMark
|
|
16
|
+
__/isColorMark
|
|
17
|
+
__/isFelagamerki
|
|
18
|
+
__/markAgent
|
|
19
|
+
____/address
|
|
20
|
+
____/county
|
|
21
|
+
____/name
|
|
22
|
+
____/postalCode
|
|
23
|
+
____/ssn
|
|
24
|
+
__/markCategories
|
|
25
|
+
____/item
|
|
26
|
+
______/categoryDescription
|
|
27
|
+
______/categoryNumber
|
|
28
|
+
__/markDiary
|
|
29
|
+
__/markOwners
|
|
30
|
+
____/item
|
|
31
|
+
______/address
|
|
32
|
+
______/country
|
|
33
|
+
______/county
|
|
34
|
+
______/isForeign
|
|
35
|
+
______/name
|
|
36
|
+
______/postalCode
|
|
37
|
+
______/ssn
|
|
38
|
+
__/mpNumber
|
|
39
|
+
__/orginalImagePath
|
|
40
|
+
__/priority
|
|
41
|
+
____/item
|
|
42
|
+
______/categories
|
|
43
|
+
______/country
|
|
44
|
+
______/date
|
|
45
|
+
______/number
|
|
46
|
+
__/registrationNumber
|
|
47
|
+
__/skradVegnaMarkadsfestu
|
|
48
|
+
__/status
|
|
49
|
+
__/statusEN
|
|
50
|
+
__/text
|
|
51
|
+
__/type
|
|
52
|
+
__/useLimitedTo
|
|
53
|
+
__/vmid
|