from hawkeye_monitor.checks.null_checks import CheckNonNullableFields def get_checklist(): # Define checklist checklist = [ CheckNonNullableFields( { "bool": { "must": [ { "nested": { "path": "labelSoundRecordings", "query": { "bool": { "must_not": { "exists": { "field": "labelSoundRecordings.vendorId" } } } }, } }, { "nested": { "path": "labelSoundRecordings", "query": { "bool": { "must": [ { "exists": { "field": "labelSoundRecordings.uuid" } } ] } }, } }, ] } } ) ] return checklist