Skip to main content

Metadata

Description

The aggregator requires account metadata. This parameter is a path to a json file that represents that metadata. It is used to understand the input file schema.

#FieldDescription
1nameName of the column
2positionColumn number
3typIt should match with the input file data type.Data type possible values: I32,F32,I64,F64,String.I32 for Number in range (-2,147,483,648 to 2,147,483,647). I64 for number in range (-1e19 to 1e19). F32 for less precise and F64 for more precise decimal number. Note: for date, it should be i64.

Example

{
"fields": [
{
"name": "gl_cd",
"position": 1,
"typ": "String"
},
{
"name": "branch_cd",
"position": 2,
"typ": "String"
},
{
"name": "dr_bal",
"position": 3,
"typ": "F64"
}
]
}

In the above example, dr_bal is the name of the column present in the 3rd position of the input file and is of decimal type.