# 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

usage-reporting:
  description: |
    Minimal ping to measure the usage frequency of Firefox.
    Sent on the baseline schedule.
  include_client_id: false
  send_if_empty: true
  bugs:
    - https://bugzilla.mozilla.org/show_bug.cgi?id=1921440
  data_reviews:
    - https://bugzilla.mozilla.org/show_bug.cgi?id=1921440
  notification_emails:
    - glean-team@mozilla.com
    - jrediger@mozilla.com
    - loines@mozilla.com
  metadata:
    follows_collection_enabled: false
    include_info_sections: false
  reasons:
    dirty_startup: |
      Defined to avoid error logging.
      *Note*: this ping will not actually send a ping reason.
    inactive: |
      Defined to avoid error logging.
      *Note*: this ping will not actually send a ping reason.
    active: |
      Defined to avoid error logging.
      *Note*: this ping will not actually send a ping reason.

usage-deletion-request:
  description: |
    This ping is submitted when a user opts out of sending usage
    frequency of Focus to Mozilla.
    Sent in response to user action.
  include_client_id: false
  send_if_empty: true
  bugs:
    - https://bugzilla.mozilla.org/show_bug.cgi?id=1923902
  data_reviews:
    - https://bugzilla.mozilla.org/show_bug.cgi?id=1923902
  notification_emails:
    - glean-team@mozilla.com
    - jrediger@mozilla.com
    - loines@mozilla.com
  metadata:
    follows_collection_enabled: false
    include_info_sections: false
  reasons:
    set_upload_enabled: |
      The ping was submitted between Glean init and Glean shutdown.
      After init but before shutdown the upload of usage reporting data changed
      from enabled to disabled.
