Closed pdowler closed 7 years ago
Intention is to add add a checksum to CaomEntity so this feature would be available at various levels of the data structure. Will need to define the checksum algorithm and the order that metadata values are accumulated so that it can be independently implemented. The timestamp and checksum values defined in CaomEntity will not be part of the checksum.
Because CaomEntity fields are designed/intended to be pimitive types usable (eg usable as attribute values) the checksum algorithm and value will be exressed as a single URI. See https://github.com/opencadc/caom2/issues/15
To be included in CAOM-2.3
Added in CAOM-2.3
From thinking about the plan that emerged from the HST Archive Coordination Meeting:
Usage scenario: if site B has a mirror of the caom metadata from site A, they can harvest new/changed observation documents by looking for recent maxLastModified but they cannot feasibly perform a validation that the content they have is correct in detail.
Proposal: add a checksum of the metadata that could be transmitted with in the observation document and found via a query that lists observation identifiers, maxLastModified, and the checksum.