{
    "destinations": [
        {
            "name": "devLogging",
            "enabled": true,
            "config": {}
        }, {
            "name": "metricsDestination",
            "enabled": true,
            "config": {
                "events": [
                    {
                        "destination": "CoreAnalytics",
                        "includeProperties": [
                            "cpa_feature_name",
                            "cpa_feature_daily",
                            "cpa_feature_weekly",
                            "cpa_feature_monthly",
                            "cpa_feature_total_months",
                            "cpa_common_deviceFreeSpace",
                            "cpa_common_deviceModel",
                            "cpa_common_osVersion",
                            "cpa_common_librarySizeRange",
                            "cpa_common_icpl_enabled",
                            "cpa_common_icpl_exceedingQuota",
                            "cpa_common_icpl_lowDiskSpace",
                            "cpa_common_icpl_veryLowDiskSpace",
                            "cpa_common_icpl_hasChangesToProcess",
                            "cpa_demographic_userGender",
                            "cpa_demographic_userAgeRange"
                        ],
                        "sourceEventMatchCriteria" : {
                            "key": "com.apple.photos.cpa.active_user_feature"
                        }
                    },
                    {
                        "destination": "CoreAnalytics",
                        "includeProperties": [
                            "taskName",
                            "taskDuration",
                            "taskCompletionState",
                            "taskProgress",
                            "taskSucceeded",
                            "taskTimeSinceLastRun",
							"taskRunIncrementally",
                            "taskFTEDuration",
							"taskFeatureCompleteDuration",
							"cpa_error_domain",
							"cpa_error_code",
							"cpa_error_codeAsString",
							"cpa_error_description",
							"cpa_error_indepthErrors",
                            "cpa_common_librarySizeRange",
                            "cpa_common_momentCountRange",
                            "cpa_common_personCount",
                            "cpa_common_personCountRange",
                            "cpa_common_sceneAnalysisProgress",
                            "cpa_common_faceAnalysisProgress",
                            "cpa_common_fullAnalysisProgress",
                            "cpa_common_icpl_enabled",
                            "cpa_common_icpl_exceedingQuota",
                            "cpa_common_icpl_lowDiskSpace",
                            "cpa_common_icpl_veryLowDiskSpace",
                            "cpa_common_icpl_hasChangesToProcess",
                            "cpa_common_deviceFreeSpace",
                            "cpa_common_hourOfDay",
                            "cpa_common_dayOfWeek",
							"cpa_music_hasAppleMusicSubscription"
                        ],
                        "sourceEventMatchCriteria" : {
                            "key": "com.apple.photos.photoanalysis.TaskHealth"
                        }
                    },
                    {
                        "destination": "CoreAnalytics",
                        "includeProperties": [
                            "activityName",
                            "activityDuration",
                            "activityCompletionState",
                            "activitySucceeded",
                            "cpa_error_domain",
                            "cpa_error_code",
                            "cpa_error_codeAsString",
                            "cpa_error_description",
                            "cpa_error_indepthErrors",
                            "cpa_common_librarySizeRange",
                            "cpa_common_momentCountRange",
                            "cpa_common_personCount",
                            "cpa_common_personCountRange",
                            "cpa_common_sceneAnalysisProgress",
                            "cpa_common_faceAnalysisProgress",
                            "cpa_common_fullAnalysisProgress",
                            "cpa_common_icpl_enabled",
                            "cpa_common_icpl_exceedingQuota",
                            "cpa_common_icpl_lowDiskSpace",
                            "cpa_common_icpl_veryLowDiskSpace",
                            "cpa_common_icpl_hasChangesToProcess",
                            "cpa_common_deviceFreeSpace",
                            "cpa_common_hourOfDay",
                            "cpa_common_dayOfWeek",
                            "cpa_music_hasAppleMusicSubscription"
                        ],
                        "sourceEventMatchCriteria" : {
                            "key": "com.apple.photos.photoanalysis.ActivityHealth"
                        }
                    },
					{
						"destination": "CoreAnalytics",
						"includeProperties": [
							"memoryCount",
							"pipelineStage",
							"fullMemoryType",
							"cpa_common_librarySizeRange",
							"cpa_common_momentCountRange",
							"cpa_common_personCountRange",
							"cpa_common_dayOfWeek",
							"cpa_music_hasAppleMusicSubscription"
						],
						"sourceEventMatchCriteria" : {
							"key": "com.apple.Photos.memories.pipeline"
						}
					},
					{
						"destination": "CoreAnalytics",
						"includeProperties": [
							"triggerType",
							"triggerCount",
							"fullMemoryType",
							"cpa_common_librarySizeRange",
							"cpa_common_momentCountRange",
							"cpa_common_personCountRange",
							"cpa_music_hasAppleMusicSubscription"
						],
						"sourceEventMatchCriteria" : {
							"key": "com.apple.Photos.memories.triggers"
						}
					},
					{
						"destination": "CoreAnalytics",
						"includeProperties": [
							"memoryCount",
							"fullMemoryType",
							"cpa_common_librarySizeRange",
							"cpa_common_momentCountRange",
							"cpa_common_personCountRange"
						],
						"sourceEventMatchCriteria" : {
							"key": "com.apple.Photos.memories.generationByType"
						}
					},
                    {
                        "destination": "CoreAnalytics",
                        "includeProperties": [
                            "numberOfDaysSinceMajorOSUpgrade",
                            "cpa_common_deviceFreeSpace",
                            "cpa_common_icpl_enabled",
                            "cpa_common_librarySizeRange",
                            "cpa_common_momentCountRange"
                        ],
                        "sourceEventMatchCriteria" : {
                            "key": "com.apple.Photos.Intelligence.graphMajorUpdate"
                        }
                    },
                    {
                        "destination": "CoreAnalytics",
                        "includeProperties": [
                            "algorithmVersion",
                            "graphSchemaVersion",
                            "photosLibrarySize",
                            "photosModelVersion",
                            "questionVersion",
                            "result",
                            "cpa_media_age",
                            "cpa_media_cameraType",
                            "cpa_media_curationScore",
                            "cpa_media_importSource",
                            "cpa_media_sceneType",
                            "cpa_media_subject",
                            "cpa_media_subType",
                            "cpa_media_type",
                            "cpa_media_uuid",
                        ],
                        "sourceEventMatchCriteria" : {
                            "key": "com.apple.Photos.Intelligence.PhotosChallenge.SharedLibraryAssets"
                        }
                    },
                    {
                        "destination": "CoreAnalytics",
                        "includeProperties": [
                            "featured_content_allowed",
                            "cpa_common_deviceFreeSpace",
                            "cpa_common_librarySizeRange",
                            "cpa_common_icpl_enabled",
                            "cpa_demographic_userGender",
                            "cpa_demographic_userAgeRange"
                        ],
                        "sourceEventMatchCriteria" : {
                            "key": "com.apple.photos.cpa.featured_content"
                        }
                    },
                    {
                        "destination": "CoreAnalytics",
                        "includeProperties": [
                            "enabled",
                            "mode",
                            "home",
                            "participantsCount",
                            "cpa_common_deviceFreeSpace",
                            "cpa_common_librarySizeRange",
                            "cpa_demographic_userGender",
                            "cpa_demographic_userAgeRange"
                        ],
                        "sourceEventMatchCriteria" : {
                            "key": "com.apple.photos.cpa.camera_sharing"
                        }
                    },
                    {
                        "destination": "CoreAnalytics",
                        "includeProperties": [
                            "view_full_hdr",
                            "cpa_common_deviceFreeSpace",
                            "cpa_common_librarySizeRange"
                        ],
                        "sourceEventMatchCriteria" : {
                            "key": "com.apple.photos.settings"
                        }
                    },
                    {
                        "destination": "CoreAnalytics",
                        "includeProperties": [
                            "cpa_common_deviceFreeSpace",
                            "cpa_common_librarySizeRange",
                            "cpa_demographic_userGender",
                            "cpa_demographic_userAgeRange",
                            
                            "top_people_suggestions_generated",
                            "people_suggestions_generated",
                            "top_pet_suggestions_generated",
                            "pet_suggestions_generated",
                            "top_nature_suggestions_generated",
                            "nature_suggestions_generated",
                            "top_urban_suggestions_generated",
                            "urban_suggestions_generated",
                            "me_suggestions_generated",
                            
                            "top_people_suggestion_count",
                            "people_suggestion_count",
                            "top_pet_suggestion_count",
                            "pet_suggestion_count",
                            "top_nature_suggestion_count",
                            "nature_suggestion_count",
                            "top_urban_suggestion_count",
                            "urban_suggestion_count",
                            "me_suggestion_count",
                            
                            "found_min_shuffle_people_suggestion",
                            "found_min_shuffle_pet_suggestion",
                            "found_min_shuffle_nature_suggestion",
                            "found_min_shuffle_city_suggestion",
                            
                            "eligible_pets_count",
                            "gallery_eligible_people_count",
                            "shuffle_eligible_people_count",
                            "shuffle_picker_people_count",
                            
                            "percentage_of_assets_at_or_above_scene_analysis_version",
                            "percentage_of_assets_at_or_above_face_analysis_version",
                            "library_is_processed_enough",
                        ],
                        "sourceEventMatchCriteria" : {
                            "key": "com.apple.photos.wallpaper.generationSummary"
                        }
                    },
                    {
                        "destination": "CoreAnalytics",
                        "includeProperties": [
                            "cpa_common_deviceFreeSpace",
                            "cpa_common_librarySizeRange",
                            "cpa_demographic_userGender",
                            "cpa_demographic_userAgeRange",
                            
                            "configuration_type",
                            "configuration_options",
                            "asset_count",
                            "custom_edit_count",
                            "depth_enabled_count",
                            "first_media_type",
                            "first_suggestion_subtype",
                            "perspective_zoom_enabled",
                            "depth_enabled",
                            "style_kind",
                            "shuffle_type",
                            "shuffle_frequency",
                            "shuffle_people_count",
                            "people_enabled",
                            "pet_enabled",
                            "nature_enabled",
                            "urban_enabled",
                            
                            "top_people_suggestion_count",
                            "people_suggestion_count",
                            "top_pet_suggestion_count",
                            "pet_suggestion_count",
                            "top_nature_suggestion_count",
                            "nature_suggestion_count",
                            "top_urban_suggestion_count",
                            "urban_suggestion_count",
                            "me_suggestion_count",
                            
                            "found_min_shuffle_people_suggestion",
                            "found_min_shuffle_pet_suggestion",
                            "found_min_shuffle_nature_suggestion",
                            "found_min_shuffle_city_suggestion",
                            
                            "eligible_pets_count",
                            "gallery_eligible_people_count",
                            "shuffle_eligible_people_count",
                            "shuffle_picker_people_count",
                            
                            "percentage_of_assets_at_or_above_scene_analysis_version",
                            "percentage_of_assets_at_or_above_face_analysis_version",
                            "library_is_processed_enough",
                        ],
                        "sourceEventMatchCriteria" : {
                            "key": "com.apple.photos.wallpaper.refreshSummary"
                        }
                    },
                    {
                        "destination": "CoreAnalytics",
                        "includeProperties": [
                            "cpa_common_deviceFreeSpace",
                            "cpa_common_librarySizeRange",
                            
                            "nature_suggestions_generated",
                            "city_suggestions_generated",
                            "people_suggestions_generated",
                            "pet_suggestions_generated",
                            
                            "nature_suggestion_count",
                            "city_suggestion_count",
                            "people_suggestion_count",
                            "pet_suggestion_count",
                            
                            "eligible_pets_count",
                            "eligible_people_count",
                            
                            "percentage_of_assets_at_or_above_scene_analysis_version",
                            "percentage_of_assets_at_or_above_face_analysis_version",
                            "library_is_processed_enough",
                        ],
                        "sourceEventMatchCriteria" : {
                            "key": "com.apple.photos.ambient.generationSummary"
                        }
                    },
					{
						"destination": "CoreAnalytics",
						"includeProperties": [
							"graphSchemaVersion",
							"type",
							"similarityScore",
							"cpa_common_librarySizeRange",
							"cpa_common_momentCountRange"
						],
						"sourceEventMatchCriteria" : {
							"key": "com.apple.Photos.Intelligence.GraphConsistency"
						}
					},
                    {
                        "destination": "CoreAnalytics",
                        "includeProperties": [
                            "cpa_common_librarySizeRange",
                            "cpa_common_momentCountRange",
                            "cpa_common_faceAnalysisProgress",
                            "cpa_common_personCount",
                            
                            "inferenceType",
                            "algorithmVersion",
                            
                            "importantEntityPresenceNotFoundCount",
                            "inferredImportantEntityCount",
                            "invalidImportantLocationPresenceCount",
                            "lifespanInLibraryTooShortCount",
                            "lifespanNotFoundCount",
                            "noMomentsCount",
                            "notEnoughImportantLocationPresenceCount",
                            "notEnoughMomentsCount",
                            "notRecentEnoughCount",
                            "outlierEntityCount",
                        ],
                        "sourceEventMatchCriteria" : {
                            "key": "com.apple.photos.intelligence.importantEntities"
                        }
                    },
                    {
                        "destination": "CoreAnalytics",
                        "includeProperties": [
                            "cpa_common_librarySizeRange",
                            "cpa_common_faceAnalysisProgress",
                            "cpa_common_fullAnalysisProgress",
                            "cpa_common_sharedLibraryEnabled",
                            "VUEnabled",
                            "graphInferenceAvailable",
                            "graphInferenceMatchesGroundTruth",
                            "vuInferenceAvailable",
                            "vuInferenceMatchesGroundTruth",
                        ],
                        "sourceEventMatchCriteria" : {
                            "key": "com.apple.Photos.Intelligence.deviceOwnerInference"
                        }
                    },
                    {
                        "destination": "CoreAnalytics",
                        "includeProperties": [
                            "cpa_common_librarySizeRange"
                        ],
                        "includeEventProperties" : true,
                        "sourceEventMatchCriteria" : {
                            "key": "com.apple.photos.generativeMemory.featureAvailability"
                        }
                    },
                    {
                        "destination": "CoreAnalytics",
                        "includeProperties": [
                            "cpa_common_librarySizeRange",
                            "cpa_common_deviceFreeSpace"
                        ],
                        "includeEventProperties" : true,
                        "sourceEventMatchCriteria" : {
                            "key": "com.apple.photos.spatial.didToggle"
                        }
                    },
                    {
                        "destination": "CoreAnalytics",
                        "includeProperties": [
                            "cpa_common_librarySizeRange",
                            "cpa_common_deviceFreeSpace"
                        ],
                        "includeEventProperties" : true,
                        "sourceEventMatchCriteria" : {
                            "key": "com.apple.photos.spatial.didGenerate"
                        }
                    },
                    {
                        "destination": "CoreAnalytics",
                        "includeProperties": [
                            "cpa_common_librarySizeRange",
                            "cpa_common_deviceFreeSpace"
                        ],
                        "includeEventProperties" : true,
                        "sourceEventMatchCriteria" : {
                            "key": "com.apple.photos.spatial.didPersist"
                        }
                    },
                    {
                        "destination": "CoreAnalytics",
                        "includeProperties": [
                            "cpa_common_librarySizeRange",
                            "cpa_common_momentCountRange",
                        ],
                        "includeEventProperties" : true,
                        "sourceEventMatchCriteria": {
                            "key": "com.apple.photos.publicEvents.invalidation",
                        }
                    },
                    {
                        "destination": "CoreAnalytics",
                        "includeProperties": [
                            "cpa_common_librarySizeRange",
                            "cpa_common_momentCountRange",
                        ],
                        "includeEventProperties" : true,
                        "sourceEventMatchCriteria": {
                            "key": "com.apple.photos.publicEvents.fetching",
                        }
                    },
                ]
            }
        }, {
            "name": "appState",
            "enabled": true,
            "config": {
                "appEvents": [
                    "com.apple.photos.CPAnalytics.mediaSample",
                    "com.apple.photos.CPAnalytics.alchemistFeaturedPhotoSuccess",
                    "com.apple.photos.CPAnalytics.alchemistFeaturedPhotoFailure",
                    "com.apple.photos.spatial.generation3DFailure",
                    "com.apple.photos.alchemist.disabled"
                ]
            }
        }, {
            "name": "interval",
            "enabled": true,
            "config": {
                "trackIntervals": [
                    "com.apple.photos.CPAnalytics.featuredPhotosAlchemistTotalDuration",
                    "com.apple.photos.spatial.generate3DInterval",
                    "com.apple.photos.spatial.endToEndGenerate3DInterval",
                    "com.apple.photos.spatial.generateStereoInterval",
                    "com.apple.photos.spatial.endToEndGenerateStereoInterval"
                ],
                "ignoreIntervals": [
                ],
            },
        }
    ]
}
