openbim-loin 0.2.0

ISO 7817-3 / EN 17412-3 LOIN (Level of Information Need).
Documentation
  • Coverage
  • 100%
    19 out of 19 items documented1 out of 1 items with examples
  • Size
  • Source code size: 30.94 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.11 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 3s Average build duration of successful builds.
  • all releases: 3s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • openbimrs/loin
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • GeneralPawz

openbim-loin

ISO 7817-3 / EN 17412-3 Level of Information Need contracts for Rust.

Version 0.2.0 implements the domain boundary that ISO 7817-3 imports from ISO 23387. Purpose and related LOIN items use DT-owned GUID, language, multilingual text, and reference values. Per-object specifications use the exact DT concept, object-type, property, quantity-kind, group, reference-document, unit, and dimension contracts.

use openbim_loin::{Purpose, dt};

let guid: dt::Guid = "11111111-1111-1111-1111-111111111111".parse()?;
let purpose = Purpose::new(guid, dt::MultiLanguageText::new("en", "Coordination")?);
assert_eq!(purpose.name().text(), "Coordination");
# Ok::<(), Box<dyn std::error::Error>>(())

openbim-loin::dt re-exports the exact openbim-dt version used by the public LOIN model.

This release does not parse, write, migrate, or XSD-validate complete LOIN XML documents. The 2024 and 2022 namespaces remain draft contracts; a future codec must preserve the source namespace and require an explicit output target.

No ISO/CEN schema is vendored. Standards and public committee drafts do not implicitly grant redistribution rights; local references stay out of tree.

Documentation

License

MIT