Skip to content

Commit

Permalink
Merge pull request #859 from midomir/VA-3264
Browse files Browse the repository at this point in the history
[VA-3264] Change XDM metric definition schema
  • Loading branch information
prabhum2 authored Apr 13, 2020
2 parents 21846a9 + ff8fcf8 commit ef97234
Show file tree
Hide file tree
Showing 121 changed files with 139 additions and 147 deletions.
2 changes: 1 addition & 1 deletion schemas/data/application-closes.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"schema:name": "application metric: applicationCloses",
"@id": "xdm:applicationCloses",
"xdm:measurement": "count",
"xdm:unit": null
"xdm:unit": ""
}
2 changes: 1 addition & 1 deletion schemas/data/application-closes.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"const": "count"
},
"xdm:unit": {
"const": null
"const": ""
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion schemas/data/bitrate-changes.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"schema:name": "metric: bitrateChanges",
"@id": "xdm:bitrateChanges",
"xdm:measurement": "count",
"xdm:unit": null
"xdm:unit": ""
}
2 changes: 1 addition & 1 deletion schemas/data/bitrate-changes.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"const": "count"
},
"xdm:unit": {
"const": null
"const": ""
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion schemas/data/bounces.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"schema:name": "direct-marketing metric: bounces",
"@id": "xdm:bounces",
"xdm:measurement": "count",
"xdm:unit": null
"xdm:unit": ""
}
2 changes: 1 addition & 1 deletion schemas/data/bounces.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"const": "count"
},
"xdm:unit": {
"const": null
"const": ""
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion schemas/data/buffers.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"schema:name": "metric: buffers",
"@id": "xdm:buffers",
"xdm:measurement": "count",
"xdm:unit": null
"xdm:unit": ""
}
2 changes: 1 addition & 1 deletion schemas/data/buffers.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"const": "count"
},
"xdm:unit": {
"const": null
"const": ""
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion schemas/data/cart-abandons.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"schema:name": "commerce metric: cartAbandons",
"@id": "xdm:cartAbandons",
"xdm:measurement": "count",
"xdm:unit": null
"xdm:unit": ""
}
2 changes: 1 addition & 1 deletion schemas/data/cart-abandons.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"const": "count"
},
"xdm:unit": {
"const": null
"const": ""
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion schemas/data/checkouts.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"schema:name": "commerce metric: checkouts",
"@id": "xdm:checkouts",
"xdm:measurement": "count",
"xdm:unit": null
"xdm:unit": ""
}
2 changes: 1 addition & 1 deletion schemas/data/checkouts.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"const": "count"
},
"xdm:unit": {
"const": null
"const": ""
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion schemas/data/clicks.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"schema:name": "metric: clicks",
"@id": "xdm:clicks",
"xdm:measurement": "count",
"xdm:unit": null
"xdm:unit": ""
}
2 changes: 1 addition & 1 deletion schemas/data/clicks.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"const": "count"
},
"xdm:unit": {
"const": null
"const": ""
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions schemas/data/completes.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"schema:name": "metric: completes",
"@id": "xdm:completes",
"xdm:measurement": "count",
"xdm:unit": null
}
"xdm:unit": ""
}
2 changes: 1 addition & 1 deletion schemas/data/completes.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"const": "count"
},
"xdm:unit": {
"const": null
"const": ""
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion schemas/data/conversions.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"schema:name": "metric: conversions",
"@id": "xdm:conversions",
"xdm:measurement": "count",
"xdm:unit": null
"xdm:unit": ""
}
2 changes: 1 addition & 1 deletion schemas/data/conversions.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"const": "count"
},
"xdm:unit": {
"const": null
"const": ""
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion schemas/data/drop-before-starts.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"schema:name": "metric: dropBeforeStarts",
"@id": "xdm:dropBeforeStarts",
"xdm:measurement": "count",
"xdm:unit": null
"xdm:unit": ""
}
2 changes: 1 addition & 1 deletion schemas/data/drop-before-starts.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"const": "count"
},
"xdm:unit": {
"const": null
"const": ""
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion schemas/data/dropped-frames.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"schema:name": "metric: droppedFrames",
"@id": "xdm:droppedFrames",
"xdm:measurement": "count",
"xdm:unit": null
"xdm:unit": ""
}
2 changes: 1 addition & 1 deletion schemas/data/dropped-frames.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"const": "count"
},
"xdm:unit": {
"const": null
"const": ""
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion schemas/data/errors.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"schema:name": "metric: errors",
"@id": "xdm:errors",
"xdm:measurement": "count",
"xdm:unit": null
"xdm:unit": ""
}
2 changes: 1 addition & 1 deletion schemas/data/errors.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"const": "count"
},
"xdm:unit": {
"const": null
"const": ""
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion schemas/data/feature-usages.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"schema:name": "application metric: featureUsages",
"@id": "xdm:featureUsages",
"xdm:measurement": "count",
"xdm:unit": null
"xdm:unit": ""
}
4 changes: 2 additions & 2 deletions schemas/data/feature-usages.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"const": "count"
},
"xdm:unit": {
"const": null
"const": ""
}
}
}
Expand All @@ -49,4 +49,4 @@
],
"required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"],
"meta:status": "stabilizing"
}
}
2 changes: 1 addition & 1 deletion schemas/data/federated.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"schema:name": "metric: federated",
"@id": "xdm:federated",
"xdm:measurement": "count",
"xdm:unit": null
"xdm:unit": ""
}
2 changes: 1 addition & 1 deletion schemas/data/federated.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"const": "count"
},
"xdm:unit": {
"const": null
"const": ""
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion schemas/data/first-launches.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"schema:name": "application metric: firstLaunches",
"@id": "xdm:firstLaunches",
"xdm:measurement": "count",
"xdm:unit": null
"xdm:unit": ""
}
2 changes: 1 addition & 1 deletion schemas/data/first-launches.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"const": "count"
},
"xdm:unit": {
"const": null
"const": ""
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions schemas/data/firstquartiles.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"schema:name": "metric: firstQuartiles",
"@id": "xdm:firstQuartiles",
"xdm:measurement": "count",
"xdm:unit": null
}
"xdm:unit": ""
}
2 changes: 1 addition & 1 deletion schemas/data/firstquartiles.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"const": "count"
},
"xdm:unit": {
"const": null
"const": ""
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion schemas/data/impressions.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"schema:name": "metric: impressions",
"@id": "xdm:impressions",
"xdm:measurement": "count",
"xdm:unit": null
"xdm:unit": ""
}
2 changes: 1 addition & 1 deletion schemas/data/impressions.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"const": "count"
},
"xdm:unit": {
"const": null
"const": ""
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion schemas/data/installs.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"schema:name": "application metric: installs",
"@id": "xdm:installs",
"xdm:measurement": "count",
"xdm:unit": null
"xdm:unit": ""
}
2 changes: 1 addition & 1 deletion schemas/data/installs.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"const": "count"
},
"xdm:unit": {
"const": null
"const": ""
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion schemas/data/launches.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"schema:name": "application metric: launches",
"@id": "xdm:launches",
"xdm:measurement": "count",
"xdm:unit": null
"xdm:unit": ""
}
4 changes: 2 additions & 2 deletions schemas/data/launches.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"const": "count"
},
"xdm:unit": {
"const": null
"const": ""
}
}
}
Expand All @@ -49,4 +49,4 @@
],
"required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"],
"meta:status": "stabilizing"
}
}
2 changes: 1 addition & 1 deletion schemas/data/linkclicks.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"schema:name": "web metric: linkClicks",
"@id": "xdm:linkClicks",
"xdm:measurement": "count",
"xdm:unit": null
"xdm:unit": ""
}
4 changes: 2 additions & 2 deletions schemas/data/linkclicks.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"const": "count"
},
"xdm:unit": {
"const": null
"const": ""
}
}
}
Expand All @@ -54,4 +54,4 @@
"xdm:unit"
],
"meta:status": "stabilizing"
}
}
2 changes: 1 addition & 1 deletion schemas/data/measuredadnotvisible.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"schema:name": "advertising/viewability metric: measuredAdNotVisible",
"@id": "xdm:measuredAdNotVisible",
"xdm:measurement": "count",
"xdm:unit": null
"xdm:unit": ""
}
2 changes: 1 addition & 1 deletion schemas/data/measuredadnotvisible.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"const": "count"
},
"xdm:unit": {
"const": null
"const": ""
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion schemas/data/measuredmuted.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"schema:name": "advertising/viewability metric: measuredMuted",
"@id": "xdm:measuredMuted",
"xdm:measurement": "count",
"xdm:unit": null
"xdm:unit": ""
}
2 changes: 1 addition & 1 deletion schemas/data/measuredmuted.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"const": "count"
},
"xdm:unit": {
"const": null
"const": ""
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion schemas/data/measuredwindowinactive.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"schema:name": "advertising/viewability metric: measuredWindowInactive",
"@id": "xdm:measuredWindowInactive",
"xdm:measurement": "count",
"xdm:unit": null
"xdm:unit": ""
}
2 changes: 1 addition & 1 deletion schemas/data/measuredwindowinactive.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"const": "count"
},
"xdm:unit": {
"const": null
"const": ""
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion schemas/data/media-segment-views.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"schema:name": "metric: mediaSegmentViews",
"@id": "xdm:mediaSegmentViews",
"xdm:measurement": "count",
"xdm:unit": null
"xdm:unit": ""
}
Loading

0 comments on commit ef97234

Please sign in to comment.