It seems that the naming convention for field types is undocumented. Looking at the classy theme shows a seemingly arbitrary convention. For example, the Text (formatted, long, with summary) type as displayed in the UI is apparently named
field--text-with-summary.html.twig as a template file.
What are the naming conventions for field types and how could I have determined them myself?