justusjonas74/uic-918-3

View on GitHub
src/ticketDataContainers/TC_0080ID_01.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { TicketContainerType } from '../TicketContainer';
import { AUSWEIS_TYP, STRING } from '../block-types';

const TC_0080ID_01: TicketContainerType = {
  name: '0080ID',
  version: '01',
  dataFields: [
    {
      name: 'ausweis_typ',
      length: 2,
      interpreterFn: AUSWEIS_TYP
    },
    {
      name: 'ziffer_ausweis',
      length: 4,
      interpreterFn: STRING
    }
  ]
};
export default TC_0080ID_01;