diff options
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..3fb889c 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') +bse = bsn.Entity() +bsg = bsn.Group() +bsl = bsfs.Literal +bsn = bsie.Node +bsp = bsn.Preview() +bst = bsn.Tag() # export __all__: typing.Sequence[str] = ( 'bse', 'bsfs', 'bsg', - 'bsm', + 'bsie', + 'bsl', + 'bsn', 'bsp', 'bst', 'xsd', ) ## EOF ## - - |