...
The change in metadata of a record is modelled as a list of changes to its Metadata Fields. Each change to a metadata field contains as a property the value before and after. Because the calculation of the difference is intrinsically linked with the Metadata Inheritance, the same rule applies, namely that the change is calculated per top field and concerns the complete field. For example when adding a keyword “C” to a record with existing keywords “A, B”, the value before is “A, B” and the value after is “A, B, C”.
JSON
XML
<premis:eventDetailInformation>
<premis:eventDetail>on_disk</premis:eventDetail>
<premis:eventDetailExtension>
<mhs:Difference xmlns:mhs="https://zeticon.mediahaven.com/metadata/24.1/mhs/">
<mhs:MetadataFieldChange>
<mhs:DottedKey>Administrative.LastModifiedDate</mhs:DottedKey>
<mhs:ValueBefore>2023-11-07T11:26:52.838000Z</mhs:ValueBefore>
<mhs:ValueAfter>2023-11-07T11:26:53.079000Z</mhs:ValueAfter>
</mhs:MetadataFieldChange>
<mhs:MetadataFieldChange>
<mhs:DottedKey>Internal.ArchiveStatus</mhs:DottedKey>
<mhs:ValueBefore>in_progress</mhs:ValueBefore>
<mhs:ValueAfter>on_disk</mhs:ValueAfter>
</mhs:MetadataFieldChange>
</mhs:Difference>
</premis:eventDetailExtension>
</premis:eventDetailInformation>
Output
The difference is outputted in the following contexts
...