File: object.yaml

package info (click to toggle)
glean-parser 15.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,260 kB
  • sloc: python: 7,033; ruby: 100; makefile: 87
file content (101 lines) | stat: -rw-r--r-- 2,437 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# Any copyright is dedicated to the Public Domain.
# https://creativecommons.org/publicdomain/zero/1.0/

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

complex.types:
  number_array:
    type: object
    description: Just a list of nums.
    bugs:
      - https://bugzilla.mozilla.org/11137353
    data_reviews:
      - http://example.com/reviews
    notification_emails:
      - CHANGE-ME@example.com
    expires: never
    structure:
      type: array
      items:
        type: number

  array_in_array:
    type: object
    description: An array of arrays of bools.
    bugs:
      - https://bugzilla.mozilla.org/11137353
    data_reviews:
      - http://example.com/reviews
    notification_emails:
      - CHANGE-ME@example.com
    expires: never
    structure:
      type: array
      items:
        type: array
        items:
          type: boolean

# yamllint disable rule:line-length
activity.stream:
  tiles:
    type: object
    description: |
      The id, position, and shim for each newtab tile and any extra nested data,
      e.g. `[{"id": 1, "pos": 2, "shim": "long-id", "nested": { "count": 17, "info": "more info"}}]`
    bugs:
      - https://bugzilla.mozilla.org/11137353
    data_reviews:
      - http://example.com/reviews
    notification_emails:
      - CHANGE-ME@example.com
    expires: never
    structure:
      type: array
      items:
        type: object
        properties:
          id:
            type: number
          pos:
            type: number
          shim:
            type: string
          nested:
            type: object
            properties:
              count:
                type: number
              info:
                type: string

crash.stack:
  threads:
    type: object
    description: |
      All threads' frame information.
      e.g. `[{frames: [{module_index: 0, ip: "0xdecafc0ffe", trust: "scan"}]}]`
    bugs:
      - https://bugzilla.mozilla.org/11137353
    data_reviews:
      - http://example.com/reviews
    notification_emails:
      - CHANGE-ME@example.com
    expires: never
    structure:
      type: array
      items:
        type: object
        properties:
          frames:
            type: array
            items:
              type: object
              properties:
                module_index:
                  type: number
                ip:
                  type: string
                trust:
                  type: string