diff --git a/CHANGELOG b/CHANGELOG index 8d02a33c..0131e92c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,18 @@ +Release 152 (2024-01-22) +------------------------ +Add com.apple.swiftui/dismiss_immersive_space/jsonschema/1-0-0 (#1367) +Add com.apple.swiftui/open_immersive_space/jsonschema/1-0-0 (#1367) +Add com.apple.swiftui/dismiss_window/jsonschema/1-0-0 (#1367) +Add com.apple.swiftui/open_window/jsonschema/1-0-0 (#1367) +Add com.apple.swiftui/immersive_space/jsonschema/1-0-0 (#1367) +Add com.apple.swiftui/window_group/jsonschema/1-0-0 (#1367) +Add com.snowplowanalytics.mobile/scroll_changed/jsonschema/1-0-0 (#1361) +Add com.snowplowanalytics.mobile/list_item_view/jsonschema/1-0-0 (#1360) +Add com.snowplowanalytics.mobile/screen_end/jsonschema/1-0-0 (#1357) +Add com.snowplowanalytics.mobile/screen_summary/jsonschema/1-0-0 (#1356) +Add com.snowplowanalytics.snowplow.enrichments/cross_navigation_config/jsonschema/1-0-0 +Add com.snowplowanalytics.snowplow/cross_navigation/jsonschema/1-0-0 (#1326) + Release 151 (2023-12-21) ------------------------ Add com.snowplowanalytics.monitoring.loader/alert/jsonschema/1-0-0 (#1364) diff --git a/schemas/com.apple.swiftui/dismiss_immersive_space/jsonschema/1-0-0 b/schemas/com.apple.swiftui/dismiss_immersive_space/jsonschema/1-0-0 new file mode 100644 index 00000000..a15041d6 --- /dev/null +++ b/schemas/com.apple.swiftui/dismiss_immersive_space/jsonschema/1-0-0 @@ -0,0 +1,13 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "self": { + "vendor": "com.apple.swiftui", + "name": "dismiss_immersive_space", + "format": "jsonschema", + "version": "1-0-0" + }, + "description": "Schema for an event for dismissing a visionOS immersive space.", + "type": "object", + "properties": {}, + "additionalProperties": false +} diff --git a/schemas/com.apple.swiftui/dismiss_window/jsonschema/1-0-0 b/schemas/com.apple.swiftui/dismiss_window/jsonschema/1-0-0 new file mode 100644 index 00000000..7c1d94b7 --- /dev/null +++ b/schemas/com.apple.swiftui/dismiss_window/jsonschema/1-0-0 @@ -0,0 +1,13 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "self": { + "vendor": "com.apple.swiftui", + "name": "dismiss_window", + "format": "jsonschema", + "version": "1-0-0" + }, + "description": "Schema for an event for dismissing a SwiftUI window or window group.", + "type": "object", + "properties": {}, + "additionalProperties": false +} diff --git a/schemas/com.apple.swiftui/immersive_space/jsonschema/1-0-0 b/schemas/com.apple.swiftui/immersive_space/jsonschema/1-0-0 new file mode 100644 index 00000000..9bac7362 --- /dev/null +++ b/schemas/com.apple.swiftui/immersive_space/jsonschema/1-0-0 @@ -0,0 +1,48 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "self": { + "vendor": "com.apple.swiftui", + "name": "immersive_space", + "format": "jsonschema", + "version": "1-0-0" + }, + "description": "Schema for an immersive space entity, representing the VisionOS immersive space that the event occurs in.", + "type": "object", + "properties": { + "view_id": { + "type": ["string", "null"], + "format": "uuid", + "description": "UUID for the view of the immersive space." + }, + "id": { + "type": "string", + "description": "The identifier of the immersive space to present.", + "maxLength": 255 + }, + "immersion_style": { + "type": ["string", "null"], + "enum": [ + "automatic", + "full", + "mixed", + "progressive", + null + ], + "description": "The style of an immersive space." + }, + "upper_limb_visibility": { + "type": ["string", "null"], + "enum": [ + "automatic", + "visible", + "hidden", + null + ], + "description": "Preferred visibility of the user's upper limbs, while an immersive space scene is presented." + } + }, + "required": [ + "id" + ], + "additionalProperties": false +} diff --git a/schemas/com.apple.swiftui/open_immersive_space/jsonschema/1-0-0 b/schemas/com.apple.swiftui/open_immersive_space/jsonschema/1-0-0 new file mode 100644 index 00000000..dae37eb0 --- /dev/null +++ b/schemas/com.apple.swiftui/open_immersive_space/jsonschema/1-0-0 @@ -0,0 +1,13 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "self": { + "vendor": "com.apple.swiftui", + "name": "open_immersive_space", + "format": "jsonschema", + "version": "1-0-0" + }, + "description": "Schema for an event for opening a visionOS immersive space.", + "type": "object", + "properties": {}, + "additionalProperties": false +} diff --git a/schemas/com.apple.swiftui/open_window/jsonschema/1-0-0 b/schemas/com.apple.swiftui/open_window/jsonschema/1-0-0 new file mode 100644 index 00000000..97956f3e --- /dev/null +++ b/schemas/com.apple.swiftui/open_window/jsonschema/1-0-0 @@ -0,0 +1,13 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "self": { + "vendor": "com.apple.swiftui", + "name": "open_window", + "format": "jsonschema", + "version": "1-0-0" + }, + "description": "Schema for an event for opening a SwiftUI window or window group.", + "type": "object", + "properties": {}, + "additionalProperties": false +} diff --git a/schemas/com.apple.swiftui/window_group/jsonschema/1-0-0 b/schemas/com.apple.swiftui/window_group/jsonschema/1-0-0 new file mode 100644 index 00000000..a7713b4e --- /dev/null +++ b/schemas/com.apple.swiftui/window_group/jsonschema/1-0-0 @@ -0,0 +1,47 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "self": { + "vendor": "com.apple.swiftui", + "name": "window_group", + "format": "jsonschema", + "version": "1-0-0" + }, + "description": "Schema for a window group entity, representing the SwiftUI window group that the event occurs in.", + "type": "object", + "properties": { + "window_id": { + "type": ["string", "null"], + "format": "uuid", + "description": "UUID for the current window within the group." + }, + "id": { + "type": "string", + "description": "A string that uniquely identifies the window group. Identifiers must be unique among the window groups in your app.", + "maxLength": 255 + }, + "title_key": { + "type": [ + "string", + "null" + ], + "description": "A localized string key to use for the window's title in system menus and in the window's title bar. Provide a title that describes the purpose of the window.", + "maxLength": 4096 + }, + "window_style": { + "type": ["string", "null"], + "enum": [ + "automatic", + "hiddenTitleBar", + "plain", + "titleBar", + "volumetric", + null + ], + "description": "A specification for the appearance and interaction of a window." + } + }, + "required": [ + "id" + ], + "additionalProperties": false +} diff --git a/schemas/com.snowplowanalytics.mobile/list_item_view/jsonschema/1-0-0 b/schemas/com.snowplowanalytics.mobile/list_item_view/jsonschema/1-0-0 new file mode 100644 index 00000000..beb92c60 --- /dev/null +++ b/schemas/com.snowplowanalytics.mobile/list_item_view/jsonschema/1-0-0 @@ -0,0 +1,32 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "description": "Schema for an event tracked when an item is displayed in a list", + "self": { + "vendor": "com.snowplowanalytics.mobile", + "name": "list_item_view", + "format": "jsonschema", + "version": "1-0-0" + }, + "type": "object", + "properties": { + "index": { + "type": "integer", + "description": "Index of the item in a list on the screen", + "minimum": 0, + "maximum": 65535 + }, + "items_count": { + "type": [ + "integer", + "null" + ], + "description": "Total number of items in a list on the screen", + "minimum": 0, + "maximum": 65535 + } + }, + "required": [ + "index" + ], + "additionalProperties": false +} diff --git a/schemas/com.snowplowanalytics.mobile/screen_end/jsonschema/1-0-0 b/schemas/com.snowplowanalytics.mobile/screen_end/jsonschema/1-0-0 new file mode 100644 index 00000000..c2e7e8a7 --- /dev/null +++ b/schemas/com.snowplowanalytics.mobile/screen_end/jsonschema/1-0-0 @@ -0,0 +1,13 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "description": "Schema for an event tracked before transitioning to a new screen", + "self": { + "vendor": "com.snowplowanalytics.mobile", + "name": "screen_end", + "format": "jsonschema", + "version": "1-0-0" + }, + "type": "object", + "properties": {}, + "additionalProperties": false +} diff --git a/schemas/com.snowplowanalytics.mobile/screen_summary/jsonschema/1-0-0 b/schemas/com.snowplowanalytics.mobile/screen_summary/jsonschema/1-0-0 new file mode 100644 index 00000000..e73f43b7 --- /dev/null +++ b/schemas/com.snowplowanalytics.mobile/screen_summary/jsonschema/1-0-0 @@ -0,0 +1,104 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "description": "Schema for an entity tracked with foreground/background/screen_end events with summary statistics about the screen view", + "self": { + "vendor": "com.snowplowanalytics.mobile", + "name": "screen_summary", + "format": "jsonschema", + "version": "1-0-0" + }, + "type": "object", + "properties": { + "foreground_sec": { + "type": "number", + "description": "Time in seconds spent on the current screen while the app was in foreground", + "minimum": 0, + "maximum": 2147483647 + }, + "background_sec": { + "type": [ + "number", + "null" + ], + "description": "Time in seconds spent on the current screen while the app was in background", + "minimum": 0, + "maximum": 2147483647 + }, + "last_item_index": { + "type": [ + "integer", + "null" + ], + "description": "Index of the last viewed item in the list on the screen", + "minimum": 0, + "maximum": 65535 + }, + "items_count": { + "type": [ + "integer", + "null" + ], + "description": "Total number of items in the list on the screen", + "minimum": 0, + "maximum": 65535 + }, + "min_x_offset": { + "type": [ + "integer", + "null" + ], + "description": "Minimum horizontal scroll offset on the scroll view in pixels", + "minimum": -2147483647, + "maximum": 2147483647 + }, + "max_x_offset": { + "type": [ + "integer", + "null" + ], + "description": "Maximum horizontal scroll offset on the scroll view in pixels", + "minimum": -2147483647, + "maximum": 2147483647 + }, + "min_y_offset": { + "type": [ + "integer", + "null" + ], + "description": "Minimum vertical scroll offset on the scroll view in pixels", + "minimum": -2147483647, + "maximum": 2147483647 + }, + "max_y_offset": { + "type": [ + "integer", + "null" + ], + "description": "Maximum vertical scroll offset on the scroll view in pixels", + "minimum": -2147483647, + "maximum": 2147483647 + }, + "content_width": { + "type": [ + "integer", + "null" + ], + "description": "Width of the scroll view in pixels", + "minimum": 0, + "maximum": 2147483647 + }, + "content_height": { + "type": [ + "integer", + "null" + ], + "description": "Height of the scroll view in pixels", + "minimum": 0, + "maximum": 2147483647 + } + }, + "required": [ + "foreground_sec" + ], + "additionalProperties": false +} diff --git a/schemas/com.snowplowanalytics.mobile/scroll_changed/jsonschema/1-0-0 b/schemas/com.snowplowanalytics.mobile/scroll_changed/jsonschema/1-0-0 new file mode 100644 index 00000000..2e6611f2 --- /dev/null +++ b/schemas/com.snowplowanalytics.mobile/scroll_changed/jsonschema/1-0-0 @@ -0,0 +1,68 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "description": "Schema for an event tracked when a scroll view's scroll position changes", + "self": { + "vendor": "com.snowplowanalytics.mobile", + "name": "scroll_changed", + "format": "jsonschema", + "version": "1-0-0" + }, + "type": "object", + "properties": { + "x_offset": { + "type": [ + "integer", + "null" + ], + "description": "Horizontal scroll offset in pixels", + "minimum": -2147483647, + "maximum": 2147483647 + }, + "y_offset": { + "type": [ + "integer", + "null" + ], + "description": "Vertical scroll offset in pixels", + "minimum": -2147483647, + "maximum": 2147483647 + }, + "view_width": { + "type": [ + "integer", + "null" + ], + "description": "The width of the scroll view in pixels", + "minimum": 0, + "maximum": 2147483647 + }, + "view_height": { + "type": [ + "integer", + "null" + ], + "description": "The height of the scroll view in pixels", + "minimum": 0, + "maximum": 2147483647 + }, + "content_width": { + "type": [ + "integer", + "null" + ], + "description": "The width of the content in the scroll view in pixels", + "minimum": 0, + "maximum": 2147483647 + }, + "content_height": { + "type": [ + "integer", + "null" + ], + "description": "The height of the content in the scroll view in pixels", + "minimum": 0, + "maximum": 2147483647 + } + }, + "additionalProperties": false +} diff --git a/schemas/com.snowplowanalytics.snowplow.enrichments/cross_navigation_config/jsonschema/1-0-0 b/schemas/com.snowplowanalytics.snowplow.enrichments/cross_navigation_config/jsonschema/1-0-0 new file mode 100644 index 00000000..657b458a --- /dev/null +++ b/schemas/com.snowplowanalytics.snowplow.enrichments/cross_navigation_config/jsonschema/1-0-0 @@ -0,0 +1,31 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "description": "Schema for cross navigation enrichment config", + "self": { + "vendor": "com.snowplowanalytics.snowplow.enrichments", + "name": "cross_navigation_config", + "format": "jsonschema", + "version": "1-0-0" + }, + "type": "object", + "properties": { + "vendor": { + "type": "string", + "description": "The name of the vendor for this config (the only valid value for scala-common enrich is com.snowplowanalytics.snowplow.enrichments)" + }, + "name": { + "type": "string", + "description": "The name of the config (the only valid value for scala-common enrich is cross_navigation_config)" + }, + "enabled": { + "type": "boolean", + "description": "Whether to enable this enrichment" + } + }, + "required": [ + "vendor", + "name", + "enabled" + ], + "additionalProperties": false +} diff --git a/schemas/com.snowplowanalytics.snowplow/cross_navigation/jsonschema/1-0-0 b/schemas/com.snowplowanalytics.snowplow/cross_navigation/jsonschema/1-0-0 new file mode 100644 index 00000000..8e77660d --- /dev/null +++ b/schemas/com.snowplowanalytics.snowplow/cross_navigation/jsonschema/1-0-0 @@ -0,0 +1,68 @@ +{ + "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", + "description": "Schema for a user and session identifiers entity included in cross platform or cross domain navigation.", + "self": { + "vendor": "com.snowplowanalytics.snowplow", + "name": "cross_navigation", + "format": "jsonschema", + "version": "1-0-0" + }, + "type": "object", + "properties": { + "user_id": { + "description": "The business user ID, the user was identified in the source app.", + "type": [ + "null", + "string" + ], + "maxLength": 4096 + }, + "domain_user_id": { + "type": "string", + "maxLength": 128, + "description": "Domain user ID of the source app from which a link was followed. The corresponding atomic property is named refr_domain_userid." + }, + "session_id": { + "type": [ + "null", + "string" + ], + "format": "uuid", + "description": "Session ID of the source app from which a link was followed." + }, + "timestamp": { + "description": "Timestamp of the link click in the source app which triggered this navigation. The corresponding atomic property is named refr_dvce_tstamp.", + "type": "string", + "format": "date-time" + }, + "source_id": { + "type": [ + "null", + "string" + ], + "maxLength": 4096, + "description": "ID of the source app where the link that started this navigation originated from." + }, + "source_platform": { + "type": [ + "null", + "string" + ], + "enum": ["web", "mob", "pc", "srv", "app", "tv", "cnsl", "iot", "headset", null], + "description": "Platform of the source app (e.g., mob, web, tv)." + }, + "reason": { + "description": "Cross navigation linking information/identifier.", + "type": [ + "null", + "string" + ], + "maxLength": 4096 + } + }, + "required": [ + "domain_user_id", + "timestamp" + ], + "additionalProperties": false +}