changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": true,
+ "properties": {
+ "alerts": {
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "channels": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "cooldownSec": {
+ "type": "number"
+ },
+ "enabled": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ },
+ "kind": {
+ "description": "asset_price, asset_pct, portfolio_value, portfolio_pct, holding_value or holding_weight.",
+ "type": "string"
+ },
+ "label": {
+ "description": "Readable summary of the rule.",
+ "type": "string"
+ },
+ "lastFiredAt": {
+ "description": "Last trigger, epoch ms.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "op": {
+ "description": "above or below.",
+ "type": "string"
+ },
+ "repeat": {
+ "description": "once or recurring.",
+ "type": "string"
+ },
+ "subject": {
+ "description": "Asset the alert watches; null for whole-portfolio kinds.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "threshold": {
+ "description": "Trigger level, in the kind's unit (USD or percent).",
+ "type": "number"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "subject",
+ "op",
+ "threshold",
+ "label",
+ "enabled",
+ "repeat",
+ "cooldownSec",
+ "channels",
+ "lastFiredAt"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "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"
+ },
+ "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"
+}