changedOutput schema / properties / data / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "computing": {
- "additionalProperties": false,
- "properties": {
- "job_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"
- },
- "started_at": {
- "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"
- }
- },
- "required": [
- "job_id",
- "started_at"
- ],
- "type": "object"
- },
- "detail_page": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "detail": {
- "type": "string"
- },
- "next_offset": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "offset": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "total_items": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "detail",
- "offset",
- "total_items",
- "next_offset"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "historical": {
- "type": "boolean"
- },
- "job_id": {
- "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"
- }
- ]
- },
- "omitted": {
- "additionalProperties": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "recent": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "analysis_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"
- },
- "computed_at": {
- "type": "string"
- },
- "scenario_id": {
- "type": "string"
- },
- "scenario_name": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "analysis_id",
- "scenario_id",
- "scenario_name",
- "computed_at"
- ],
- "type": "object"
- },
- "maxItems": 10,
- "type": "array"
- },
- "result": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "absoluteLoss": {
- "type": "number"
- },
- "attribution": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "historicalValueFraction": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "lossDrivers": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "holdingCount": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "holdingId": {
- "type": "string"
- },
- "impactCents": {
- "exclusiveMaximum": 0,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "portfolioImpactFraction": {
- "exclusiveMaximum": 0,
- "type": "number"
- },
- "shockSource": {
- "enum": [
- "historical_price",
- "sector_proxy",
- "asset_class_default"
- ],
- "type": "string"
- }
- },
- "required": [
- "holdingId",
- "name",
- "impactCents",
- "portfolioImpactFraction",
- "shockSource"
- ],
- "type": "object"
- },
- "maxItems": 3,
- "type": "array"
- },
- "netImpactCents": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "otherImpactCents": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "postStressValueCents": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "preStressValueCents": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "preStressValueCents",
- "postStressValueCents",
- "netImpactCents",
- "historicalValueFraction",
- "lossDrivers",
- "otherImpactCents"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "bestPositions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "absoluteLoss": {
- "type": "number"
- },
- "actualDateFrom": {
- "format": "date",
- "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])))$",
- "type": "string"
- },
- "actualDateTo": {
- "format": "date",
- "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])))$",
- "type": "string"
- },
- "assetClass": {
- "type": "string"
- },
- "betaAdjusted": {
- "type": "boolean"
- },
- "currencyMethod": {
- "enum": [
- "unknown",
- "economic_exposure",
- "hedged",
- "direct_history"
- ],
- "type": "string"
- },
- "fxShockApplied": {
- "type": [
- "number",
- "null"
- ]
- },
- "historicalBasis": {
- "enum": [
- "total",
- "price"
- ],
- "type": "string"
- },
- "holdingId": {
- "type": "string"
- },
- "isin": {
- "pattern": "^[A-Z]{2}[A-Z0-9]{9}[0-9]$",
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "percentageLoss": {
- "type": "number"
- },
- "postStressValue": {
- "type": "number"
- },
- "preStressValue": {
- "type": "number"
- },
- "sector": {
- "type": "string"
- },
- "shockApplied": {
- "type": "number"
- },
- "shockSource": {
- "enum": [
- "historical_price",
- "sector_proxy",
- "asset_class_default"
- ],
- "type": "string"
- },
- "ticker": {
- "type": "string"
- }
- },
- "required": [
- "holdingId",
- "ticker",
- "name",
- "sector",
- "assetClass",
- "preStressValue",
- "postStressValue",
- "absoluteLoss",
- "percentageLoss",
- "shockApplied",
- "shockSource",
- "betaAdjusted"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "computedAt": {
- "type": "string"
- },
- "evidence": {
- "additionalProperties": false,
- "properties": {
- "baseCurrency": {
- "enum": [
- "EUR",
- "USD",
- "GBP",
- "CHF",
- "JPY"
- ],
- "type": "string"
- },
- "claims": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "basis": {
- "type": "string"
- },
- "evidenceId": {
- "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"
- },
- "id": {
- "type": "string"
- },
- "metric": {
- "type": "string"
- },
- "subject": {
- "type": "string"
- },
- "unit": {
- "enum": [
- "EUR",
- "USD",
- "GBP",
- "CHF",
- "JPY",
- "fraction",
- "coefficient",
- "basis_points",
- "count",
- "months"
- ],
- "type": "string"
- },
- "value": {
- "type": "number"
- },
- "window": {
- "additionalProperties": false,
- "properties": {
- "from": {
- "format": "date",
- "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])))$",
- "type": "string"
- },
- "to": {
- "format": "date",
- "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])))$",
- "type": "string"
- }
- },
- "required": [
- "from",
- "to"
- ],
- "type": "object"
- }
- },
- "required": [
- "id",
- "subject",
- "metric",
- "value",
- "unit",
- "window",
- "basis",
- "evidenceId"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "computedAt": {
- "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"
- },
- "coverage": {
- "additionalProperties": false,
- "properties": {
- "currencyDecompositionValueFraction": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "denominator": {
- "const": "known_valued_exposure",
- "type": "string"
- },
- "directHoldings": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "directValueFraction": {
- "anyOf": [
- {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "knownValue": {
- "minimum": 0,
- "type": "number"
- },
- "proxyHoldings": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "proxyValueFraction": {
- "anyOf": [
- {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "totalHoldings": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "unvaluedHoldingIds": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "valuationComplete": {
- "type": "boolean"
- },
- "valuedHoldings": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "totalHoldings",
- "valuedHoldings",
- "unvaluedHoldingIds",
- "knownValue",
- "valuationComplete",
- "directHoldings",
- "proxyHoldings",
- "directValueFraction",
- "proxyValueFraction",
- "denominator"
- ],
- "type": "object"
- },
- "datasets": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "contentHash": {
- "maxLength": 64,
- "minLength": 64,
- "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"
- },
- "observedAt": {
- "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"
- },
- "publicationKey": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "publicationKey",
- "contentHash",
- "observedAt"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "dependencyHash": {
- "maxLength": 64,
- "minLength": 64,
- "type": "string"
- },
- "holdingsFingerprint": {
- "maxLength": 64,
- "minLength": 64,
- "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"
- },
- "interpretation": {
- "const": "hypothetical_replay",
- "type": "string"
- },
- "methodologyVersion": {
- "type": "string"
- },
- "quality": {
- "additionalProperties": false,
- "properties": {
- "availability": {
- "enum": [
- "available",
- "partial",
- "unavailable"
- ],
- "type": "string"
- },
- "basis": {
- "enum": [
- "observed",
- "proxy",
- "modeled",
- "mixed"
- ],
- "type": "string"
- },
- "freshness": {
- "enum": [
- "current",
- "stale",
- "release_overdue",
- "unknown"
- ],
- "type": "string"
- },
- "reasonCodes": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "availability",
- "freshness",
- "basis",
- "reasonCodes"
- ],
- "type": "object"
- },
- "scenarioVersion": {
- "maxLength": 64,
- "minLength": 64,
- "type": "string"
- },
- "scenarioWindow": {
- "additionalProperties": false,
- "properties": {
- "from": {
- "format": "date",
- "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])))$",
- "type": "string"
- },
- "to": {
- "format": "date",
- "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])))$",
- "type": "string"
- }
- },
- "required": [
- "from",
- "to"
- ],
- "type": "object"
- },
- "scope": {
- "const": "whole_wealth",
- "type": "string"
- }
- },
- "required": [
- "id",
- "scope",
- "baseCurrency",
- "methodologyVersion",
- "scenarioVersion",
- "scenarioWindow",
- "holdingsFingerprint",
- "dependencyHash",
- "computedAt",
- "datasets",
- "quality",
- "coverage",
- "claims",
- "interpretation"
- ],
- "type": "object"
- },
- "excludedHoldings": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "holdingId": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "reason": {
- "enum": [
- "unknown_asset_class",
- "unsupported_scenario_exposure"
- ],
- "type": "string"
- },
- "ticker": {
- "type": "string"
- },
- "value": {
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "holdingId",
- "ticker",
- "name",
- "value",
- "reason"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "holdingImpacts": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "absoluteLoss": {
- "type": "number"
- },
- "actualDateFrom": {
- "format": "date",
- "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])))$",
- "type": "string"
- },
- "actualDateTo": {
- "format": "date",
- "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])))$",
- "type": "string"
- },
- "assetClass": {
- "type": "string"
- },
- "betaAdjusted": {
- "type": "boolean"
- },
- "currencyMethod": {
- "enum": [
- "unknown",
- "economic_exposure",
- "hedged",
- "direct_history"
- ],
- "type": "string"
- },
- "fxShockApplied": {
- "type": [
- "number",
- "null"
- ]
- },
- "historicalBasis": {
- "enum": [
- "total",
- "price"
- ],
- "type": "string"
- },
- "holdingId": {
- "type": "string"
- },
- "isin": {
- "pattern": "^[A-Z]{2}[A-Z0-9]{9}[0-9]$",
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "percentageLoss": {
- "type": "number"
- },
- "postStressValue": {
- "type": "number"
- },
- "preStressValue": {
- "type": "number"
- },
- "sector": {
- "type": "string"
- },
- "shockApplied": {
- "type": "number"
- },
- "shockSource": {
- "enum": [
- "historical_price",
- "sector_proxy",
- "asset_class_default"
- ],
- "type": "string"
- },
- "ticker": {
- "type": "string"
- }
- },
- "required": [
- "holdingId",
- "ticker",
- "name",
- "sector",
- "assetClass",
- "preStressValue",
- "postStressValue",
- "absoluteLoss",
- "percentageLoss",
- "shockApplied",
- "shockSource",
- "betaAdjusted"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "id": {
- "type": "string"
- },
- "percentageLoss": {
- "type": "number"
- },
- "portfolioId": {
- "type": "string"
- },
- "postStressTotal": {
- "type": "number"
- },
- "preStressTotal": {
- "type": "number"
- },
- "recoveryMonths": {
- "type": [
- "number",
- "null"
- ]
- },
- "scenarioId": {
- "type": "string"
- },
- "snapshot": {
- "additionalProperties": false,
- "properties": {
- "contentHash": {
- "maxLength": 64,
- "minLength": 64,
- "type": "string"
- },
- "holdings": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "assetClass": {
- "type": "string"
- },
- "currency": {
- "type": "string"
- },
- "currentValue": {
- "minimum": 0,
- "type": "number"
- },
- "holdingId": {
- "type": "string"
- },
- "instrumentType": {
- "type": [
- "string",
- "null"
- ]
- },
- "isin": {
- "type": [
- "string",
- "null"
- ]
- },
- "name": {
- "type": "string"
- },
- "portfolioId": {
- "type": "string"
- },
- "priceSource": {
- "type": [
- "string",
- "null"
- ]
- },
- "quantity": {
- "type": "number"
- },
- "sector": {
- "type": [
- "string",
- "null"
- ]
- },
- "ticker": {
- "type": "string"
- },
- "valuation": {}
- },
- "required": [
- "holdingId",
- "portfolioId",
- "quantity",
- "isin",
- "ticker",
- "name",
- "sector",
- "assetClass",
- "instrumentType",
- "currency",
- "currentValue"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "scenario": {
- "additionalProperties": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- }
- },
- "required": [
- "holdings",
- "scenario",
- "contentHash"
- ],
- "type": "object"
- },
- "taxSilverLining": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "disclaimer": {
- "additionalProperties": false,
- "properties": {
- "de": {
- "type": "string"
- },
- "en": {
- "type": "string"
- }
- },
- "required": [
- "de",
- "en"
- ],
- "type": "object"
- },
- "effectiveTaxRate": {
- "type": "number"
- },
- "holdingsWithLoss": {
- "type": "number"
- },
- "items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "holdingId": {
- "type": "string"
- },
- "hypotheticalSavingsEur": {
- "type": "number"
- },
- "name": {
- "type": "string"
- },
- "ticker": {
- "type": "string"
- },
- "unrealizedLossEur": {
- "type": "number"
- }
- },
- "required": [
- "holdingId",
- "ticker",
- "name",
- "unrealizedLossEur",
- "hypotheticalSavingsEur"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "lossPoolOffsetAppliedEur": {
- "type": "number"
- },
- "totalHarvestableLossEur": {
- "type": "number"
- },
- "totalHypotheticalSavingsEur": {
- "type": "number"
- }
- },
- "required": [
- "items",
- "totalHarvestableLossEur",
- "totalHypotheticalSavingsEur",
- "holdingsWithLoss",
- "disclaimer"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "worstPositions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "absoluteLoss": {
- "type": "number"
- },
- "actualDateFrom": {
- "format": "date",
- "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])))$",
- "type": "string"
- },
- "actualDateTo": {
- "format": "date",
- "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])))$",
- "type": "string"
- },
- "assetClass": {
- "type": "string"
- },
- "betaAdjusted": {
- "type": "boolean"
- },
- "currencyMethod": {
- "enum": [
- "unknown",
- "economic_exposure",
- "hedged",
- "direct_history"
- ],
- "type": "string"
- },
- "fxShockApplied": {
- "type": [
- "number",
- "null"
- ]
- },
- "historicalBasis": {
- "enum": [
- "total",
- "price"
- ],
- "type": "string"
- },
- "holdingId": {
- "type": "string"
- },
- "isin": {
- "pattern": "^[A-Z]{2}[A-Z0-9]{9}[0-9]$",
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "percentageLoss": {
- "type": "number"
- },
- "postStressValue": {
- "type": "number"
- },
- "preStressValue": {
- "type": "number"
- },
- "sector": {
- "type": "string"
- },
- "shockApplied": {
- "type": "number"
- },
- "shockSource": {
- "enum": [
- "historical_price",
- "sector_proxy",
- "asset_class_default"
- ],
- "type": "string"
- },
- "ticker": {
- "type": "string"
- }
- },
- "required": [
- "holdingId",
- "ticker",
- "name",
- "sector",
- "assetClass",
- "preStressValue",
- "postStressValue",
- "absoluteLoss",
- "percentageLoss",
- "shockApplied",
- "shockSource",
- "betaAdjusted"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "id",
- "portfolioId",
- "scenarioId",
- "preStressTotal",
- "postStressTotal",
- "absoluteLoss",
- "percentageLoss",
- "recoveryMonths",
- "holdingImpacts",
- "worstPositions",
- "bestPositions",
- "taxSilverLining",
- "computedAt"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "retention": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "expiresAt": {
- "anyOf": [
- {
- "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"
- },
- {
- "type": "null"
- }
- ]
- },
- "retainedAt": {
- "anyOf": [
- {
- "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"
- },
- {
- "type": "null"
- }
- ]
- },
- "status": {
- "enum": [
- "recent",
- "kept"
- ],
- "type": "string"
- }
- },
- "required": [
- "status",
- "retainedAt",
- "expiresAt"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "retry_after_seconds": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "job_id",
- "result",
- "historical",
- "retention",
- "detail_page",
- "omitted"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "computing": {
+ "additionalProperties": false,
+ "properties": {
+ "job_id": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "started_at": {
+ "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"
+ }
+ },
+ "required": [
+ "job_id",
+ "started_at"
+ ],
+ "type": "object"
+ },
+ "detail_page": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "detail": {
+ "type": "string"
+ },
+ "next_offset": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "offset": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "total_items": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "detail",
+ "offset",
+ "total_items",
+ "next_offset"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "historical": {
+ "type": "boolean"
+ },
+ "job_id": {
+ "anyOf": [
+ {
+ "format": "uuid",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "omitted": {
+ "additionalProperties": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "recent": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "analysis_id": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "computed_at": {
+ "type": "string"
+ },
+ "scenario_id": {
+ "type": "string"
+ },
+ "scenario_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "analysis_id",
+ "scenario_id",
+ "scenario_name",
+ "computed_at"
+ ],
+ "type": "object"
+ },
+ "maxItems": 10,
+ "type": "array"
+ },
+ "result": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "absoluteLoss": {
+ "type": "number"
+ },
+ "attribution": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "historicalValueFraction": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "lossDrivers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "holdingCount": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "holdingId": {
+ "type": "string"
+ },
+ "impactCents": {
+ "exclusiveMaximum": 0,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "portfolioImpactFraction": {
+ "exclusiveMaximum": 0,
+ "type": "number"
+ },
+ "shockSource": {
+ "enum": [
+ "historical_price",
+ "sector_proxy",
+ "asset_class_default"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "holdingId",
+ "name",
+ "impactCents",
+ "portfolioImpactFraction",
+ "shockSource"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "type": "array"
+ },
+ "netImpactCents": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "otherImpactCents": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "postStressValueCents": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "preStressValueCents": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "preStressValueCents",
+ "postStressValueCents",
+ "netImpactCents",
+ "historicalValueFraction",
+ "lossDrivers",
+ "otherImpactCents"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "bestPositions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "absoluteLoss": {
+ "type": "number"
+ },
+ "actualDateFrom": {
+ "format": "date",
+ "type": "string"
+ },
+ "actualDateTo": {
+ "format": "date",
+ "type": "string"
+ },
+ "assetClass": {
+ "type": "string"
+ },
+ "betaAdjusted": {
+ "type": "boolean"
+ },
+ "currencyMethod": {
+ "enum": [
+ "unknown",
+ "economic_exposure",
+ "hedged",
+ "direct_history"
+ ],
+ "type": "string"
+ },
+ "fxShockApplied": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "historicalBasis": {
+ "enum": [
+ "total",
+ "price"
+ ],
+ "type": "string"
+ },
+ "holdingId": {
+ "type": "string"
+ },
+ "isin": {
+ "pattern": "^[A-Z]{2}[A-Z0-9]{9}[0-9]$",
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "percentageLoss": {
+ "type": "number"
+ },
+ "postStressValue": {
+ "type": "number"
+ },
+ "preStressValue": {
+ "type": "number"
+ },
+ "sector": {
+ "type": "string"
+ },
+ "shockApplied": {
+ "type": "number"
+ },
+ "shockSource": {
+ "enum": [
+ "historical_price",
+ "sector_proxy",
+ "asset_class_default"
+ ],
+ "type": "string"
+ },
+ "ticker": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "holdingId",
+ "ticker",
+ "name",
+ "sector",
+ "assetClass",
+ "preStressValue",
+ "postStressValue",
+ "absoluteLoss",
+ "percentageLoss",
+ "shockApplied",
+ "shockSource",
+ "betaAdjusted"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "computedAt": {
+ "type": "string"
+ },
+ "evidence": {
+ "additionalProperties": false,
+ "properties": {
+ "baseCurrency": {
+ "enum": [
+ "EUR",
+ "USD",
+ "GBP",
+ "CHF",
+ "JPY"
+ ],
+ "type": "string"
+ },
+ "claims": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "type": "string"
+ },
+ "evidenceId": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "metric": {
+ "type": "string"
+ },
+ "subject": {
+ "type": "string"
+ },
+ "unit": {
+ "enum": [
+ "EUR",
+ "USD",
+ "GBP",
+ "CHF",
+ "JPY",
+ "fraction",
+ "coefficient",
+ "basis_points",
+ "count",
+ "months"
+ ],
+ "type": "string"
+ },
+ "value": {
+ "type": "number"
+ },
+ "window": {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "format": "date",
+ "type": "string"
+ },
+ "to": {
+ "format": "date",
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "id",
+ "subject",
+ "metric",
+ "value",
+ "unit",
+ "window",
+ "basis",
+ "evidenceId"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "computedAt": {
+ "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"
+ },
+ "coverage": {
+ "additionalProperties": false,
+ "properties": {
+ "currencyDecompositionValueFraction": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "denominator": {
+ "const": "known_valued_exposure",
+ "type": "string"
+ },
+ "directHoldings": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "directValueFraction": {
+ "anyOf": [
+ {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "knownValue": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "proxyHoldings": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "proxyValueFraction": {
+ "anyOf": [
+ {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "totalHoldings": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "unvaluedHoldingIds": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "valuationComplete": {
+ "type": "boolean"
+ },
+ "valuedHoldings": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "totalHoldings",
+ "valuedHoldings",
+ "unvaluedHoldingIds",
+ "knownValue",
+ "valuationComplete",
+ "directHoldings",
+ "proxyHoldings",
+ "directValueFraction",
+ "proxyValueFraction",
+ "denominator"
+ ],
+ "type": "object"
+ },
+ "datasets": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "contentHash": {
+ "maxLength": 64,
+ "minLength": 64,
+ "type": "string"
+ },
+ "id": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "observedAt": {
+ "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"
+ },
+ "publicationKey": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "publicationKey",
+ "contentHash",
+ "observedAt"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "dependencyHash": {
+ "maxLength": 64,
+ "minLength": 64,
+ "type": "string"
+ },
+ "holdingsFingerprint": {
+ "maxLength": 64,
+ "minLength": 64,
+ "type": "string"
+ },
+ "id": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "interpretation": {
+ "const": "hypothetical_replay",
+ "type": "string"
+ },
+ "methodologyVersion": {
+ "type": "string"
+ },
+ "quality": {
+ "additionalProperties": false,
+ "properties": {
+ "availability": {
+ "enum": [
+ "available",
+ "partial",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "basis": {
+ "enum": [
+ "observed",
+ "proxy",
+ "modeled",
+ "mixed"
+ ],
+ "type": "string"
+ },
+ "freshness": {
+ "enum": [
+ "current",
+ "stale",
+ "release_overdue",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "reasonCodes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "availability",
+ "freshness",
+ "basis",
+ "reasonCodes"
+ ],
+ "type": "object"
+ },
+ "scenarioVersion": {
+ "maxLength": 64,
+ "minLength": 64,
+ "type": "string"
+ },
+ "scenarioWindow": {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "format": "date",
+ "type": "string"
+ },
+ "to": {
+ "format": "date",
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to"
+ ],
+ "type": "object"
+ },
+ "scope": {
+ "const": "whole_wealth",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "scope",
+ "baseCurrency",
+ "methodologyVersion",
+ "scenarioVersion",
+ "scenarioWindow",
+ "holdingsFingerprint",
+ "dependencyHash",
+ "computedAt",
+ "datasets",
+ "quality",
+ "coverage",
+ "claims",
+ "interpretation"
+ ],
+ "type": "object"
+ },
+ "excludedHoldings": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "holdingId": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "reason": {
+ "enum": [
+ "unknown_asset_class",
+ "unsupported_scenario_exposure"
+ ],
+ "type": "string"
+ },
+ "ticker": {
+ "type": "string"
+ },
+ "value": {
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "holdingId",
+ "ticker",
+ "name",
+ "value",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "holdingImpacts": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "absoluteLoss": {
+ "type": "number"
+ },
+ "actualDateFrom": {
+ "format": "date",
+ "type": "string"
+ },
+ "actualDateTo": {
+ "format": "date",
+ "type": "string"
+ },
+ "assetClass": {
+ "type": "string"
+ },
+ "betaAdjusted": {
+ "type": "boolean"
+ },
+ "currencyMethod": {
+ "enum": [
+ "unknown",
+ "economic_exposure",
+ "hedged",
+ "direct_history"
+ ],
+ "type": "string"
+ },
+ "fxShockApplied": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "historicalBasis": {
+ "enum": [
+ "total",
+ "price"
+ ],
+ "type": "string"
+ },
+ "holdingId": {
+ "type": "string"
+ },
+ "isin": {
+ "pattern": "^[A-Z]{2}[A-Z0-9]{9}[0-9]$",
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "percentageLoss": {
+ "type": "number"
+ },
+ "postStressValue": {
+ "type": "number"
+ },
+ "preStressValue": {
+ "type": "number"
+ },
+ "sector": {
+ "type": "string"
+ },
+ "shockApplied": {
+ "type": "number"
+ },
+ "shockSource": {
+ "enum": [
+ "historical_price",
+ "sector_proxy",
+ "asset_class_default"
+ ],
+ "type": "string"
+ },
+ "ticker": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "holdingId",
+ "ticker",
+ "name",
+ "sector",
+ "assetClass",
+ "preStressValue",
+ "postStressValue",
+ "absoluteLoss",
+ "percentageLoss",
+ "shockApplied",
+ "shockSource",
+ "betaAdjusted"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "id": {
+ "type": "string"
+ },
+ "percentageLoss": {
+ "type": "number"
+ },
+ "portfolioId": {
+ "type": "string"
+ },
+ "postStressTotal": {
+ "type": "number"
+ },
+ "preStressTotal": {
+ "type": "number"
+ },
+ "recoveryMonths": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "scenarioId": {
+ "type": "string"
+ },
+ "snapshot": {
+ "additionalProperties": false,
+ "properties": {
+ "contentHash": {
+ "maxLength": 64,
+ "minLength": 64,
+ "type": "string"
+ },
+ "holdings": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "assetClass": {
+ "type": "string"
+ },
+ "currency": {
+ "type": "string"
+ },
+ "currentValue": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "holdingId": {
+ "type": "string"
+ },
+ "instrumentType": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "isin": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "portfolioId": {
+ "type": "string"
+ },
+ "priceSource": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "quantity": {
+ "type": "number"
+ },
+ "sector": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "ticker": {
+ "type": "string"
+ },
+ "valuation": {}
+ },
+ "required": [
+ "holdingId",
+ "portfolioId",
+ "quantity",
+ "isin",
+ "ticker",
+ "name",
+ "sector",
+ "assetClass",
+ "instrumentType",
+ "currency",
+ "currentValue"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "scenario": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "holdings",
+ "scenario",
+ "contentHash"
+ ],
+ "type": "object"
+ },
+ "taxSilverLining": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "disclaimer": {
+ "additionalProperties": false,
+ "properties": {
+ "de": {
+ "type": "string"
+ },
+ "en": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "de",
+ "en"
+ ],
+ "type": "object"
+ },
+ "effectiveTaxRate": {
+ "type": "number"
+ },
+ "holdingsWithLoss": {
+ "type": "number"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "holdingId": {
+ "type": "string"
+ },
+ "hypotheticalSavingsEur": {
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ },
+ "ticker": {
+ "type": "string"
+ },
+ "unrealizedLossEur": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "holdingId",
+ "ticker",
+ "name",
+ "unrealizedLossEur",
+ "hypotheticalSavingsEur"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "lossPoolOffsetAppliedEur": {
+ "type": "number"
+ },
+ "totalHarvestableLossEur": {
+ "type": "number"
+ },
+ "totalHypotheticalSavingsEur": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "items",
+ "totalHarvestableLossEur",
+ "totalHypotheticalSavingsEur",
+ "holdingsWithLoss",
+ "disclaimer"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "worstPositions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "absoluteLoss": {
+ "type": "number"
+ },
+ "actualDateFrom": {
+ "format": "date",
+ "type": "string"
+ },
+ "actualDateTo": {
+ "format": "date",
+ "type": "string"
+ },
+ "assetClass": {
+ "type": "string"
+ },
+ "betaAdjusted": {
+ "type": "boolean"
+ },
+ "currencyMethod": {
+ "enum": [
+ "unknown",
+ "economic_exposure",
+ "hedged",
+ "direct_history"
+ ],
+ "type": "string"
+ },
+ "fxShockApplied": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "historicalBasis": {
+ "enum": [
+ "total",
+ "price"
+ ],
+ "type": "string"
+ },
+ "holdingId": {
+ "type": "string"
+ },
+ "isin": {
+ "pattern": "^[A-Z]{2}[A-Z0-9]{9}[0-9]$",
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "percentageLoss": {
+ "type": "number"
+ },
+ "postStressValue": {
+ "type": "number"
+ },
+ "preStressValue": {
+ "type": "number"
+ },
+ "sector": {
+ "type": "string"
+ },
+ "shockApplied": {
+ "type": "number"
+ },
+ "shockSource": {
+ "enum": [
+ "historical_price",
+ "sector_proxy",
+ "asset_class_default"
+ ],
+ "type": "string"
+ },
+ "ticker": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "holdingId",
+ "ticker",
+ "name",
+ "sector",
+ "assetClass",
+ "preStressValue",
+ "postStressValue",
+ "absoluteLoss",
+ "percentageLoss",
+ "shockApplied",
+ "shockSource",
+ "betaAdjusted"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "id",
+ "portfolioId",
+ "scenarioId",
+ "preStressTotal",
+ "postStressTotal",
+ "absoluteLoss",
+ "percentageLoss",
+ "recoveryMonths",
+ "holdingImpacts",
+ "worstPositions",
+ "bestPositions",
+ "taxSilverLining",
+ "computedAt"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "retention": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "expiresAt": {
+ "anyOf": [
+ {
+ "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"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "retainedAt": {
+ "anyOf": [
+ {
+ "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"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "enum": [
+ "recent",
+ "kept"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "retainedAt",
+ "expiresAt"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "retry_after_seconds": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "job_id",
+ "result",
+ "historical",
+ "retention",
+ "detail_page",
+ "omitted"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]