A format is a simple list with an entry "pattern" specifying the regex for a a file including match groups, and an entry "annotations" specifying what the matched group means. Should include "id" and "direction".

file_formats

Format

An object of class list of length 4.