chore: NODE-2547 - Generate Schema Files (no-changelog) (#13873)

This commit is contained in:
Jon
2025-03-18 15:19:10 +00:00
committed by GitHub
parent e0fd50554d
commit 31c0575999
819 changed files with 27463 additions and 15590 deletions

View File

@@ -13,5 +13,6 @@
"name": {
"type": "string"
}
}
},
"version": 1
}

View File

@@ -7,5 +7,6 @@
},
"required": [
"success"
]
],
"version": 1
}

View File

@@ -64,9 +64,6 @@
"quarantine": {
"type": "boolean"
},
"link_flair_text_color": {
"type": "string"
},
"subreddit_type": {
"type": "string"
},
@@ -79,6 +76,9 @@
"is_original_content": {
"type": "boolean"
},
"author_fullname": {
"type": "string"
},
"is_reddit_media_domain": {
"type": "boolean"
},
@@ -100,9 +100,35 @@
"is_created_from_ads_ui": {
"type": "boolean"
},
"author_premium": {
"type": "boolean"
},
"thumbnail": {
"type": "string"
},
"author_flair_richtext": {
"type": "array",
"items": {
"type": "object",
"properties": {
"e": {
"type": "string"
},
"t": {
"type": "string"
},
"a": {
"type": "string"
},
"u": {
"type": "string"
}
},
"required": [
"e"
]
}
},
"content_categories": {
"type": "null"
},
@@ -121,6 +147,9 @@
"banned_by": {
"type": "null"
},
"author_flair_type": {
"type": "string"
},
"domain": {
"type": "string"
},
@@ -166,9 +195,6 @@
"removed_by": {
"type": "null"
},
"num_reports": {
"type": "null"
},
"subreddit_id": {
"type": "string"
},
@@ -181,9 +207,6 @@
"removal_reason": {
"type": "null"
},
"link_flair_background_color": {
"type": "string"
},
"id": {
"type": "string"
},
@@ -193,9 +216,6 @@
"num_duplicates": {
"type": "integer"
},
"report_reasons": {
"type": "null"
},
"author": {
"type": "string"
},
@@ -211,6 +231,9 @@
"contest_mode": {
"type": "boolean"
},
"author_patreon_flair": {
"type": "boolean"
},
"permalink": {
"type": "string"
},
@@ -231,141 +254,7 @@
},
"is_video": {
"type": "boolean"
},
"author_fullname": {
"type": "string"
},
"author_premium": {
"type": "boolean"
},
"author_flair_richtext": {
"type": "array",
"items": {
"type": "object",
"properties": {
"e": {
"type": "string"
},
"t": {
"type": "string"
},
"a": {
"type": "string"
},
"u": {
"type": "string"
}
},
"required": [
"e"
]
}
},
"author_flair_type": {
"type": "string"
},
"author_patreon_flair": {
"type": "boolean"
}
},
"required": [
"approved_at_utc",
"subreddit",
"selftext",
"user_reports",
"saved",
"mod_reason_title",
"gilded",
"clicked",
"title",
"link_flair_richtext",
"subreddit_name_prefixed",
"hidden",
"pwls",
"link_flair_css_class",
"downs",
"top_awarded_type",
"hide_score",
"name",
"quarantine",
"link_flair_text_color",
"upvote_ratio",
"author_flair_background_color",
"subreddit_type",
"ups",
"total_awards_received",
"media_embed",
"author_flair_template_id",
"is_original_content",
"secure_media",
"is_reddit_media_domain",
"is_meta",
"category",
"secure_media_embed",
"link_flair_text",
"can_mod_post",
"score",
"approved_by",
"is_created_from_ads_ui",
"thumbnail",
"edited",
"author_flair_css_class",
"gildings",
"content_categories",
"is_self",
"mod_note",
"created",
"link_flair_type",
"wls",
"removed_by_category",
"banned_by",
"domain",
"allow_live_comments",
"selftext_html",
"likes",
"suggested_sort",
"banned_at_utc",
"view_count",
"archived",
"no_follow",
"is_crosspostable",
"pinned",
"over_18",
"all_awardings",
"awarders",
"media_only",
"can_gild",
"spoiler",
"locked",
"author_flair_text",
"treatment_tags",
"visited",
"removed_by",
"num_reports",
"distinguished",
"subreddit_id",
"author_is_blocked",
"mod_reason_by",
"removal_reason",
"link_flair_background_color",
"id",
"is_robot_indexable",
"num_duplicates",
"report_reasons",
"author",
"discussion_type",
"num_comments",
"send_replies",
"media",
"contest_mode",
"author_flair_text_color",
"permalink",
"stickied",
"url",
"subreddit_subscribers",
"created_utc",
"num_crossposts",
"mod_reports",
"is_video"
]
"version": 1
}

