{"$defs":{"Event":{"additionalProperties":false,"properties":{"event_id":{"format":"uuid","title":"Event Id","type":"string"},"seq":{"maximum":2147483647,"minimum":0,"title":"Seq","type":"integer"},"at":{"format":"date-time","title":"At","type":"string"},"event":{"$ref":"#/$defs/EventName"},"level":{"default":"info","enum":["info","warn","error"],"title":"Level","type":"string"},"source":{"default":"native","enum":["native","offer"],"title":"Source","type":"string"},"window_id":{"anyOf":[{"maxLength":96,"minLength":1,"pattern":"^[A-Za-z0-9_.:-]+$","type":"string"},{"type":"null"}],"default":null,"title":"Window Id"},"parent_window_id":{"anyOf":[{"maxLength":96,"minLength":1,"pattern":"^[A-Za-z0-9_.:-]+$","type":"string"},{"type":"null"}],"default":null,"title":"Parent Window Id"},"attempt_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"default":null,"title":"Attempt Id"},"scheme":{"anyOf":[{"maxLength":32,"pattern":"^[a-z][a-z0-9+.-]*$","type":"string"},{"type":"null"}],"default":null,"title":"Scheme"},"host":{"anyOf":[{"maxLength":253,"pattern":"^[A-Za-z0-9_.-]+$","type":"string"},{"type":"null"}],"default":null,"title":"Host"},"route":{"anyOf":[{"maxLength":96,"minLength":1,"pattern":"^[A-Za-z0-9_.:-]+$","type":"string"},{"type":"null"}],"default":null,"title":"Route"},"data":{"$ref":"#/$defs/EventData"}},"required":["event_id","seq","at","event"],"title":"Event","type":"object"},"EventData":{"additionalProperties":false,"properties":{"method":{"anyOf":[{"enum":["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"],"type":"string"},{"type":"null"}],"default":null,"title":"Method"},"main_frame":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"title":"Main Frame"},"is_user_gesture":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"title":"Is User Gesture"},"status_code":{"anyOf":[{"maximum":599,"minimum":100,"type":"integer"},{"type":"null"}],"default":null,"title":"Status Code"},"error_code":{"anyOf":[{"maxLength":96,"minLength":1,"pattern":"^[A-Za-z0-9_.:-]+$","type":"string"},{"type":"null"}],"default":null,"title":"Error Code"},"reason":{"anyOf":[{"maxLength":96,"minLength":1,"pattern":"^[A-Za-z0-9_.:-]+$","type":"string"},{"type":"null"}],"default":null,"title":"Reason"},"exception_class":{"anyOf":[{"maxLength":96,"minLength":1,"pattern":"^[A-Za-z0-9_.:-]+$","type":"string"},{"type":"null"}],"default":null,"title":"Exception Class"},"duration_ms":{"anyOf":[{"maximum":86400000,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Duration Ms"},"payment_step":{"anyOf":[{"enum":["pay_clicked","session_create_requested","session_created","checkout_presented","challenge_presented","return_received","cancelled","interrupted"],"type":"string"},{"type":"null"}],"default":null,"title":"Payment Step"},"payment_method":{"anyOf":[{"maxLength":96,"minLength":1,"pattern":"^[A-Za-z0-9_.:-]+$","type":"string"},{"type":"null"}],"default":null,"title":"Payment Method"},"network_state":{"anyOf":[{"enum":["connected","disconnected","unknown"],"type":"string"},{"type":"null"}],"default":null,"title":"Network State"},"orientation":{"anyOf":[{"enum":["portrait","landscape","unknown"],"type":"string"},{"type":"null"}],"default":null,"title":"Orientation"},"visible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"title":"Visible"},"script_name":{"anyOf":[{"maxLength":96,"pattern":"^[A-Za-z0-9_.-]+$","type":"string"},{"type":"null"}],"default":null,"title":"Script Name"},"console_line":{"anyOf":[{"maximum":10000000,"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Console Line"},"error_fingerprint":{"anyOf":[{"pattern":"^[a-f0-9]{16,64}$","type":"string"},{"type":"null"}],"default":null,"title":"Error Fingerprint"}},"title":"EventData","type":"object"},"EventName":{"enum":["session_started","session_ended","navigation_started","navigation_finished","navigation_failed","http_error","console_error","window_opened","window_closed","external_launch_requested","external_launch_dispatched","external_launch_failed","app_backgrounded","app_resumed","activity_recreated","renderer_gone","payment_step","payment_interrupted"],"title":"EventName","type":"string"}},"additionalProperties":false,"properties":{"schema_version":{"const":1,"title":"Schema Version","type":"integer"},"app_id":{"maxLength":128,"minLength":3,"pattern":"^[A-Za-z][A-Za-z0-9_.]+$","title":"App Id","type":"string"},"app_version":{"maxLength":96,"minLength":1,"pattern":"^[A-Za-z0-9_. -]+$","title":"App Version","type":"string"},"android_api":{"maximum":100,"minimum":21,"title":"Android Api","type":"integer"},"webview_version":{"maxLength":96,"minLength":1,"pattern":"^[A-Za-z0-9_. -]+$","title":"Webview Version","type":"string"},"device_model":{"anyOf":[{"maxLength":96,"minLength":1,"pattern":"^[A-Za-z0-9_. -]+$","type":"string"},{"type":"null"}],"default":null,"title":"Device Model"},"session_id":{"format":"uuid","title":"Session Id","type":"string"},"test_event":{"default":false,"title":"Test Event","type":"boolean"},"events":{"items":{"$ref":"#/$defs/Event"},"maxItems":50,"minItems":1,"title":"Events","type":"array"}},"required":["schema_version","app_id","app_version","android_api","webview_version","session_id","events"],"title":"Batch","type":"object"}