-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add com.snowplowanalytics.mobile/scroll_changed/jsonschema/1-0-0 (close
- Loading branch information
1 parent
fd1e2c1
commit 4a49796
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
schemas/com.snowplowanalytics.mobile/scroll_changed/jsonschema/1-0-0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |