diff options
| author | Matthias Baumgartner <dev@igsor.net> | 2023-03-05 19:16:41 +0100 |
|---|---|---|
| committer | Matthias Baumgartner <dev@igsor.net> | 2023-03-05 19:16:41 +0100 |
| commit | 98e567933723c59d1d97b3a85e649cfdce514676 (patch) | |
| tree | e6e0b475c7ab5c6a7ff4f0ea7ad1b08cecf05e68 /tagit/utils | |
| parent | bf98c062ece242a5fc56de0f1adbc12f0588809a (diff) | |
| parent | 5e88d395dee651175a277092c712249e3898a7d8 (diff) | |
| download | tagit-98e567933723c59d1d97b3a85e649cfdce514676.tar.gz tagit-98e567933723c59d1d97b3a85e649cfdce514676.tar.bz2 tagit-98e567933723c59d1d97b3a85e649cfdce514676.zip | |
Merge branch 'mb/newdesign' into develop
Diffstat (limited to 'tagit/utils')
| -rw-r--r-- | tagit/utils/namespaces.py | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/tagit/utils/namespaces.py b/tagit/utils/namespaces.py index dbdb853..a17a927 100644 --- a/tagit/utils/namespaces.py +++ b/tagit/utils/namespaces.py @@ -11,29 +11,31 @@ import typing from . import bsfs as _bsfs # generic namespaces -xsd = _bsfs.Namespace('http://www.w3.org/2001/XMLSchema') +xsd = _bsfs.Namespace('http://www.w3.org/2001/XMLSchema')() # core bsfs namespaces -bsfs = _bsfs.Namespace('http://bsfs.ai/schema', fsep='/') -bsm = _bsfs.Namespace('http://bsfs.ai/schema/Meta') +bsfs = _bsfs.Namespace('https://schema.bsfs.io/core') +bsie = _bsfs.Namespace('https://schema.bsfs.io/ie') # auxiliary bsfs namespaces -bse = _bsfs.Namespace('http://bsfs.ai/schema/Entity') -bsg = _bsfs.Namespace('http://bsfs.ai/schema/Group') -bsp = _bsfs.Namespace('http://bsfs.ai/schema/Preview') -bst = _bsfs.Namespace('http://bsfs.ai/schema/Tag') +bsn = bsie.Node +bse = bsn.Entity() +bsg = bsn.Group() +bsl = bsfs.Literal +bsp = bsn.Preview() +bst = bsn.Tag() # export __all__: typing.Sequence[str] = ( 'bse', 'bsfs', 'bsg', - 'bsm', + 'bsie', + 'bsl', + 'bsn', 'bsp', 'bst', 'xsd', ) ## EOF ## - - |
