Skip to content

Taxonomy element

bseddon edited this page Nov 10, 2016 · 2 revisions

The 'taxonomy_element' is an array representing the elements defined in the taxonomy schema file. Not all fields will exist in all elements. For example, 'balance' will only exist in numeric type elements. 'tuple_elements' when the substitution group is xbrli:tuple.

Key Comment
id A unique XML id. Usually the name (below) prefixed with a note of the taxonomy
name A name for the element. Does not have to be human cmprehensible.
type A valid type. It can be an XBRL defined type such as xbrli:stringItemType or a custom type.
substitutionGroup The class of the element. There are two main ones: xbrli:item and xbrli:tuple
abstract If the value resolves to true (such as the value 1 or 'true' or 'yes') then the element is abstract and is not expected to be assigned a value. Abstract elements are used in presentation hierarchies to add structure. Default value is false.
nillable True if the value does not have to exist. Default value is true.
periodType This will be 'instant' for balance type items like cash or 'duration' for period type items like profit.
balance Whether the element is naturally a debit or credit.
tuple_elements This member will exist when the element is in the substitution group is xbrli:tuple. See below for more information
Clone this wiki locally