{
  "SchemaVersion": 2,
  "Name": "ShellHealth",
  "Version": 9,
  "InternalOnly": true,
  "FactDefinitions": {
    "AppInteractivitySummaryFact": {
      "FactSource": "MetricsEvent",
      "MetricsEvent": {
        "SourceEventInfo": {
          "SourceEventFullName": "Win32kTraceLogging.AppInteractivitySummary",
          "SourceEventProviderGuid": "487d6e37-1b9d-46d3-a8fd-54ce8bdf8a53"
        },
        "Dimensions": [
          "AppId"
        ],
        "Metrics": [
          "InFocusDurationMS"
        ]
      }
    },
    "ShellTIPFact": {
      "FactSource": "TIP",
      "Tip": {
        "TestCaseIds": [
          "30934572",
          "42505855",
          "43484997",
          "53859750",
          "34903294",
          "34926546",
          "31409258",
          "40145495",
          "35010669",
          "32188357",
          "55327218",
          "28965820",
          "32000474"
        ]
      },
      "EnrichedFields": {
        "area": {
          "EnrichmentType": "inlineMap",
          "PrimaryKeyField": "testCaseId",
          "InlineMap": {
            "30934572": "FileExplorer",
            "42505855": "FileExplorer",
            "43484997": "FileExplorer",
            "53859750": "Logon",
            "34903294": "Search",
            "34926546": "Search",
            "31409258": "StartMenu",
            "40145495": "StartMenu",
            "35010669": "StartMenu",
            "32188357": "StartMenu",
            "55327218": "Taskbar",
            "28965820": "Taskbar",
            "32000474": "Taskbar",
            "__default__": "Unknown"
          }
        }
      }
    }
  },
  "Consumption": {
    "Facts": {
      "ShellHealth": {
        "SourceFactArray": [
          {
            "Name": "ShellTIPFact",
            "Fields": [
              "area",
              "testCaseId",
              "completionKind",
              "reason",
              "hash",
              "metricsBucket",
              "observedSleepTimeInMs",
              "durationMs"
            ]
          },
          {
            "Name": "AppInteractivitySummaryFact",
            "Fields": [
              "AppId",
              "InFocusDurationMS"
            ]
          }
        ],
        "AggregationWindowType": "hourly",
        "AggregationWindowSize": 1,
        "TriggerFrequencyInHours": 1,
        "Endpoints": [
          {
            "Type": "telemetry",
            "TelemetryLevel": "measure",
            "PrivacyTags": [
              "PDT_ProductAndServicePerformance",
              "PDT_ProductAndServiceUsage"
            ]
          }
        ]
      }
    }
  }
}
