diff options
Diffstat (limited to 'tagit/utils')
-rw-r--r-- | tagit/utils/namespaces.py | 13 |
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', ) |