Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.6j

Application v 6.5c

  

 

Chapter ElevenSGML Functions (continued)

xBRL-CSV

11.21.15 Instance — Table Templates

Table templates are defined as part of an XBRL-CSV instance within the JSON meta data. Templates are referenced by table definitions to define the columns and properties of the associated CSV data. They are associated by the table referencing the template identifier. See section on Section 11.21.13 Instance — xBRL-CSV for a summary description of operation.

An instance can have zero or more table templates. However, each table object must reference a table template. Table templates have the following general properties:

Row ID Column — An identifier specifying the name of the row identifier column. The column provides a unique identifier for each row, and is used to construct the axis for each fact row in a table.

Columns — A series of objects defining each column and their characteristics

Decimals — A decimals value.

Dimensions — This defines the table and default taxonomy relationship with the taxonomy through core dimension items for the table.

Table templates are indexed in a list which can be referenced by index or template identifier or zero index position.

For those API functions that [set or] return data template data, the following key names are used as list entries or as table columns:

  Key Name   Description/Comment  
           
  Basic Data:      
    id   Template identifier. This is the identifier used to link a Table object to a template.  
  Properties:      
    row_id_column   A row ID column provides a unique identifier for each row, and is used to construct the ID property for each fact in a table.  
    decimals   The default decimals value for the table.  
  Table Dimensions:      
    d_concept   Concept name for the OIM concept core dimension.  
    d_entity   Entity identifier for the OIM entity core dimension.  
    d_period   Structured period string for the OIM period core dimension.  
    d_unit   Unit name for the OIM unit core dimension.  
    d_language   Language for the OIM language core dimension.  
    d_member_qname_xx   Zero or more taxonomy defined dimensions specified as a QName axis or member with an associated value. The zero based xx allows 00 or more defined pairs.  
    d_member_value_xx   The associated value for the dimension as a member or typed dimension value.  
  Stats:    
    entry_flags   A hexadecimal string representation of the record’s control flags.  

 

[more?]

Functions

Platform Support

Page revised 2026-07-20