# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

---
$schema: moz://mozilla.org/schemas/glean/pings/2-0-0

search-with:
  description: |
    A ping representing a "This time, search with" event with a partner search.
    Does not contain a `client_id`, preferring a `context_id` instead.
    The `context_id` is used internally for counting unique sers as well as for
    anti-fraud. It is shared with other Contextual Services. It is not shared
    externally.

  include_client_id: false
  bugs:
    - https://bugzilla.mozilla.org/show_bug.cgi?id=1870138
  data_reviews:
    - https://bugzilla.mozilla.org/show_bug.cgi?id=1870138
  notification_emails:
    - mkaply@mozilla.com

serp-categorization:
  description: |
    A ping representing a series of SERP loads that have been categorized. Does
    not contain `client_id`. Is sent after a threshold of SERP loads is reached.
  reasons:
    startup: |
      Submitted as one of the startup idle tasks.
    inactivity: |
      Submitted after 2 minutes of uninterrupted activity, followed by inactivity.
    threshold_reached: |
      Submitted after 10 SERPs have been categorized.
  include_client_id: false
  send_if_empty: false
  metadata:
    include_info_sections: false
    use_ohttp: true
  bugs:
    - https://bugzilla.mozilla.org/show_bug.cgi?id=1868476
  data_reviews:
    - https://bugzilla.mozilla.org/show_bug.cgi?id=1868476
  notification_emails:
    - fx-search-telemetry@mozilla.com
    - rev-data@mozilla.com
