Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions crates/lance-graph-contract/src/ogar_codebook.rs
Original file line number Diff line number Diff line change
Expand Up @@ -756,6 +756,12 @@ pub const CODEBOOK: &[(&str, u16)] = &[
// `email` (OGIT `ogit:Email`) in the IAM domain above the AuthStore
// profiles; spear plugs it.
("email", 0x0B05),
// Directory objects (OGAR ogar-vocab 0x0B06-0x0B09): a directory user
// and group as observed, one membership edge, one observed license SKU.
("directory_user", 0x0B06),
("directory_group", 0x0B07),
("group_membership", 0x0B08),
("license_assignment", 0x0B09),
// ── 0x0DXX — HR domain (employment / org / contracts; OGAR PR #127) ──
// Closes the final 4-of-11 cross-axis identity gap surfaced by odoo-rs
// PR #14: hr.employee / hr.department / hr.job / hr.contract.
Expand Down Expand Up @@ -1045,6 +1051,8 @@ mod tests {
Some(0x0503_000B)
);
assert_eq!(canonical_concept_id("email"), Some(0x0B05));
assert_eq!(canonical_concept_id("directory_user"), Some(0x0B06));
assert_eq!(canonical_concept_id("license_assignment"), Some(0x0B09));
assert_eq!(canonical_concept_id("unicharset"), Some(0x0801));
assert_eq!(canonical_concept_id("charset"), Some(0x0803));
assert_eq!(canonical_concept_id("patient"), Some(0x0901));
Expand Down
Loading