View File

@@ -63,9 +63,6 @@
"quarantine": {
"type": "boolean"
},
"subreddit_type": {
"type": "string"
},
"ups": {
"type": "integer"
},
@@ -116,14 +113,11 @@
]
}
},
"content_categories": {
"type": "null"
},
"is_self": {
"type": "boolean"
},
"mod_note": {
"type": "null"
"subreddit_type": {
"type": "string"
},
"created": {
"type": "integer"
@@ -131,6 +125,9 @@
"link_flair_type": {
"type": "string"
},
"removed_by_category": {
"type": "null"
},
"banned_by": {
"type": "null"
},
@@ -167,9 +164,6 @@
"media_only": {
"type": "boolean"
},
"link_flair_template_id": {
"type": "string"
},
"can_gild": {
"type": "boolean"
},
@@ -185,6 +179,9 @@
"removed_by": {
"type": "null"
},
"mod_note": {
"type": "null"
},
"subreddit_id": {
"type": "string"
},
@@ -194,6 +191,9 @@
"mod_reason_by": {
"type": "null"
},
"removal_reason": {
"type": "null"
},
"id": {
"type": "string"
},
@@ -203,6 +203,9 @@
"author": {
"type": "string"
},
"discussion_type": {
"type": "null"
},
"num_comments": {
"type": "integer"
},
@@ -235,13 +238,89 @@
},
"is_video": {
"type": "boolean"
},
"post_hint": {
"type": "string"
},
"url_overridden_by_dest": {
"type": "string"
},
"preview": {
"type": "object",
"properties": {
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
}
},
"required": [
"url",
"width",
"height"
]
},
"resolutions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
}
},
"required": [
"url",
"width",
"height"
]
}
},
"id": {
"type": "string"
}
},
"required": [
"source",
"resolutions",
"variants",
"id"
]
}
},
"enabled": {
"type": "boolean"
}
},
"required": [
"images",
"enabled"
]
}
},
"required": [
"author_flair_background_color",
"approved_at_utc",
"subreddit",
"selftext",
"author_fullname",
"saved",
"mod_reason_title",
"gilded",
@@ -259,8 +338,6 @@
"quarantine",
"link_flair_text_color",
"upvote_ratio",
"author_flair_background_color",
"subreddit_type",
"ups",
"total_awards_received",
"media_embed",
@@ -277,21 +354,18 @@
"score",
"approved_by",
"is_created_from_ads_ui",
"author_premium",
"thumbnail",
"edited",
"author_flair_css_class",
"author_flair_richtext",
"gildings",
"content_categories",
"is_self",
"mod_note",
"subreddit_type",
"created",
"link_flair_type",
"wls",
"removed_by_category",
"banned_by",
"author_flair_type",
"domain",
"allow_live_comments",
"selftext_html",
@@ -314,11 +388,12 @@
"treatment_tags",
"visited",
"removed_by",
"num_reports",
"mod_note",
"distinguished",
"subreddit_id",
"author_is_blocked",
"mod_reason_by",
"num_reports",
"removal_reason",
"link_flair_background_color",
"id",
@@ -330,7 +405,6 @@
"send_replies",
"contest_mode",
"mod_reports",
"author_patreon_flair",
"author_flair_text_color",
"permalink",
"stickied",
@@ -340,5 +414,6 @@
"num_crossposts",
"media",
"is_video"
]
],
"version": 1
}

