Pure, closed validation and normalization of the schema 2 manifest.
@spec normalize(term()) :: {:ok, keyword()} | {:error, [map()]}