changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": true,
+ "properties": {
+ "error": {
+ "description": "Present ONLY when the call was refused instead of answered: upgrade_required (Pro plan needed), not_found, profile_not_found, profile_ambiguous, invalid_arguments, write_not_permitted. No data fields come with it; read `message` to the user rather than retrying the same call.",
+ "type": "string"
+ },
+ "message": {
+ "description": "Plain-language explanation that accompanies `error` or a proposed change.",
+ "type": "string"
+ },
+ "profile": {
+ "additionalProperties": true,
+ "description": "The portfolio these figures belong to (absent on list_profiles).",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": "object"
+ },
+ "set": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "properties": {
+ "dim": {
+ "description": "Axis of the plan: \"asset\" (subjects are tickers), \"sector\" (subjects are sector names) or \"class\".",
+ "type": "string"
+ },
+ "rows": {
+ "description": "Largest target first.",
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "bandPct": {
+ "description": "Tolerance in percentage POINTS either side.",
+ "type": "number"
+ },
+ "subject": {
+ "type": "string"
+ },
+ "targetPct": {
+ "description": "Target share, percent.",
+ "type": "number"
+ }
+ },
+ "required": [
+ "subject",
+ "targetPct",
+ "bandPct"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "updatedAt": {
+ "description": "Epoch ms.",
+ "type": "number"
+ }
+ },
+ "required": [
+ "dim",
+ "rows",
+ "updatedAt"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "null when no target allocation is set."
+ },
+ "source_url": {
+ "description": "Link to the page in the WhereItGoes app that shows this data.",
+ "type": "string"
+ },
+ "stock_assets": {
+ "additionalProperties": true,
+ "description": "Present when the answer mentions Binance Stocks shares (EQ_<ticker>): they are US stocks, not crypto.",
+ "properties": {
+ "assets": {
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "asset": {
+ "type": "string"
+ },
+ "ticker": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "asset",
+ "ticker"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "note": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "note",
+ "assets"
+ ],
+ "type": "object"
+ },
+ "upgrade_url": {
+ "description": "Where the user can upgrade, on an upgrade_required refusal.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+}