The type is renamed to field_type in this MR: https://github.com/AIDASoft/DD4hep/pull/1080
type
field_type