         do: [],
         else: [process_data: "invalid value"]
     end)
-    |> put_primary_key()
     |> put_defaults()
     |> changeset(params)
     |> server_to_process_map()

  @opaque id :: PK.t

  @primary_key false
  schema "processes" do
    field :process_id, PK,
      primary_key: true

    end)
  end

  @spec put_defaults(Changeset.t) :: Changeset.t
  defp put_defaults(changeset) do
    cs =
