changedOutput schema / properties / data / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "analysis": {
- "additionalProperties": false,
- "properties": {
- "decisions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "behaviorEvent": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "drawdownPct": {
- "type": [
- "number",
- "null"
- ]
- },
- "eventId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "kind": {
- "const": "manual_sell_during_drawdown",
- "type": "string"
- }
- },
- "required": [
- "eventId",
- "kind",
- "drawdownPct"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "consultation": {
- "additionalProperties": false,
- "properties": {
- "checkId": {
- "anyOf": [
- {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "checkedOn": {
- "anyOf": [
- {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "confidence": {
- "anyOf": [
- {
- "enum": [
- "strong",
- "plausible"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "outcome": {
- "anyOf": [
- {
- "enum": [
- "proceeded",
- "abandoned",
- "deferred"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "source": {
- "anyOf": [
- {
- "enum": [
- "app",
- "assistant"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "status": {
- "enum": [
- "checked",
- "unchecked",
- "not_applicable"
- ],
- "type": "string"
- },
- "verdictStatus": {
- "anyOf": [
- {
- "enum": [
- "ok",
- "breach",
- "cooling_off",
- "no_rule",
- "unavailable",
- "unclassified"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "status",
- "checkId",
- "outcome",
- "checkedOn",
- "confidence"
- ],
- "type": "object"
- },
- "context": {
- "anyOf": [
- {
- "enum": [
- "sell_during_drawdown"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "contribution": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "actualPathReturnPct": {
- "type": "number"
- },
- "effectEur": {
- "type": "number"
- },
- "effectPp": {
- "type": "number"
- },
- "status": {
- "const": "ready",
- "type": "string"
- },
- "unchangedPathReturnPct": {
- "type": "number"
- }
- },
- "required": [
- "status",
- "effectEur",
- "effectPp",
- "actualPathReturnPct",
- "unchangedPathReturnPct"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "actualPathReturnPct": {
- "type": "null"
- },
- "effectEur": {
- "type": "null"
- },
- "effectPp": {
- "type": "null"
- },
- "reason": {
- "enum": [
- "aggregate_unavailable",
- "incomplete_ledger",
- "missing_recorded_value",
- "missing_price_history",
- "missing_fx_history",
- "unsupported_transaction"
- ],
- "type": "string"
- },
- "status": {
- "const": "withheld",
- "type": "string"
- },
- "unchangedPathReturnPct": {
- "type": "null"
- }
- },
- "required": [
- "status",
- "reason",
- "effectEur",
- "effectPp",
- "actualPathReturnPct",
- "unchangedPathReturnPct"
- ],
- "type": "object"
- }
- ]
- },
- "evidence": {
- "additionalProperties": false,
- "properties": {
- "fxHistoryComplete": {
- "type": "boolean"
- },
- "priceHistoryComplete": {
- "type": "boolean"
- },
- "transactionIds": {
- "items": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "transactionIds",
- "priceHistoryComplete",
- "fxHistoryComplete"
- ],
- "type": "object"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "instruments": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "boughtQuantity": {
- "minimum": 0,
- "type": "number"
- },
- "instrumentKey": {
- "minLength": 1,
- "type": "string"
- },
- "listingLabel": {
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "type": [
- "string",
- "null"
- ]
- },
- "soldQuantity": {
- "minimum": 0,
- "type": "number"
- },
- "symbol": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "symbol",
- "name",
- "boughtQuantity",
- "soldQuantity"
- ],
- "type": "object"
- },
- "maxItems": 30,
- "minItems": 1,
- "type": "array"
- },
- "journal": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "createdAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
- "type": "string"
- },
- "entryId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "reviewDueEntryId": {
- "anyOf": [
- {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "entryId",
- "createdAt"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "journalHref": {
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "enum": [
- "buy",
- "sell",
- "rebalance"
- ],
- "type": "string"
- },
- "mandate": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "commitmentId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "description": {
- "minLength": 1,
- "type": "string"
- },
- "plannedAction": {
- "enum": [
- "buy_more",
- "rebalance",
- "hold",
- "review"
- ],
- "type": "string"
- },
- "triggerEvent": {
- "enum": [
- "equity_drawdown_10",
- "equity_drawdown_20",
- "equity_drawdown_30",
- "portfolio_drawdown_15",
- "portfolio_drawdown_25",
- "dividend_cut",
- "single_issuer_breach",
- "drift_band_breach",
- "annual_review_due"
- ],
- "type": "string"
- }
- },
- "required": [
- "commitmentId",
- "triggerEvent",
- "plannedAction",
- "description"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "mandateVersion": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "isCurrent": {
- "type": "boolean"
- },
- "status": {
- "const": "in_force",
- "type": "string"
- },
- "version": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "status",
- "version",
- "isCurrent"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "status": {
- "const": "predates_mandate",
- "type": "string"
- }
- },
- "required": [
- "status"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "status": {
- "const": "unknown",
- "type": "string"
- }
- },
- "required": [
- "status"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "status": {
- "const": "no_mandate",
- "type": "string"
- }
- },
- "required": [
- "status"
- ],
- "type": "object"
- }
- ]
- },
- "occurredOn": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "quality": {
- "enum": [
- "low",
- "medium",
- "high"
- ],
- "type": "string"
- },
- "thesis": {
- "additionalProperties": false,
- "properties": {
- "candidates": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "investmentThesisId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "subject": {
- "additionalProperties": false,
- "properties": {
- "asset_type": {
- "enum": [
- "stock",
- "etf",
- "fund",
- "crypto",
- "commodity"
- ],
- "type": "string"
- },
- "exchange": {
- "maxLength": 64,
- "minLength": 1,
- "pattern": "^[A-Z0-9.^@_/-]+$",
- "type": "string"
- },
- "isin": {
- "anyOf": [
- {
- "pattern": "^[A-Z]{2}[A-Z0-9]{9}[0-9]$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "name": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "subject_key": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "ticker": {
- "maxLength": 64,
- "minLength": 1,
- "pattern": "^[A-Z0-9.^@_/-]+$",
- "type": "string"
- }
- },
- "required": [
- "ticker",
- "exchange",
- "isin",
- "name",
- "asset_type",
- "subject_key"
- ],
- "type": "object"
- },
- "timing": {
- "enum": [
- "prospective",
- "retrospective"
- ],
- "type": "string"
- },
- "transactionIds": {
- "items": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "maxItems": 40,
- "minItems": 1,
- "type": "array"
- },
- "versionId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "versionNumber": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "investmentThesisId",
- "versionId",
- "versionNumber",
- "subject",
- "timing",
- "transactionIds"
- ],
- "type": "object"
- },
- "maxItems": 30,
- "type": "array"
- },
- "links": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "decisionKey": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}(?:,[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}){0,39}$",
- "type": "string"
- },
- "decisionOccurredAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
- "type": "string"
- },
- "id": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "investmentThesisId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "linkedAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
- "type": "string"
- },
- "subject": {
- "additionalProperties": false,
- "properties": {
- "asset_type": {
- "enum": [
- "stock",
- "etf",
- "fund",
- "crypto",
- "commodity"
- ],
- "type": "string"
- },
- "exchange": {
- "maxLength": 64,
- "minLength": 1,
- "pattern": "^[A-Z0-9.^@_/-]+$",
- "type": "string"
- },
- "isin": {
- "anyOf": [
- {
- "pattern": "^[A-Z]{2}[A-Z0-9]{9}[0-9]$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "name": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "subject_key": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "ticker": {
- "maxLength": 64,
- "minLength": 1,
- "pattern": "^[A-Z0-9.^@_/-]+$",
- "type": "string"
- }
- },
- "required": [
- "ticker",
- "exchange",
- "isin",
- "name",
- "asset_type",
- "subject_key"
- ],
- "type": "object"
- },
- "timing": {
- "enum": [
- "prospective",
- "retrospective"
- ],
- "type": "string"
- },
- "transactionIds": {
- "items": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "maxItems": 40,
- "minItems": 1,
- "type": "array"
- },
- "versionId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "versionNumber": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "investmentThesisId",
- "versionId",
- "versionNumber",
- "subject",
- "timing",
- "transactionIds",
- "id",
- "decisionKey",
- "decisionOccurredAt",
- "linkedAt"
- ],
- "type": "object"
- },
- "maxItems": 30,
- "type": "array"
- }
- },
- "required": [
- "links",
- "candidates"
- ],
- "type": "object"
- },
- "transactionCount": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "occurredOn",
- "kind",
- "transactionCount",
- "instruments",
- "context",
- "contribution",
- "quality",
- "behaviorEvent",
- "mandate",
- "journal",
- "journalHref",
- "evidence"
- ],
- "type": "object"
- },
- "maxItems": 500,
- "type": "array"
- },
- "methodVersion": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "methodology": {
- "const": "ordered_additive_trade_counterfactual",
- "type": "string"
- },
- "observedWindow": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "from": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "to": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- }
- },
- "required": [
- "from",
- "to"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "pattern": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "combinedEffectEur": {
- "type": "number"
- },
- "combinedEffectPp": {
- "type": "number"
- },
- "coolingOffHours": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "decisionCount": {
- "maximum": 9007199254740991,
- "minimum": 2,
- "type": "integer"
- },
- "journaledCount": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "kind": {
- "const": "sell_during_drawdown",
- "type": "string"
- },
- "totalDecisionCount": {
- "maximum": 9007199254740991,
- "minimum": 3,
- "type": "integer"
- }
- },
- "required": [
- "kind",
- "decisionCount",
- "totalDecisionCount",
- "combinedEffectEur",
- "combinedEffectPp",
- "journaledCount",
- "coolingOffHours"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "quality": {
- "additionalProperties": false,
- "properties": {
- "analyzedDecisionCount": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "explanationCoveragePct": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "level": {
- "enum": [
- "low",
- "medium",
- "high"
- ],
- "type": "string"
- },
- "transactionLedgerComplete": {
- "type": "boolean"
- },
- "withheldDecisionCount": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "level",
- "explanationCoveragePct",
- "analyzedDecisionCount",
- "withheldDecisionCount",
- "transactionLedgerComplete"
- ],
- "type": "object"
- },
- "range": {
- "enum": [
- "1m",
- "3m",
- "6m",
- "ytd",
- "1y",
- "2y",
- "max"
- ],
- "type": "string"
- },
- "reconciliation": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "residualEur": {
- "type": "number"
- },
- "residualPp": {
- "type": "number"
- }
- },
- "required": [
- "residualEur",
- "residualPp"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "requestedWindow": {
- "additionalProperties": false,
- "properties": {
- "from": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "to": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- }
- },
- "required": [
- "from",
- "to"
- ],
- "type": "object"
- },
- "scope": {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "portfolio",
- "type": "string"
- },
- "portfolioId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "portfolioId"
- ],
- "type": "object"
- },
- "summary": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "end": {
- "additionalProperties": false,
- "properties": {
- "actualValueEur": {
- "type": "number"
- },
- "dataQuality": {
- "enum": [
- "full",
- "partial",
- "insufficient"
- ],
- "type": "string"
- },
- "date": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "daysSinceBaseline": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "economicCoverageComplete": {
- "type": "boolean"
- },
- "gapEur": {
- "type": "number"
- },
- "gapRatio": {
- "type": "number"
- },
- "planValueEur": {
- "type": "number"
- }
- },
- "required": [
- "date",
- "actualValueEur",
- "planValueEur",
- "gapEur",
- "gapRatio",
- "daysSinceBaseline",
- "dataQuality"
- ],
- "type": "object"
- },
- "gapChangeEur": {
- "type": "number"
- },
- "methodVersion": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "methodology": {
- "const": "actual_vs_buy_and_hold_gap_change",
- "type": "string"
- },
- "observedWindow": {
- "additionalProperties": false,
- "properties": {
- "from": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "to": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- }
- },
- "required": [
- "from",
- "to"
- ],
- "type": "object"
- },
- "quality": {
- "additionalProperties": false,
- "properties": {
- "dataQuality": {
- "enum": [
- "full",
- "partial",
- "insufficient"
- ],
- "type": "string"
- },
- "daysSinceBaseline": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "observationCount": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "windowCoveragePct": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "dataQuality",
- "daysSinceBaseline",
- "observationCount",
- "windowCoveragePct"
- ],
- "type": "object"
- },
- "relativeGapChangePct": {
- "type": "number"
- },
- "requestedWindow": {
- "additionalProperties": false,
- "properties": {
- "from": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "to": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- }
- },
- "required": [
- "from",
- "to"
- ],
- "type": "object"
- },
- "start": {
- "additionalProperties": false,
- "properties": {
- "actualValueEur": {
- "type": "number"
- },
- "dataQuality": {
- "enum": [
- "full",
- "partial",
- "insufficient"
- ],
- "type": "string"
- },
- "date": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "daysSinceBaseline": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "economicCoverageComplete": {
- "type": "boolean"
- },
- "gapEur": {
- "type": "number"
- },
- "gapRatio": {
- "type": "number"
- },
- "planValueEur": {
- "type": "number"
- }
- },
- "required": [
- "date",
- "actualValueEur",
- "planValueEur",
- "gapEur",
- "gapRatio",
- "daysSinceBaseline",
- "dataQuality"
- ],
- "type": "object"
- },
- "status": {
- "const": "ready",
- "type": "string"
- },
- "withheldReason": {
- "type": "null"
- }
- },
- "required": [
- "methodology",
- "requestedWindow",
- "quality",
- "status",
- "withheldReason",
- "observedWindow",
- "start",
- "end",
- "gapChangeEur",
- "relativeGapChangePct"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "end": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "actualValueEur": {
- "type": "number"
- },
- "dataQuality": {
- "enum": [
- "full",
- "partial",
- "insufficient"
- ],
- "type": "string"
- },
- "date": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "daysSinceBaseline": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "economicCoverageComplete": {
- "type": "boolean"
- },
- "gapEur": {
- "type": "number"
- },
- "gapRatio": {
- "type": "number"
- },
- "planValueEur": {
- "type": "number"
- }
- },
- "required": [
- "date",
- "actualValueEur",
- "planValueEur",
- "gapEur",
- "gapRatio",
- "daysSinceBaseline",
- "dataQuality"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "gapChangeEur": {
- "type": "null"
- },
- "methodVersion": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "methodology": {
- "const": "actual_vs_buy_and_hold_gap_change",
- "type": "string"
- },
- "observedWindow": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "from": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "to": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- }
- },
- "required": [
- "from",
- "to"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "quality": {
- "additionalProperties": false,
- "properties": {
- "dataQuality": {
- "enum": [
- "full",
- "partial",
- "insufficient"
- ],
- "type": "string"
- },
- "daysSinceBaseline": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "observationCount": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "windowCoveragePct": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "dataQuality",
- "daysSinceBaseline",
- "observationCount",
- "windowCoveragePct"
- ],
- "type": "object"
- },
- "relativeGapChangePct": {
- "type": "null"
- },
- "requestedWindow": {
- "additionalProperties": false,
- "properties": {
- "from": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "to": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- }
- },
- "required": [
- "from",
- "to"
- ],
- "type": "object"
- },
- "start": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "actualValueEur": {
- "type": "number"
- },
- "dataQuality": {
- "enum": [
- "full",
- "partial",
- "insufficient"
- ],
- "type": "string"
- },
- "date": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "daysSinceBaseline": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "economicCoverageComplete": {
- "type": "boolean"
- },
- "gapEur": {
- "type": "number"
- },
- "gapRatio": {
- "type": "number"
- },
- "planValueEur": {
- "type": "number"
- }
- },
- "required": [
- "date",
- "actualValueEur",
- "planValueEur",
- "gapEur",
- "gapRatio",
- "daysSinceBaseline",
- "dataQuality"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "status": {
- "const": "withheld",
- "type": "string"
- },
- "withheldReason": {
- "enum": [
- "no_observations",
- "no_comparable_observations",
- "insufficient_history",
- "partial_window"
- ],
- "type": "string"
- }
- },
- "required": [
- "methodology",
- "requestedWindow",
- "quality",
- "status",
- "withheldReason",
- "observedWindow",
- "start",
- "end",
- "gapChangeEur",
- "relativeGapChangePct"
- ],
- "type": "object"
- }
- ]
- },
- "trajectory": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "actualValueEur": {
- "type": "number"
- },
- "date": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
- "type": "string"
- },
- "unchangedValueEur": {
- "type": "number"
- }
- },
- "required": [
- "date",
- "actualValueEur",
- "unchangedValueEur"
- ],
- "type": "object"
- },
- "maxItems": 500,
- "type": "array"
- }
- },
- "required": [
- "scope",
- "methodology",
- "range",
- "requestedWindow",
- "observedWindow",
- "summary",
- "trajectory",
- "decisions",
- "reconciliation",
- "quality",
- "pattern"
- ],
- "type": "object"
- },
- "detail_page": {
- "additionalProperties": false,
- "properties": {
- "detail": {
- "enum": [
- "decisions",
- "trajectory"
- ],
- "type": "string"
- },
- "next_offset": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "offset": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "total_items": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "detail",
- "total_items",
- "offset",
- "next_offset"
- ],
- "type": "object"
- },
- "next_offset": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "omitted_decisions": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "omitted_trajectory_points": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "total_decisions": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "analysis",
- "total_decisions",
- "next_offset",
- "omitted_trajectory_points",
- "omitted_decisions",
- "detail_page"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "analysis": {
+ "additionalProperties": false,
+ "properties": {
+ "decisions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "behaviorEvent": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "drawdownPct": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "eventId": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "kind": {
+ "const": "manual_sell_during_drawdown",
+ "type": "string"
+ }
+ },
+ "required": [
+ "eventId",
+ "kind",
+ "drawdownPct"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "consultation": {
+ "additionalProperties": false,
+ "properties": {
+ "checkId": {
+ "anyOf": [
+ {
+ "format": "uuid",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "checkedOn": {
+ "anyOf": [
+ {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "confidence": {
+ "anyOf": [
+ {
+ "enum": [
+ "strong",
+ "plausible"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "outcome": {
+ "anyOf": [
+ {
+ "enum": [
+ "proceeded",
+ "abandoned",
+ "deferred"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "source": {
+ "anyOf": [
+ {
+ "enum": [
+ "app",
+ "assistant"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "enum": [
+ "checked",
+ "unchecked",
+ "not_applicable"
+ ],
+ "type": "string"
+ },
+ "verdictStatus": {
+ "anyOf": [
+ {
+ "enum": [
+ "ok",
+ "breach",
+ "cooling_off",
+ "no_rule",
+ "unavailable",
+ "unclassified"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "status",
+ "checkId",
+ "outcome",
+ "checkedOn",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ "context": {
+ "anyOf": [
+ {
+ "enum": [
+ "sell_during_drawdown"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "contribution": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "actualPathReturnPct": {
+ "type": "number"
+ },
+ "effectEur": {
+ "type": "number"
+ },
+ "effectPp": {
+ "type": "number"
+ },
+ "status": {
+ "const": "ready",
+ "type": "string"
+ },
+ "unchangedPathReturnPct": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "status",
+ "effectEur",
+ "effectPp",
+ "actualPathReturnPct",
+ "unchangedPathReturnPct"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "actualPathReturnPct": {
+ "type": "null"
+ },
+ "effectEur": {
+ "type": "null"
+ },
+ "effectPp": {
+ "type": "null"
+ },
+ "reason": {
+ "enum": [
+ "aggregate_unavailable",
+ "incomplete_ledger",
+ "missing_recorded_value",
+ "missing_price_history",
+ "missing_fx_history",
+ "unsupported_transaction"
+ ],
+ "type": "string"
+ },
+ "status": {
+ "const": "withheld",
+ "type": "string"
+ },
+ "unchangedPathReturnPct": {
+ "type": "null"
+ }
+ },
+ "required": [
+ "status",
+ "reason",
+ "effectEur",
+ "effectPp",
+ "actualPathReturnPct",
+ "unchangedPathReturnPct"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "evidence": {
+ "additionalProperties": false,
+ "properties": {
+ "fxHistoryComplete": {
+ "type": "boolean"
+ },
+ "priceHistoryComplete": {
+ "type": "boolean"
+ },
+ "transactionIds": {
+ "items": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "transactionIds",
+ "priceHistoryComplete",
+ "fxHistoryComplete"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "instruments": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "boughtQuantity": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "instrumentKey": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "listingLabel": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "soldQuantity": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "symbol": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "symbol",
+ "name",
+ "boughtQuantity",
+ "soldQuantity"
+ ],
+ "type": "object"
+ },
+ "maxItems": 30,
+ "minItems": 1,
+ "type": "array"
+ },
+ "journal": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "createdAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
+ "type": "string"
+ },
+ "entryId": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "reviewDueEntryId": {
+ "anyOf": [
+ {
+ "format": "uuid",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "entryId",
+ "createdAt"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "journalHref": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "buy",
+ "sell",
+ "rebalance"
+ ],
+ "type": "string"
+ },
+ "mandate": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "commitmentId": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "description": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "plannedAction": {
+ "enum": [
+ "buy_more",
+ "rebalance",
+ "hold",
+ "review"
+ ],
+ "type": "string"
+ },
+ "triggerEvent": {
+ "enum": [
+ "equity_drawdown_10",
+ "equity_drawdown_20",
+ "equity_drawdown_30",
+ "portfolio_drawdown_15",
+ "portfolio_drawdown_25",
+ "dividend_cut",
+ "single_issuer_breach",
+ "drift_band_breach",
+ "annual_review_due"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "commitmentId",
+ "triggerEvent",
+ "plannedAction",
+ "description"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "mandateVersion": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "isCurrent": {
+ "type": "boolean"
+ },
+ "status": {
+ "const": "in_force",
+ "type": "string"
+ },
+ "version": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "status",
+ "version",
+ "isCurrent"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "status": {
+ "const": "predates_mandate",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "status": {
+ "const": "unknown",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "status": {
+ "const": "no_mandate",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "occurredOn": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "quality": {
+ "enum": [
+ "low",
+ "medium",
+ "high"
+ ],
+ "type": "string"
+ },
+ "thesis": {
+ "additionalProperties": false,
+ "properties": {
+ "candidates": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "investmentThesisId": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "subject": {
+ "additionalProperties": false,
+ "properties": {
+ "asset_type": {
+ "enum": [
+ "stock",
+ "etf",
+ "fund",
+ "crypto",
+ "commodity"
+ ],
+ "type": "string"
+ },
+ "exchange": {
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Z0-9.^@_/-]+$",
+ "type": "string"
+ },
+ "isin": {
+ "anyOf": [
+ {
+ "pattern": "^[A-Z]{2}[A-Z0-9]{9}[0-9]$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "name": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "subject_key": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "ticker": {
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Z0-9.^@_/-]+$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "ticker",
+ "exchange",
+ "isin",
+ "name",
+ "asset_type",
+ "subject_key"
+ ],
+ "type": "object"
+ },
+ "timing": {
+ "enum": [
+ "prospective",
+ "retrospective"
+ ],
+ "type": "string"
+ },
+ "transactionIds": {
+ "items": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "maxItems": 40,
+ "minItems": 1,
+ "type": "array"
+ },
+ "versionId": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "versionNumber": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "investmentThesisId",
+ "versionId",
+ "versionNumber",
+ "subject",
+ "timing",
+ "transactionIds"
+ ],
+ "type": "object"
+ },
+ "maxItems": 30,
+ "type": "array"
+ },
+ "links": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "decisionKey": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}(?:,[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}){0,39}$",
+ "type": "string"
+ },
+ "decisionOccurredAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
+ "type": "string"
+ },
+ "id": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "investmentThesisId": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "linkedAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
+ "type": "string"
+ },
+ "subject": {
+ "additionalProperties": false,
+ "properties": {
+ "asset_type": {
+ "enum": [
+ "stock",
+ "etf",
+ "fund",
+ "crypto",
+ "commodity"
+ ],
+ "type": "string"
+ },
+ "exchange": {
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Z0-9.^@_/-]+$",
+ "type": "string"
+ },
+ "isin": {
+ "anyOf": [
+ {
+ "pattern": "^[A-Z]{2}[A-Z0-9]{9}[0-9]$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "name": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "subject_key": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "ticker": {
+ "maxLength": 64,
+ "minLength": 1,
+ "pattern": "^[A-Z0-9.^@_/-]+$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "ticker",
+ "exchange",
+ "isin",
+ "name",
+ "asset_type",
+ "subject_key"
+ ],
+ "type": "object"
+ },
+ "timing": {
+ "enum": [
+ "prospective",
+ "retrospective"
+ ],
+ "type": "string"
+ },
+ "transactionIds": {
+ "items": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "maxItems": 40,
+ "minItems": 1,
+ "type": "array"
+ },
+ "versionId": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "versionNumber": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "investmentThesisId",
+ "versionId",
+ "versionNumber",
+ "subject",
+ "timing",
+ "transactionIds",
+ "id",
+ "decisionKey",
+ "decisionOccurredAt",
+ "linkedAt"
+ ],
+ "type": "object"
+ },
+ "maxItems": 30,
+ "type": "array"
+ }
+ },
+ "required": [
+ "links",
+ "candidates"
+ ],
+ "type": "object"
+ },
+ "transactionCount": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "occurredOn",
+ "kind",
+ "transactionCount",
+ "instruments",
+ "context",
+ "contribution",
+ "quality",
+ "behaviorEvent",
+ "mandate",
+ "journal",
+ "journalHref",
+ "evidence"
+ ],
+ "type": "object"
+ },
+ "maxItems": 500,
+ "type": "array"
+ },
+ "methodVersion": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "methodology": {
+ "const": "ordered_additive_trade_counterfactual",
+ "type": "string"
+ },
+ "observedWindow": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "to": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "pattern": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "combinedEffectEur": {
+ "type": "number"
+ },
+ "combinedEffectPp": {
+ "type": "number"
+ },
+ "coolingOffHours": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "decisionCount": {
+ "maximum": 9007199254740991,
+ "minimum": 2,
+ "type": "integer"
+ },
+ "journaledCount": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "kind": {
+ "const": "sell_during_drawdown",
+ "type": "string"
+ },
+ "totalDecisionCount": {
+ "maximum": 9007199254740991,
+ "minimum": 3,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "kind",
+ "decisionCount",
+ "totalDecisionCount",
+ "combinedEffectEur",
+ "combinedEffectPp",
+ "journaledCount",
+ "coolingOffHours"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "quality": {
+ "additionalProperties": false,
+ "properties": {
+ "analyzedDecisionCount": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "explanationCoveragePct": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "level": {
+ "enum": [
+ "low",
+ "medium",
+ "high"
+ ],
+ "type": "string"
+ },
+ "transactionLedgerComplete": {
+ "type": "boolean"
+ },
+ "withheldDecisionCount": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "level",
+ "explanationCoveragePct",
+ "analyzedDecisionCount",
+ "withheldDecisionCount",
+ "transactionLedgerComplete"
+ ],
+ "type": "object"
+ },
+ "range": {
+ "enum": [
+ "1m",
+ "3m",
+ "6m",
+ "ytd",
+ "1y",
+ "2y",
+ "max"
+ ],
+ "type": "string"
+ },
+ "reconciliation": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "residualEur": {
+ "type": "number"
+ },
+ "residualPp": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "residualEur",
+ "residualPp"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "requestedWindow": {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "to": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to"
+ ],
+ "type": "object"
+ },
+ "scope": {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "portfolio",
+ "type": "string"
+ },
+ "portfolioId": {
+ "format": "uuid",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "portfolioId"
+ ],
+ "type": "object"
+ },
+ "summary": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "end": {
+ "additionalProperties": false,
+ "properties": {
+ "actualValueEur": {
+ "type": "number"
+ },
+ "dataQuality": {
+ "enum": [
+ "full",
+ "partial",
+ "insufficient"
+ ],
+ "type": "string"
+ },
+ "date": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "daysSinceBaseline": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "economicCoverageComplete": {
+ "type": "boolean"
+ },
+ "gapEur": {
+ "type": "number"
+ },
+ "gapRatio": {
+ "type": "number"
+ },
+ "planValueEur": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "date",
+ "actualValueEur",
+ "planValueEur",
+ "gapEur",
+ "gapRatio",
+ "daysSinceBaseline",
+ "dataQuality"
+ ],
+ "type": "object"
+ },
+ "gapChangeEur": {
+ "type": "number"
+ },
+ "methodVersion": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "methodology": {
+ "const": "actual_vs_buy_and_hold_gap_change",
+ "type": "string"
+ },
+ "observedWindow": {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "to": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to"
+ ],
+ "type": "object"
+ },
+ "quality": {
+ "additionalProperties": false,
+ "properties": {
+ "dataQuality": {
+ "enum": [
+ "full",
+ "partial",
+ "insufficient"
+ ],
+ "type": "string"
+ },
+ "daysSinceBaseline": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "observationCount": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "windowCoveragePct": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "dataQuality",
+ "daysSinceBaseline",
+ "observationCount",
+ "windowCoveragePct"
+ ],
+ "type": "object"
+ },
+ "relativeGapChangePct": {
+ "type": "number"
+ },
+ "requestedWindow": {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "to": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to"
+ ],
+ "type": "object"
+ },
+ "start": {
+ "additionalProperties": false,
+ "properties": {
+ "actualValueEur": {
+ "type": "number"
+ },
+ "dataQuality": {
+ "enum": [
+ "full",
+ "partial",
+ "insufficient"
+ ],
+ "type": "string"
+ },
+ "date": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "daysSinceBaseline": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "economicCoverageComplete": {
+ "type": "boolean"
+ },
+ "gapEur": {
+ "type": "number"
+ },
+ "gapRatio": {
+ "type": "number"
+ },
+ "planValueEur": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "date",
+ "actualValueEur",
+ "planValueEur",
+ "gapEur",
+ "gapRatio",
+ "daysSinceBaseline",
+ "dataQuality"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "const": "ready",
+ "type": "string"
+ },
+ "withheldReason": {
+ "type": "null"
+ }
+ },
+ "required": [
+ "methodology",
+ "requestedWindow",
+ "quality",
+ "status",
+ "withheldReason",
+ "observedWindow",
+ "start",
+ "end",
+ "gapChangeEur",
+ "relativeGapChangePct"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "end": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "actualValueEur": {
+ "type": "number"
+ },
+ "dataQuality": {
+ "enum": [
+ "full",
+ "partial",
+ "insufficient"
+ ],
+ "type": "string"
+ },
+ "date": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "daysSinceBaseline": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "economicCoverageComplete": {
+ "type": "boolean"
+ },
+ "gapEur": {
+ "type": "number"
+ },
+ "gapRatio": {
+ "type": "number"
+ },
+ "planValueEur": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "date",
+ "actualValueEur",
+ "planValueEur",
+ "gapEur",
+ "gapRatio",
+ "daysSinceBaseline",
+ "dataQuality"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "gapChangeEur": {
+ "type": "null"
+ },
+ "methodVersion": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "methodology": {
+ "const": "actual_vs_buy_and_hold_gap_change",
+ "type": "string"
+ },
+ "observedWindow": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "to": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "quality": {
+ "additionalProperties": false,
+ "properties": {
+ "dataQuality": {
+ "enum": [
+ "full",
+ "partial",
+ "insufficient"
+ ],
+ "type": "string"
+ },
+ "daysSinceBaseline": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "observationCount": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "windowCoveragePct": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "dataQuality",
+ "daysSinceBaseline",
+ "observationCount",
+ "windowCoveragePct"
+ ],
+ "type": "object"
+ },
+ "relativeGapChangePct": {
+ "type": "null"
+ },
+ "requestedWindow": {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "to": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to"
+ ],
+ "type": "object"
+ },
+ "start": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "actualValueEur": {
+ "type": "number"
+ },
+ "dataQuality": {
+ "enum": [
+ "full",
+ "partial",
+ "insufficient"
+ ],
+ "type": "string"
+ },
+ "date": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "daysSinceBaseline": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "economicCoverageComplete": {
+ "type": "boolean"
+ },
+ "gapEur": {
+ "type": "number"
+ },
+ "gapRatio": {
+ "type": "number"
+ },
+ "planValueEur": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "date",
+ "actualValueEur",
+ "planValueEur",
+ "gapEur",
+ "gapRatio",
+ "daysSinceBaseline",
+ "dataQuality"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "const": "withheld",
+ "type": "string"
+ },
+ "withheldReason": {
+ "enum": [
+ "no_observations",
+ "no_comparable_observations",
+ "insufficient_history",
+ "partial_window"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "methodology",
+ "requestedWindow",
+ "quality",
+ "status",
+ "withheldReason",
+ "observedWindow",
+ "start",
+ "end",
+ "gapChangeEur",
+ "relativeGapChangePct"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "trajectory": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "actualValueEur": {
+ "type": "number"
+ },
+ "date": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "unchangedValueEur": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "date",
+ "actualValueEur",
+ "unchangedValueEur"
+ ],
+ "type": "object"
+ },
+ "maxItems": 500,
+ "type": "array"
+ }
+ },
+ "required": [
+ "scope",
+ "methodology",
+ "range",
+ "requestedWindow",
+ "observedWindow",
+ "summary",
+ "trajectory",
+ "decisions",
+ "reconciliation",
+ "quality",
+ "pattern"
+ ],
+ "type": "object"
+ },
+ "detail_page": {
+ "additionalProperties": false,
+ "properties": {
+ "detail": {
+ "enum": [
+ "decisions",
+ "trajectory"
+ ],
+ "type": "string"
+ },
+ "next_offset": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "offset": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "total_items": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "detail",
+ "total_items",
+ "offset",
+ "next_offset"
+ ],
+ "type": "object"
+ },
+ "next_offset": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "omitted_decisions": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "omitted_trajectory_points": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "total_decisions": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "analysis",
+ "total_decisions",
+ "next_offset",
+ "omitted_trajectory_points",
+ "omitted_decisions",
+ "detail_page"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]