1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//! # panproto-inst
//!
//! Instance representation for panproto (attributed C-sets).
//!
//! This crate provides three instance shapes, unified under [`Instance`]:
//!
//! - **[`WInstance`]**: Tree-shaped (W-type) instances with nodes,
//! arcs, and optional hyper-edge fans.
//! - **[`FInstance`]**: Relational (set-valued functor) instances
//! with tables and foreign keys.
//! - **[`GInstance`]**: Graph-shaped instances with nodes and edges
//! (most general form, no root, cycles allowed).
//!
//! All three are attributed C-sets over different shape categories.
//! The [`Instance`] enum provides a unified interface.
// Allow concrete HashMap/HashSet in public API signatures per ENGINEERING.md spec.
/// Error types for instance operations.
/// Hyperedge fan representation.
/// Set-valued functor instance representation.
/// Graph-shaped instance representation.
/// Unified instance enum (attributed C-set).
/// Metadata types for instance nodes.
/// JSON parsing for W-type instances.
/// Validation of W-type instances against schemas.
/// Value types and field presence.
/// W-type instance representation and the `wtype_restrict` pipeline.
// Re-exports for convenience.
pub use ;
pub use Fan;
pub use ;
pub use ;
pub use Instance;
pub use Node;
pub use ;
pub use validate_wtype;
pub use ;
pub use ;