pub enum Check {
Show 22 variants
Version,
Identity,
ProductStructure,
Pmi,
Presentation,
ArenaOrder,
ReferentialIntegrity,
LoopClosure,
CoedgePairing,
WireTopology,
ShellTopology,
CarrierReachability,
Annotations,
NativeLinks,
ParameterDomain,
Tolerances,
PayloadIntegrity,
Tessellation,
Units,
Bounds,
GeometricConsistency,
Counts,
}Expand description
Which invariant a validation finding concerns.
Variants§
Version
The document schema version is not the version accepted by this build.
Identity
Entity identifiers are empty, duplicated, or not globally unique.
ProductStructure
Product occurrence ownership, references, or acyclicity.
Pmi
PMI targets and annotation-to-annotation references.
Presentation
Presentation-layer membership and references.
ArenaOrder
An arena is not sorted lexicographically by entity id.
ReferentialIntegrity
A referenced id does not resolve in its arena.
LoopClosure
A face loop’s coedge ring does not close.
CoedgePairing
An edge’s two coedges do not pair consistently.
WireTopology
Wire edges, free vertices, or wire bodies violate topology ownership rules.
ShellTopology
A face-bearing shell is disconnected through physical-edge incidence.
CarrierReachability
A geometry carrier cannot be reached from topology or retained construction data.
Annotations
An annotation key, stream index, or field path is invalid.
NativeLinks
A source-native namespace record has an unresolved link.
ParameterDomain
An edge parameter range violates the carrier’s canonical domain.
Tolerances
A document-wide or per-entity tolerance is not sane.
PayloadIntegrity
A preserved byte payload does not match its declared digest or length.
Tessellation
A tessellation payload is malformed.
Units
The document’s units are missing or non-canonical, or a tolerance is invalid.
Bounds
A geometric quantity is out of sane range (e.g. negative radius).
GeometricConsistency
Evaluated carrier geometry disagrees with the topology it supports: an edge’s curve endpoints or a pcurve’s surface image miss the edge’s vertex positions.
Counts
Arena counts / cross-references are internally inconsistent.
Trait Implementations§
impl Copy for Check
Source§impl<'de> Deserialize<'de> for Check
impl<'de> Deserialize<'de> for Check
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for Check
Source§impl JsonSchema for Check
impl JsonSchema for Check
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more