This makes sense both to validate the input and also to provide better typing.
In order to implement this, we will probably have to rename the existing ProcessFlow struct into ProcessFlowRaw and provide a new ProcessRaw struct with the appropriate field, then write a function to convert between the two. See process.rs for similar examples.