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..efacf810 --- /dev/null +++ b/schemas/com.snowplowanalytics.mobile/scroll_changed/jsonschema/1-0-0 @@ -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 +}