Skip to content

Commit 90a1ad4

Browse files
committed
Schemas: Remove unused definitions
1 parent 023558d commit 90a1ad4

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

glean_parser/schemas/metrics.2-0-0.schema.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ description: |
1515
$id: moz://mozilla.org/schemas/glean/metrics/2-0-0
1616

1717
definitions:
18-
token:
19-
type: string
20-
pattern: "^[A-Za-z_][A-Za-z0-9_\\.]*$"
21-
2218
snake_case:
2319
type: string
2420
pattern: "^[a-z_][a-z0-9_]*$"
@@ -39,11 +35,6 @@ definitions:
3935
type: string
4036
pattern: "^[a-z][a-z0-9-]{0,29}$"
4137

42-
long_id:
43-
allOf:
44-
- $ref: "#/definitions/snake_case"
45-
- maxLength: 40
46-
4738
short_id:
4839
allOf:
4940
- $ref: "#/definitions/snake_case"

glean_parser/schemas/pings.2-0-0.schema.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ description: |
1515
$id: moz://mozilla.org/schemas/glean/pings/2-0-0
1616

1717
definitions:
18-
dotted_snake_case:
19-
type: string
20-
pattern: "^[a-z_][a-z0-9_]{0,29}(\\.[a-z_][a-z0-9_]{0,29})*$"
21-
maxLength: 40
2218
# Prior to version 2.0.0 of the schema, special ping names with underscores
2319
# were also supported.
2420
kebab_case:

0 commit comments

Comments
 (0)