Expand description
Parser for XBRL documents with support for:
- XBRL instance documents
- XBRL taxonomy schemas
- XBRL taxonomy linkbases (presentation, calculation, definition, label, reference)
Structs§
- Arcrole
Type - A resolved
link:arcroleTypedefinition from a taxonomy schema. - Arcrole
Uri - Arc role URI used in presentation/calculation/definition maps (e.g. http://www.xbrl.org/2003/arcrole/parent-child).
- Calculation
Arc - A resolved calculation arc between two concepts.
- Concept
- An XBRL concept defined in the taxonomy schema.
- Concept
Id - Concept element identifier used in label/reference maps
(e.g.
de-gaap-ci_bs.ass). - Concept
View - A focused view of a single concept and its relationships.
- Context
- XBRL context combining entity, period, and optional dimensions
- Context
Id - Type-safe identifier for an XBRL context (the
idattribute on<xbrli:context>elements). - Declared
Accuracy - Declared accuracy constraints for an XBRL item type.
- Definition
Arc - A resolved definition arc between two concepts.
- Document
View - A hierarchical view of an XBRL document organised by presentation sections.
- Element
Decl - Represents an element declaration in the schema, which can be either a global element or an inline element declaration inside a compositor.
- Entity
Identifier - Identifies the reporting entity
- Expanded
Name - The element’s resolved name, based on unique namespace uri instead of prefix.
- Footnote
Arc - An arc in a footnote link (for example
link:footnoteArc). - Footnote
Link - A single
link:footnoteLinkextended link in an XBRL instance. - Footnote
Locator - A locator within a footnote link, usually a
link:locelement. - Footnote
Resource - A footnote resource within a footnote link (
link:footnote). - Group
Def - Represents a group definition in a complex type’s content model.
- Instance
Document - Represents a complete XBRL instance document
- Instance
Parser - The parser for XBRL instance documents.
- Instance
Writer - The writer for XBRL instance documents.
- Item
Fact - Represents a single item fact (data point) in an XBRL instance.
- Label
- A human-readable label for a taxonomy concept.
- Linkbase
Locator - A locator extracted from a linkbase
<loc>element. - Linkbase
Parser - The parser for XBRL linkbase documents.
- Namespace
Prefix - Type-safe namespace prefix key (e.g.
xmlns:xbrlideclaration on the root<xbrli:xbrl>element). - Namespace
Uri - Type-safe namespace URI key (e.g.
xmlns:xbrli=“http://www.xbrl.org/2003/instance” declarations on the root
<xbrli:xbrl>element). - Occurrence
- Represents the occurence constraints for a particle in a complex type’s content model.
- Presentation
Arc - A resolved presentation arc between two concepts.
- Presentation
Relation View - A presentation relationship from or to a concept in a given role.
- QName
- Represents a qualified name in the XML document (e.g., “xbrli:monetaryItemType”).
- Reference
- A regulatory/legal reference for a taxonomy concept.
- Reference
Part - A single key-value part within a reference.
- Role
Type - A resolved
link:roleTypedefinition from a taxonomy schema. - RoleUri
- Extended link role URI used in presentation/calculation/definition maps (e.g. http://www.xbrl.de/taxonomies/de-gaap-ci/role/balanceSheet or http://www.xbrl.org/2003/role/label).
- Schema
Parser - The parser for XBRL schema documents.
- Schema
RefUrl - Identifier for schema ref urls (e.g. http://www.xbrl.de/taxonomies/de-gcd-2020-04-01/de-gcd-2020-04-01-shell.xsd).
- Section
View - One report section (extended link role) from the presentation linkbase.
- Substitution
Group - The resolved substitution group of a concept, including both the resolved base group and the original QName.
- Taxonomy
Schema - A parsed taxonomy schema (.xsd) file.
- Taxonomy
Section View - One presentation role section in a taxonomy view.
- Taxonomy
Set - The complete Discoverable Taxonomy Set (DTS).
- Taxonomy
Tree Node - A concept node in a taxonomy presentation tree.
- Taxonomy
View - A hierarchical view of taxonomy concepts organized by presentation role.
- Tree
Node - A single node in the presentation hierarchy.
- Tuple
Element View - A tuple element projection.
- Tuple
Fact - Represents a tuple fact that can contain child facts.
- Typed
Instance Document - A typed representation of an XBRL instance document.
- Typed
Item Fact - Typed
Tuple Fact - Unit
- Represents a unit of measurement
- UnitId
- Type-safe identifier for an XBRL unit (the
idattribute on<xbrli:unit>elements). - Validation
Message - A single validation finding.
- Validation
Result - Collected results of validating an instance document.
- XmlReader
- A low level encoding-agnostic XML event reader.
- XmlWriter
- XML writer. Writes XML
Events to astd::io::Writeimplementor.
Enums§
- Balance
- The XBRL balance type for a monetary taxonomy element (
xbrli:balanceattribute). - Base
Substitution Group - The base substitution group of a concept, resolved to either
ItemorTuple. - Decimals
- The numeric accuracy attribute value for a fact (
decimalsorprecision). - Element
Particle - Represents an element particle in a complex type’s content model.
- Fact
- Represents a single fact (data point) in an XBRL instance
- Fact
Attribute - Supported mutable attributes for item facts.
- Fact
Attribute Name - Names of removable item-fact attributes.
- Fact
Value - Group
Particle - Represents a group particle in a complex type’s content model.
- Linkbase
Type - The type of linkbase being parsed
- Particle
- Represents a particle in a complex type’s content model.
- Period
- Time period for a context (instant or duration)
- Period
Type - The XBRL period type for a taxonomy element (
xbrli:periodTypeattribute). - Severity
- Severity level of a validation message.
- Tuple
Particle View - A projected tuple content-model particle for display.
- Typed
Fact - Represents a typed fact in the instance, which can be either an item or a tuple.
- Value
Error - Error type for typed fact value conversion.
- Xbrl
Error - Error type for XBRL operations
- Xbrl
Type - Standard XBRL base types (from xbrli) and common custom types (e.g., shares, percent).
Constants§
Functions§
- resolve_
instance - Resolve a [
RawInstance] into anInstanceDocument.
Type Aliases§
- Result
- Result type alias for XBRL operations