Skip to main content

Crate crossfoot_instance

Crate crossfoot_instance 

Source
Expand description

crossfoot-instance: XBRL 2.1 instance loading (contexts, units, items, tuples, footnotes) and instance validation (§4).

Contract (frozen): load_instance, parse_context, parse_unit, validate.

Re-exports§

pub use validate::validate;

Modules§

enumerations
Extensible Enumerations 1.0 (2014): taxonomy constraints on enum:enumerationItemType concepts (enumte:*) and fact values that must be usable members of the concept’s domain (enumie:InvalidFactValue). Owned by the versioning/taxonomy workstream (enumeration checks only).
equal
XBRL 2.1 §4.10 equality predicates: s-equal contexts (with typed segment / scenario content), u-equal units, v-equal values. Contexts and units reduce to comparable keys.
validate
XBRL 2.1 instance validation (§4). Owned by the XBRL 2.1 workstream.

Functions§

load_instance
Load an XBRL instance (the DTS must already be discovered from its references).
parse_context
Parse an xbrli:context element. doc is the index of its document in Instance::docs.
parse_unit
Parse an xbrli:unit element.