Create datatype for fault definition