-record(variant_type, { name :: binary(), variants :: list(internal@codegen@types:variant()) }).