openactive / modelling-opportunity-data

OpenActive Modelling Opportunity Data specification
https://www.openactive.io/modelling-opportunity-data/
Other
6 stars 6 forks source link

Add lastModifed (or similar) attribute to Opportunity data #270

Open thill-odi opened 3 years ago

thill-odi commented 3 years ago

Submitted by @thill-odi on behalf of London Sport.

At the moment, data freshness (that is to say, the last time a record was updated) is recorded only in the RPDE modified attribute, and not within the data itself.

This adds an extra layer of complexity at harvest time: if a user wants to query on 'last updated' values, they need to explicitly associate the modified value with the data item throughout the processing chain. It may be easier for data consumers if a lastModified or lastUpdated value were provided within the data item structure itself

thill-odi commented 3 years ago

This is also a recommendation from Porism:

"Modified date and time - the date and time a record was added or last modified is needed to make incremental updates to copies of data held and to give a degree of confidence in its likely up-to-dateness. Such a date and time is used by and included in RPDE feeds but not within the data structure"