View File

@@ -110,9 +110,15 @@
"items": {
"type": "object",
"properties": {
"a": {
"type": "string"
},
"e": {
"type": "string"
},
"u": {
"type": "string"
},
"t": {
"type": "string"
}
@@ -122,6 +128,9 @@
]
}
},
"content_categories": {
"type": "null"
},
"is_self": {
"type": "boolean"
},
@@ -252,15 +261,5 @@
"type": "boolean"
}
},
"required": [
"title",
"name",
"quarantine",
"subreddit_type",
"created",
"wls",
"id",
"url",
"created_utc"
]
"version": 1
}

View File

@@ -1,9 +1,6 @@
{
"type": "object",
"properties": {
"error": {
"type": "string"
},
"subreddit_id": {
"type": "string"
},
@@ -100,9 +97,6 @@
"body": {
"type": "string"
},
"top_awarded_type": {
"type": "null"
},
"author_flair_css_class": {
"type": "null"
},
@@ -175,6 +169,9 @@
"controversiality": {
"type": "integer"
},
"top_awarded_type": {
"type": "null"
},
"author_flair_background_color": {
"type": "null"
},
@@ -187,5 +184,6 @@
"distinguished": {
"type": "null"
}
}
},
"version": 1
}

View File

@@ -94,6 +94,29 @@
"downs": {
"type": "integer"
},
"author_flair_richtext": {
"type": "array",
"items": {
"type": "object",
"properties": {
"e": {
"type": "string"
},
"t": {
"type": "string"
},
"a": {
"type": "string"
},
"u": {
"type": "string"
}
},
"required": [
"e"
]
}
},
"author_patreon_flair": {
"type": "boolean"
},
@@ -227,5 +250,6 @@
"mod_reports",
"num_reports",
"ups"
]
],
"version": 1
}

View File

@@ -0,0 +1,100 @@
{
"type": "object",
"properties": {
"modmail_harassment_filter": {
"type": "boolean"
},
"mod_service_mute_writes": {
"type": "boolean"
},
"promoted_trend_blanks": {
"type": "boolean"
},
"show_amp_link": {
"type": "boolean"
},
"is_email_permission_required": {
"type": "boolean"
},
"mod_awards": {
"type": "boolean"
},
"chat_subreddit": {
"type": "boolean"
},
"awards_on_streams": {
"type": "boolean"
},
"mweb_xpromo_modal_listing_click_daily_dismissible_ios": {
"type": "boolean"
},
"cookie_consent_banner": {
"type": "boolean"
},
"modlog_copyright_removal": {
"type": "boolean"
},
"do_not_track": {
"type": "boolean"
},
"images_in_comments": {
"type": "boolean"
},
"mod_service_mute_reads": {
"type": "boolean"
},
"chat_user_settings": {
"type": "boolean"
},
"use_pref_account_deployment": {
"type": "boolean"
},
"mweb_xpromo_interstitial_comments_ios": {
"type": "boolean"
},
"mweb_xpromo_modal_listing_click_daily_dismissible_android": {
"type": "boolean"
},
"premium_subscriptions_table": {
"type": "boolean"
},
"mweb_xpromo_interstitial_comments_android": {
"type": "boolean"
},
"crowd_control_for_post": {
"type": "boolean"
},
"chat_group_rollout": {
"type": "boolean"
},
"resized_styles_images": {
"type": "boolean"
},
"noreferrer_to_noopener": {
"type": "boolean"
},
"expensive_coins_package": {
"type": "boolean"
},
"mweb_xpromo_revamp_v2": {
"type": "object",
"properties": {
"owner": {
"type": "string"
},
"variant": {
"type": "string"
},
"experiment_id": {
"type": "integer"
}
},
"required": [
"owner",
"variant",
"experiment_id"
]
}
},
"version": 1
}