Ecto doesn’t really ship validations for the :map type. You’d likely need to use validate_change and do your own validation logic or use embeds instead of :map.
Ecto doesn’t really ship validations for the :map type. You’d likely need to use validate_change and do your own validation logic or use embeds instead of :map.