weso / CWR-DataApi

CWR-DataApi
MIT License
34 stars 29 forks source link

Defining blank rules on configuration files #133

Open Bernardo-MG opened 9 years ago

Bernardo-MG commented 9 years ago

It should be posible to define blank rules in the configuration.

Something like this:

group:
  id: acknowledgement_transaction
  rules:
    - sequence:
      - record: acknowledgement
      - record: blank_20

Should become:

group:
  id: acknowledgement_transaction
  rules:
    - sequence:
      - record: acknowledgement
      - record: blank(20)

Where the number in parenthesis should be parsed, to indicate the size of the blank record.