Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions templates/include/regrets-reporter/amountsByCategory.1.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
"properties": {
"in_total": {
"type": "number"
},
"via_non_search_algorithmic_recommendations_content": {
"type": "number"
},
"via_recommendations_with_an_explicit_query_or_constraint_to_optimize_for": {
"type": "number"
},
"via_search_results": {
"type": "number"
}
},
"type": "object"
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"properties": {
"extension_installation_error_reporting_uuid": {
"type": "string"
},
"extension_installation_uuid": {
"type": "string"
}
},
"type": "object"
24 changes: 24 additions & 0 deletions templates/include/regrets-reporter/regretReport.1.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
"properties": {
"form_step": {
"type": "number"
},
"report_data": {
@REGRETS-REPORTER_REGRETREPORTDATA_1_JSON@
},
"user_supplied_optional_comment": {
"type": "string"
},
"user_supplied_other_regret_category": {
"type": "string"
},
"user_supplied_regret_categories": {
"items": {
"type": "string"
},
"type": "array"
},
"user_supplied_severity": {
"type": "number"
}
},
"type": "object"
18 changes: 18 additions & 0 deletions templates/include/regrets-reporter/regretReportData.1.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
"properties": {
"parent_youtube_navigations_metadata": {
"items": {
@REGRETS-REPORTER_YOUTUBENAVIGATIONMETADATA_1_JSON@
},
"type": "array"
},
"report_data_uuid": {
"type": "string"
},
"youtube_navigation_metadata": {
@REGRETS-REPORTER_YOUTUBENAVIGATIONMETADATA_1_JSON@
},
"youtube_usage_statistics_update": {
@REGRETS-REPORTER_YOUTUBEUSAGESTATISTICSUPDATE_1_JSON@
}
},
"type": "object"
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "regrets-reporter-update",
"$comment": "See https://docs.google.com/document/d/104x-QmODN7CQwvKVDlB4D2BJzJ0Q-BKnluW5EA7vX7Q/edit",
"properties": {
"data_deletion_request": {
@REGRETS-REPORTER_DATADELETIONREQUEST_1_JSON@
},
"event_metadata": {
@REGRETS-REPORTER_SHAREDDATAEVENTMETADATA_1_JSON@
},
"regret_report": {
@REGRETS-REPORTER_REGRETREPORT_1_JSON@
},
"youtube_usage_statistics_update": {
@REGRETS-REPORTER_YOUTUBEUSAGESTATISTICSUPDATE_1_JSON@
}
},
"type": "object"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
"properties": {
"browser_info": {
"properties": {
"build_id": {
"type": "string"
},
"name": {
"type": "string"
},
"vendor": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"client_timestamp": {
"type": "string"
},
"event_uuid": {
"type": "string"
},
"extension_installation_uuid": {
"type": "string"
},
"extension_version": {
"type": "string"
},
"total_amount_of_regret_reports": {
"type": "number"
}
},
"type": "object"
21 changes: 21 additions & 0 deletions templates/include/regrets-reporter/videoMetadata.1.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
"properties": {
"video_description": {
"type": "string"
},
"video_id": {
"type": "string"
},
"video_posting_date": {
"type": "string"
},
"video_title": {
"type": "string"
},
"view_count_at_navigation": {
"type": "number"
},
"view_count_at_navigation_short": {
"type": "string"
}
},
"type": "object"
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
"description": "Selected/derived attributes from YouTubeNavigations",
"properties": {
"document_visible_time": {
"type": "number"
},
"page_entry_point": {
@REGRETS-REPORTER_YOUTUBEPAGEENTRYPOINT_1_JSON@
},
"url_type": {
@REGRETS-REPORTER_YOUTUBENAVIGATIONURLTYPE_1_JSON@
},
"via_non_search_algorithmic_recommendations_content": {
"type": "number"
},
"via_recommendations_with_an_explicit_query_or_constraint_to_optimize_for": {
"type": "number"
},
"via_search_results": {
"type": "number"
},
"video_element_play_time": {
"type": "number"
},
"video_metadata": {
@REGRETS-REPORTER_VIDEOMETADATA_1_JSON@
}
},
"type": "object"
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
"enum": [
"<failed>",
"channel_page",
"empty",
"misc_xhr",
"not_a_youtube_page",
"other",
"prefetch",
"search_results_page",
"search_results_page_load_more_results",
"unknown",
"user_page",
"watch_page",
"youtube_main_page"
],
"type": "string"
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
"enum": [
"<failed>",
"channel_page",
"direct_navigation",
"not_a_youtube_page",
"other",
"page_reload",
"search_results_page",
"user_page",
"watch_page",
"youtube_main_page"
],
"type": "string"
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
"properties": {
"amount_of_days_of_at_least_one_video_played_on_a_youtube_watch_page": {
@REGRETS-REPORTER_AMOUNTSBYCATEGORY_1_JSON@
},
"amount_of_days_with_at_least_one_youtube_visit": {
"type": "number"
},
"amount_of_days_with_at_least_one_youtube_watch_page_load": {
@REGRETS-REPORTER_AMOUNTSBYCATEGORY_1_JSON@
},
"amount_of_time_with_an_active_youtube_tab": {
"type": "number"
},
"amount_of_time_with_an_active_youtube_watch_page_tab": {
@REGRETS-REPORTER_AMOUNTSBYCATEGORY_1_JSON@
},
"amount_of_youtube_video_play_time": {
"type": "number"
},
"amount_of_youtube_video_play_time_on_youtube_watch_pages": {
@REGRETS-REPORTER_AMOUNTSBYCATEGORY_1_JSON@
},
"amount_of_youtube_videos_played_on_youtube_watch_pages": {
@REGRETS-REPORTER_AMOUNTSBYCATEGORY_1_JSON@
},
"amount_of_youtube_watch_pages_loaded": {
@REGRETS-REPORTER_AMOUNTSBYCATEGORY_1_JSON@
}
},
"type": "object"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@REGRETS-REPORTER_REGRETSREPORTERUPDATE_1_JSON@
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@REGRETS-REPORTER_REGRETSREPORTERUPDATE_1_JSON@
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"data_deletion_request": {
"extension_installation_uuid": "fda2c001-31d5-495a-b36c-da09afc98b2a",
"extension_installation_error_reporting_uuid": "e14a08d9-35b4-4779-9951-60f7298fde5a"
},
"event_metadata": {
"client_timestamp": "2020-06-27T11:12:56.689Z",
"extension_installation_uuid": "fda2c001-31d5-495a-b36c-da09afc98b2a",
"event_uuid": "e1fbf4f8-eb43-47a7-b51b-e89cd0617b9e",
"total_amount_of_regret_reports": 1,
"browser_info": {
"build_id": "20200619002543",
"vendor": "Mozilla",
"version": "78.0",
"name": "Firefox"
},
"extension_version": "0.7.0"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"regret_report": {
"report_data": {
"youtube_navigation_metadata": {
"url_type": "watch_page",
"page_entry_point": "page_reload",
"via_search_results": 0,
"via_non_search_algorithmic_recommendations_content": 0,
"via_recommendations_with_an_explicit_query_or_constraint_to_optimize_for": 0,
"video_element_play_time": 0,
"document_visible_time": 2000,
"video_metadata": {
"video_id": "g4mHPeMGTJM",
"video_title": "10 hours of absolute silence (the original)",
"video_description": "10 hours of comfortable silence. Only watch the original, everything else may contain sound ;-)",
"video_posting_date": "Sep 20, 2011",
"view_count_at_navigation": 4416053,
"view_count_at_navigation_short": "4.4M views"
}
},
"parent_youtube_navigations_metadata": [],
"youtube_usage_statistics_update": {
"amount_of_days_with_at_least_one_youtube_visit": 1,
"amount_of_time_with_an_active_youtube_tab": 2000,
"amount_of_youtube_watch_pages_loaded": {
"in_total": 1,
"via_search_results": 0,
"via_non_search_algorithmic_recommendations_content": 0,
"via_recommendations_with_an_explicit_query_or_constraint_to_optimize_for": 0
},
"amount_of_days_with_at_least_one_youtube_watch_page_load": {
"in_total": 1,
"via_search_results": 0,
"via_non_search_algorithmic_recommendations_content": 0,
"via_recommendations_with_an_explicit_query_or_constraint_to_optimize_for": 0
},
"amount_of_time_with_an_active_youtube_watch_page_tab": {
"in_total": 2000,
"via_search_results": 0,
"via_non_search_algorithmic_recommendations_content": 0,
"via_recommendations_with_an_explicit_query_or_constraint_to_optimize_for": 0
},
"amount_of_days_of_at_least_one_video_played_on_a_youtube_watch_page": {
"in_total": 0,
"via_search_results": 0,
"via_non_search_algorithmic_recommendations_content": 0,
"via_recommendations_with_an_explicit_query_or_constraint_to_optimize_for": 0
},
"amount_of_youtube_videos_played_on_youtube_watch_pages": {
"in_total": 0,
"via_search_results": 0,
"via_non_search_algorithmic_recommendations_content": 0,
"via_recommendations_with_an_explicit_query_or_constraint_to_optimize_for": 0
},
"amount_of_youtube_video_play_time": 0,
"amount_of_youtube_video_play_time_on_youtube_watch_pages": {
"in_total": 0,
"via_search_results": 0,
"via_non_search_algorithmic_recommendations_content": 0,
"via_recommendations_with_an_explicit_query_or_constraint_to_optimize_for": 0
}
},
"report_data_uuid": "dd02c3f6-a605-4c37-8598-2f40325bf397"
},
"user_supplied_regret_categories": [],
"user_supplied_other_regret_category": "",
"user_supplied_severity": -1,
"user_supplied_optional_comment": "",
"form_step": 1
},
"event_metadata": {
"client_timestamp": "2020-06-27T11:12:35.491Z",
"extension_installation_uuid": "fda2c001-31d5-495a-b36c-da09afc98b2a",
"event_uuid": "fdc48ce8-7d4a-4bf5-b4dc-3645a3149711",
"total_amount_of_regret_reports": 1,
"browser_info": {
"build_id": "20200619002543",
"vendor": "Mozilla",
"version": "78.0",
"name": "Firefox"
},
"extension_version": "0.7.0"
}
}
Loading