FieldSpec
Describes a single field within the file
Internal field identifier (snake_case recommended)
account_numberHuman-readable label (defaults to name)
Account NumberData type for a field
Possible values: [STRING, INTEGER, LONG, DECIMAL, AMOUNT, DATE, DATETIME, BOOLEAN, ALPHANUMERIC, ROUTING_NUMBER, ACCOUNT_NUMBER, ABA, ENUM]
AMOUNT1-based character start position (fixed-width only)
1Field length in characters (fixed-width only)
170-based column index (CSV/delimited without header)
0Column header name (CSV/delimited with hasHeader: true)
ACCT_NOXPath (XML) or JSONPath (JSON) expression
$.payment.accountNumberXML attribute name (XML only)
Whether the field must be present
trueWhether an empty/null value is acceptable
falseValue to use when field is absent or null
Date/number format pattern (e.g. yyyyMMdd, #,##0.00)
yyyyMMddDecimal places for AMOUNT/DECIMAL fields
2Regular expression the field value must match
^[0-9]{9}$Minimum string length
Maximum string length
17Whitelist of accepted values
PII flag — value will be masked in logs and traces
falseOptional documentation for this field
{
"name": "account_number",
"displayName": "Account Number",
"type": "AMOUNT",
"startPosition": 1,
"length": 17,
"columnIndex": 0,
"columnName": "ACCT_NO",
"path": "$.payment.accountNumber",
"xmlAttribute": "string",
"required": true,
"nullable": false,
"defaultValue": "string",
"format": "yyyyMMdd",
"scale": 2,
"validationRegex": "^[0-9]{9}$",
"minLength": 0,
"maxLength": 17,
"allowedValues": [
"string"
],
"sensitive": false,
"description": "string"
}