This module exports the types used to create flag writes.
The Flag type represents a Write to be made to the API which flags a row as having some kind of problem. The table and factualId identify the problematic row, while the problem indicates the type of issue the row has. The user is specified as a string. Other fields such as comment and reference are optional. The debug flag is used to write in debug mode.
A Problem represents what is wrong with the row being flagged