User Tools

Site Tools


Data Types

Throughout the format there will be the need to represent similar types of data. Instead of specifying these types at each location, the follow tags will be used to represent the data:

  • int :  32-bit integer value
  • float :  32-bit floating point value
  • float2 :  
    [ float, float ]
  • float3 :  
    [ float, float, float ]
  • float4 :  
    [ float, float, float, float ]
  • float5 :  
    [ float, float, float, float, float ]
  • string_array :  
    {
        "count" : int, // Number of values in the array
        "values" : [ string, string, ... ]
    }
  • int_array :  
    {
        "count" : int, // Number of values in the array
        "values" : [ int, int, ... ]
    }
  • int2_array :  
    {
        "count" : int, // Number of pairs in the array
        "values" : [ [ int, int ], [ int, int ], ... ]
    }
  • float_array :  
    {
        "count" : int, // Number of values in the array
        "values" : [ float, float, ... ]
    }
  • float2_array :  
    {
        "count" : int, // Number of pairs in the array
        "values" : [ [ float,  float ], [ float, float ], ... ]
    }
  • float3_array :  
    {
        "count" : int, // Number of triples in the array
        "values" : [ [ float,  float, float ], [ float, float, float ], ... ]
    }
  • float_indexed_array :  
    {
        "count" : int, // Number of index/value pairs in the array
        "values" : [ [int, float], [int, float], ... ]
    }
  • float3_indexed_array :  
    {
        "count" : int, // Number of index/float_triple pairs in the array
        "values" : [ [ int, float, float, float ], [ int, float, float, float ], ... ]
    }
  • date_time :  
    "2012-02-25T16:42:11Z" //ISO 8601 extended format