changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "IpoProfitLossItem": {
+ "description": "A single per-stock IPO profit/loss breakdown item. Subset of upstream\nfields; monetary and rate fields are stringified by the transform pipeline.",
+ "properties": {
+ "cost": {
+ "description": "Cost basis for this stock (stringified decimal).",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "current_value": {
+ "description": "Current market value for this stock (stringified decimal).",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "return_rate": {
+ "description": "Return rate for this stock (stringified decimal / percentage).",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "symbol": {
+ "description": "Security symbol, e.g. \"6871.HK\".",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "IpoProfitLossItems": {
+ "description": "The items side of the IPO profit/loss feed. The documented portion is\n`items[]`.",
+ "properties": {
+ "items": {
+ "description": "Per-stock profit/loss breakdown entries.",
+ "items": {
+ "$ref": "#/$defs/IpoProfitLossItem"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "IpoProfitLossSummary": {
+ "description": "The summary side of the IPO profit/loss feed. Documented totals are\nstringified decimals.",
+ "properties": {
+ "total_cost": {
+ "description": "Total cost across all IPO holdings (stringified decimal).",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "total_return": {
+ "description": "Total return across all IPO holdings (stringified decimal).",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "total_value": {
+ "description": "Total current value across all IPO holdings (stringified decimal).",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ }
+ },
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "description": "Returned by `ipo_profit_loss`. Summary and per-stock breakdown combined\nunder a `{summary, items}` wrapper object built by the tool.",
+ "properties": {
+ "items": {
+ "$ref": "#/$defs/IpoProfitLossItems",
+ "description": "Per-stock breakdown items."
+ },
+ "summary": {
+ "$ref": "#/$defs/IpoProfitLossSummary",
+ "description": "Aggregate cost/value/return totals."
+ }
+ },
+ "required": [
+ "summary",
+ "items"
+ ],
+ "title": "IpoProfitLossResponse",
+ "type": "object"
+}