changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "TopicAuthor": {
+ "description": "Author of a topic or reply.",
+ "properties": {
+ "avatar": {
+ "description": "Avatar URL.",
+ "type": "string"
+ },
+ "member_id": {
+ "description": "Member ID.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Display name.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "member_id",
+ "name",
+ "avatar"
+ ],
+ "type": "object"
+ },
+ "TopicImage": {
+ "description": "An image attached to a topic or reply.",
+ "properties": {
+ "lg": {
+ "description": "Large image URL.",
+ "type": "string"
+ },
+ "sm": {
+ "description": "Small thumbnail URL.",
+ "type": "string"
+ },
+ "url": {
+ "description": "Original image URL.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "url",
+ "sm",
+ "lg"
+ ],
+ "type": "object"
+ }
+ },
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "description": "Returned by `topic_detail`. Full details of a single community topic.\n\nSDK-typed (`longbridge::content::OwnedTopic`) and serialized via `tool_json`.\n`created_at` / `updated_at` are emitted as RFC3339 strings.",
+ "properties": {
+ "author": {
+ "$ref": "#/$defs/TopicAuthor",
+ "description": "Topic author."
+ },
+ "body": {
+ "description": "Markdown body.",
+ "type": "string"
+ },
+ "comments_count": {
+ "description": "Comments count.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "created_at": {
+ "description": "Created time (RFC3339).",
+ "type": "string"
+ },
+ "description": {
+ "description": "Plain-text excerpt / description.",
+ "type": "string"
+ },
+ "detail_url": {
+ "description": "URL to the full topic page.",
+ "type": "string"
+ },
+ "hashtags": {
+ "description": "Hashtag names.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "id": {
+ "description": "Topic ID.",
+ "type": "string"
+ },
+ "images": {
+ "description": "Attached images.",
+ "items": {
+ "$ref": "#/$defs/TopicImage"
+ },
+ "type": "array"
+ },
+ "likes_count": {
+ "description": "Likes count.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "shares_count": {
+ "description": "Shares count.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "tickers": {
+ "description": "Related stock tickers, format `<CODE>.<MARKET>` (e.g. \"TSLA.US\").",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "title": {
+ "description": "Title.",
+ "type": "string"
+ },
+ "topic_type": {
+ "description": "Content type: \"article\" or \"post\".",
+ "type": "string"
+ },
+ "updated_at": {
+ "description": "Last updated time (RFC3339).",
+ "type": "string"
+ },
+ "views_count": {
+ "description": "Views count.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "description",
+ "body",
+ "author",
+ "tickers",
+ "hashtags",
+ "images",
+ "likes_count",
+ "comments_count",
+ "views_count",
+ "shares_count",
+ "topic_type",
+ "detail_url",
+ "created_at",
+ "updated_at"
+ ],
+ "title": "TopicDetailResponse",
+ "type": "object"
+}