export only published collections
extract shared validations for better reuse