Responsible to convert between Peri <> Ecto types definitions
@spec from(Peri.schema_def()) :: term()