@type t() :: %{required(String.t()) => KaitaiToolkit.Ksy.Attribute.t()}
@spec from_map!(map()) :: t()