I have a field type for which I want all entries in a single collection to be unique.

I am unsure how to achieve that, the documentation refers to Laravels documentation for the Validator. Which says I should specify the DB table & column name, plus the ID so that updates can be made.

How would I achieve that in my yaml config for this field type?

validate: 'required|url|unique:collection_name,ID' <--- ? :)