---
- name: device
  title: Device
  group: 2
  short: Fields characterizing a (mobile) device a process or application is running on.
  description: >
    Fields that describe a device instance and its characteristics. 
    Data collected for applications and processes running on a (mobile) device can be enriched with these fields
    to describe the identity, type and other characteristics of the device.

    This field group definition is based on the Device namespace of the OpenTelemetry Semantic Conventions (https://opentelemetry.io/docs/reference/specification/resource/semantic_conventions/device/).
  type: group
  fields:
    - name: id
      level: extended
      example: 00000000-54b3-e7c7-0000-000046bffd97
      type: keyword
      short: The unique identifier of a device. 
      description: >
        The unique identifier of a device. The identifier must not change across application sessions but stay fixex for an instance of a (mobile) device. 

        On iOS, this value must be equal to the vendor identifier (https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor).
        On Android, this value must be equal to the Firebase Installation ID or a globally unique UUID which is persisted across sessions in your application.

        For GDPR and data protection law reasons this identifier should not carry information that would allow to identify a user. 
    - name: model.name
      level: extended
      example: Samsung Galaxy S6
      type: keyword
      description: >
        The human readable marketing name of the device model.
    - name: model.identifier
      level: extended
      example: SM-G920F
      type: keyword
      description: >
        The machine readable identifier of the device model.
    - name: manufacturer
      level: extended
      example: Samsung
      type: keyword
      description: >
        The vendor name of the device manufacturer. 
