//! Fixture project for the vocabulary-charter e2e (cycle 0102): deliberately
//! lists a type id that is NOT `<namespace>::`-prefixed, to prove the charter
//! refusal fires through the real `aura-cli::project::load` path (libloading +
//! descriptor read), not merely through the pure `check_charter` unit function.
//! The resolver never needs to resolve anything: the prefix check runs before
//! the list/resolver cross-check, so `vocabulary` can stay a constant `None`.

use aura_core::PrimitiveBuilder;

fn vocabulary(_type_id: &str) -> Option<PrimitiveBuilder> {
    None
}

/// Missing the required `badns::` prefix — the charter violation under test.
fn type_ids() -> &'static [&'static str] {
    &["Bad"]
}

aura_core::aura_project! {
    namespace: "badns",
    vocabulary: vocabulary,
    type_ids: type_ids,
}
