vibe/metamodel/namespace.rs
1//! Stable Vibe IRIs and language-version identity.
2
3/// Canonical VibeScript schema namespace (matches `poet_host/catalog_ttl.rs`).
4pub const VIBE_NS: &str = "https://qualiadb.org/schema/vibe#";
5
6/// Metamodel schema revision for exported RDFS/SHACL artifacts.
7pub const VIBE_SCHEMA_VERSION: &str = "vibe-metamodel-1";
8
9/// IRI for the current language version string (`vibe-0.1`).
10pub const LANGUAGE_VERSION_IRI: &str = "https://qualiadb.org/schema/vibe#LanguageVersion-vibe-0.1";
11
12#[inline]
13/// Namespace term.
14pub fn term(local: &str) -> String {
15 format!("{VIBE_NS}{local}")
16}