changedOutput schema / properties / result / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "data": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "count": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "period": {
- "description": "Bucket start as an ISO-8601 UTC instant.",
- "type": "string"
- }
- },
- "required": [
- "period",
- "count"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "granularity": {
- "enum": [
- "hour",
- "day",
- "week",
- "month"
- ],
- "type": "string"
- },
- "time_zone": {
- "type": "string"
- },
- "totals": {
- "additionalProperties": false,
- "properties": {
- "count": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "count"
- ],
- "type": "object"
- }
- },
- "required": [
- "data",
- "totals",
- "granularity",
- "time_zone"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "data": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "click_count": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "clickthrough_rate": {
- "description": "click_count / view_count as a percentage.",
- "type": "number"
- },
- "id": {
- "description": "Subject id for the group_by (UUID; ISO 3166-1 alpha-2 for country).",
- "type": "string"
- },
- "label": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "view_count": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "label",
- "view_count",
- "click_count",
- "clickthrough_rate"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "pagination": {
- "additionalProperties": false,
- "properties": {
- "has_more": {
- "type": "boolean"
- },
- "limit": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "page": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "total_count": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "total_pages": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "page",
- "limit",
- "total_count",
- "total_pages",
- "has_more"
- ],
- "type": "object"
- }
- },
- "required": [
- "data",
- "pagination"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "count": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "period": {
+ "description": "Bucket start as an ISO-8601 UTC instant.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "period",
+ "count"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "granularity": {
+ "enum": [
+ "hour",
+ "day",
+ "week",
+ "month"
+ ],
+ "type": "string"
+ },
+ "time_zone": {
+ "type": "string"
+ },
+ "totals": {
+ "additionalProperties": false,
+ "properties": {
+ "count": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "count"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "data",
+ "totals",
+ "granularity",
+ "time_zone"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "click_count": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "clickthrough_rate": {
+ "description": "click_count / view_count as a percentage.",
+ "type": "number"
+ },
+ "id": {
+ "description": "Subject id for the group_by (UUID; ISO 3166-1 alpha-2 for country).",
+ "type": "string"
+ },
+ "label": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Human label: the signature/campaign name, teammate email or country name (the id itself for the events summary's name/country/currency/user). For `anchor`, the link's content node as stored in the signature: an object with `type` (button, socialListItem, textToken…), `href.text` (the URL) or `href.smartFieldUuid` (a smart-field URL), and its visible `text`, `label` or `value` depending on the type. Null when none is available."
+ },
+ "view_count": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "view_count",
+ "click_count",
+ "clickthrough_rate"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "pagination": {
+ "additionalProperties": false,
+ "properties": {
+ "has_more": {
+ "type": "boolean"
+ },
+ "limit": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "page": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "total_count": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "total_pages": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "page",
+ "limit",
+ "total_count",
+ "total_pages",
+ "has_more"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "data",
+ "pagination"
+ ],
+ "type": "object"
+ }
+]