Skip to content

Commit

Permalink
Add com.snowplowanalytics.mobile/scroll_changed/jsonschema/1-0-0 (close
Browse files Browse the repository at this point in the history
  • Loading branch information
matus-tomlein committed Dec 12, 2023
1 parent fd1e2c1 commit 4a49796
Showing 1 changed file with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"$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": {
"y_offset": {
"type": "integer",
"description": "Vertical scroll offset in pixels",
"minimum": 0,
"maximum": 2147483647
},
"content_height": {
"type": "integer",
"description": "The height of the scroll view content in pixels",
"minimum": 0,
"maximum": 2147483647
}
},
"required": [
"y_offset",
"content_height"
],
"additionalProperties": false
}

0 comments on commit 4a49796

Please sign in to comment.