aboutsummaryrefslogtreecommitdiffstats
path: root/tagit/utils
diff options
context:
space:
mode:
authorMatthias Baumgartner <dev@igsor.net>2023-01-25 10:38:00 +0100
committerMatthias Baumgartner <dev@igsor.net>2023-01-25 10:38:00 +0100
commit20d31b0c4a61b5f026fc8b0ff98c43b8a00bee48 (patch)
tree31ee34801284168276745950b28be3089533d257 /tagit/utils
parent5a818f9e90c7758f2f77de822390b7f4bf4f9ef5 (diff)
downloadtagit-20d31b0c4a61b5f026fc8b0ff98c43b8a00bee48.tar.gz
tagit-20d31b0c4a61b5f026fc8b0ff98c43b8a00bee48.tar.bz2
tagit-20d31b0c4a61b5f026fc8b0ff98c43b8a00bee48.zip
browser folding
Diffstat (limited to 'tagit/utils')
-rw-r--r--tagit/utils/namespaces.py13
1 files changed, 10 insertions, 3 deletions
diff --git a/tagit/utils/namespaces.py b/tagit/utils/namespaces.py
index dd26eef..5446922 100644
--- a/tagit/utils/namespaces.py
+++ b/tagit/utils/namespaces.py
@@ -10,18 +10,25 @@ import typing
# inner-module imports
from . import bsfs as _bsfs
-# constants
-bse = _bsfs.Namespace('http://bsfs.ai/schema/Entity')
+# generic namespaces
+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')
+
+# auxiliary bsfs namespaces
+bse = _bsfs.Namespace('http://bsfs.ai/schema/Entity')
bst = _bsfs.Namespace('http://bsfs.ai/schema/Tag')
-xsd = _bsfs.Namespace('http://www.w3.org/2001/XMLSchema')
+bsg = _bsfs.Namespace('http://bsfs.ai/schema/Group')
# export
__all__: typing.Sequence[str] = (
'bse',
'bsfs',
+ 'bsg',
'bsm',
+ 'bst',
'xsd',
)