changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "comparison": {
+ "anyOf": [
+ {
+ "properties": {
+ "changes": {
+ "items": {
+ "properties": {
+ "change": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "change_pct": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "current": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "metric": {
+ "enum": [
+ "visitors",
+ "conversions",
+ "conversion_rate_pct"
+ ],
+ "type": "string"
+ },
+ "previous": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "metric",
+ "current",
+ "previous",
+ "change",
+ "change_pct"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "totals": {
+ "properties": {
+ "conversion_rate_pct": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "conversions": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "observed_revenue": {
+ "properties": {
+ "amount": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "currency": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "state": {
+ "enum": [
+ "measured",
+ "incomplete",
+ "unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "state",
+ "amount",
+ "currency"
+ ],
+ "type": "object"
+ },
+ "visitors": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "visitors",
+ "conversions",
+ "conversion_rate_pct",
+ "observed_revenue"
+ ],
+ "type": "object"
+ },
+ "window": {
+ "properties": {
+ "end": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "start": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "start",
+ "end"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "window",
+ "totals",
+ "changes"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "filter": {
+ "anyOf": [
+ {
+ "properties": {
+ "dimension": {
+ "enum": [
+ "country",
+ "region",
+ "city",
+ "hostname",
+ "page",
+ "entry",
+ "source",
+ "channel",
+ "campaign",
+ "keyword",
+ "affiliate",
+ "browser",
+ "os",
+ "device"
+ ],
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "dimension",
+ "value"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "note": {
+ "type": "string"
+ },
+ "object": {
+ "const": "overview",
+ "type": "string"
+ },
+ "returning_visitors": {
+ "anyOf": [
+ {
+ "properties": {
+ "repeat_rate": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "repeat_rate",
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "series": {
+ "items": {
+ "properties": {
+ "conversions": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "date": {
+ "type": "string"
+ },
+ "visitors": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "date",
+ "visitors",
+ "conversions"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "series_truncated": {
+ "type": "boolean"
+ },
+ "site": {
+ "properties": {
+ "domain": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "domain"
+ ],
+ "type": "object"
+ },
+ "top_channels": {
+ "items": {
+ "properties": {
+ "channel": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "conversions": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "visitors": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "name",
+ "visitors",
+ "conversions"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "top_sources": {
+ "items": {
+ "properties": {
+ "channel": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "conversions": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "visitors": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "name",
+ "visitors",
+ "conversions"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "totals": {
+ "properties": {
+ "conversion_rate_pct": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "conversions": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "observed_revenue": {
+ "properties": {
+ "amount": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "currency": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "state": {
+ "enum": [
+ "measured",
+ "incomplete",
+ "unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "state",
+ "amount",
+ "currency"
+ ],
+ "type": "object"
+ },
+ "visitors": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "visitors",
+ "conversions",
+ "conversion_rate_pct",
+ "observed_revenue"
+ ],
+ "type": "object"
+ },
+ "window": {
+ "properties": {
+ "end": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "start": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "start",
+ "end"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "object",
+ "note",
+ "site",
+ "window",
+ "filter",
+ "totals",
+ "returning_visitors",
+ "top_sources",
+ "top_channels",
+ "series",
+ "series_truncated",
+ "comparison"
+ ],
+ "type": "object"
+}