snapshot function

Extract CDM metadata