Skip to content

Working with Fields

Raghavendra Balgi edited this page May 25, 2020 · 2 revisions

Isosim Fields

IsoSim support Fixed, Variable and Bitmapped fields. Below are examples of field defined within a sample spec (https://github.com/rkbalgi/isosim/blob/master/test/testdata/specs/iso_specs.yaml)

  • Fixed
              - name: "Amount"
                id: 8
                type: Fixed
                size: 12
                data_encoding: ASCII
                position: 4
  • Variable
              - name: "PAN"
                id: 3
                type: Variable
                length_indicator_size: 2
                length_indicator_encoding: ASCII
                data_encoding: ASCII
                position: 2
                constraints:
                  content_type: Numeric
                  max_size: 19
                  min_size: 12
  • Bitmapped
    - name: "Bitmap"
            id: 2
            type: Bitmapped
            data_encoding: BINARY
            children:
               ....
               ....