Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter ElevenSGML Functions (continued)

11.20.16 Taxonomy — Data Types

There are three levels to data types:

–  Built in XML data types

–  XBRL International (XI) instance standard data types

–  Taxonomy data types (may point to the standard Data Type Registry, DTR)

Built in and XBRL instance standard are automatically loaded based on the application Data Type Table.

The functions use the following key name for list entries or table columns, respectively:

  Key Name   Description/Comment  
           
  Data Type Record:      
  position   The position in the fact array (not part of data set).  
  Data Type Info:    
    namespace   The specified namespace for the schema loading the data.  
    prefix   The prefix as part of the QName. The prefix is set by the incoming schema(s). If this is load as part of a taxonomy, the concept schema may alter the prefix.  
  name   Name of the data type. This is the local name as defined by the source schema.  
  XBRL Model Information:      
    well_known  

If the type is well known (base type), one of the following strings will be present: ‡

byte

decimal

double

float

int

integer

long

negativeInteger

nonNegativeInteger

nonPositiveInteger

positiveInteger

short

unsignedByte

unsignedInt

unsignedLong

unsignedShort

nonZeroDecimal

 
    class  

Underlying XBRL Model data class. This is the internal validation class type. ‡

Boolean

Date

DateTime

Day

Domain

Duration

Fraction

List

Monetary

Month

MonthDay

Numeric

PerShare

Percent

Pure

Shares

Text

Time

Year

YearMonth 

 
    f_case   A hexadecimal string representing flags for text case sensitivity.  
    base_validation  

XML Base Type. This is a reference to the fundamental XML data type. If present, the value will be one of the following: ‡

Boolean

Fraction

Integer

NonPosInteger

Numeric

PosInteger

Real

Real+/-

SECFormType

String

ThreeDigits

 
  DTR Record (from schema):    
    xml_base_type   If the type references an XML base type, this key field will contain a QName.

 

 

    regex   Optional regular expression text.  
    enum_items   If the type specifies enumerated items, this string will contain a comma separated list of valid fields.  
    documentation   Annotation documentation, general.  
    status   Annotation documentation, status: Recommended or Adopted.  
    requirement   Annotation documentation, requirement.  
    res_base_type   Restriction base.  
    att_group   Attribute group.  
    length   Maximum length.  
    max_exclusive   Maximum length, exclusive.  
    max_inclusive   Maximum length, inclusive.  
    min_exclusive   Minimum length, exclusive.  
    min_inclusive   Minimum length, inclusive.  
    max_length   Maximum length, if present, required for data.  
    min_length   Minimum length, if present, required for data.  
  Control (not always set):      
  id   Identifier if set within schema.  
    url†   Source file.  
    c_sx†   X position in source file.  
    c_sy†   Y position in source file.  
    dt_flags   A hexadecimal string containing data type record flags.  

 

† This value is not presented in terse mode.

‡ This field is derived and is not part of a loaded taxonomy data type.

An XBRL Object will only have labels available if a taxonomy has been loaded. Labels are available from the referenced taxonomy as any linkbases attached to the instance.

Labels are sorted by concept name and then role_url.

Functions

Last Revised: 12/13/2024 03:33 PM