The link between a record (a WellLog for instance) and its associated bulk data is done via a field within the record. The field is inside the `wdms` extension properties and is named `bulkURI`.
This field is managed by WDMS. The record can still be updated independently by pushing a new version and so the `bulkURI` could be removed or altered by someone, fully unaware. This leads to the lost of the bulk data link.
Bulk data are still there and remained associated in previous record versions. However the latest version have no bulk associated or invalid reference to it.
To prevent this, WDMS put in place some rules that check any record creation or update through its APIs doesn't break the integrity of this link:
- case new record ==> `bulkURI` must not be set.
- case record update ==> `bulkURI` must match one of the previous versions.