changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "RankFirstTag": {
+ "properties": {
+ "key": {
+ "description": "Category key.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "description": "Display name.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "second_tags": {
+ "description": "Sub-categories. Pass a `second_tags[].key` to `rank_list`.",
+ "items": {
+ "$ref": "#/$defs/RankSecondTag"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "RankSecondTag": {
+ "properties": {
+ "key": {
+ "description": "Tab key to pass to `rank_list` (e.g. \"hot_all-us\").",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "market": {
+ "description": "Market this tab covers, e.g. \"US\" / \"HK\".",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "description": "Display name.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ }
+ },
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "description": "Returned by `rank_categories`. Wraps a `first_tags` array of rank tab\ncategory configurations for the popularity leaderboard. Subset of the wire\nresponse.",
+ "properties": {
+ "first_tags": {
+ "description": "Top-level rank category tags.",
+ "items": {
+ "$ref": "#/$defs/RankFirstTag"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ }
+ },
+ "title": "RankCategoriesResponse",
+ "type": "object"
+}