changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "date": {
- "description": "Analysis date shared by every decision.",
- "type": "string"
- },
- "decisions": {
- "description": "Newest run of each model on that date.",
- "items": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "confidence": {
- "type": [
- "string",
- "null"
- ]
- },
- "currentPrice": {
- "description": "Report-time price as written, not a live quote.",
- "type": [
- "string",
- "null"
- ]
- },
- "model": {
- "type": "string"
- },
- "priceTarget": {
- "type": [
- "string",
- "null"
- ]
- },
- "rating": {
- "description": "Final portfolio rating as written, e.g. Overweight; null if the report states none.",
- "type": [
- "string",
- "null"
- ]
- },
- "summary": {
- "description": "The portfolio manager's executive summary.",
- "type": [
- "string",
- "null"
- ]
- },
- "timeHorizon": {
- "type": [
- "string",
- "null"
- ]
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "model",
- "url",
- "rating",
- "currentPrice",
- "priceTarget",
- "confidence",
- "timeHorizon",
- "summary"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "type": "string"
- },
- "model": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "model",
- "url",
- "error"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "disclaimer": {
- "type": "string"
- },
- "ticker": {
- "type": "string"
- }
- },
- "required": [
- "ticker",
- "date",
- "decisions",
- "disclaimer"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "type": "string"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "comparisons": {
+ "description": "Only returned when includePrevious is true. Each model on the selected date versus its nearest strictly earlier analysis date; no model-name aliases.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "current": {
+ "additionalProperties": false,
+ "properties": {
+ "date": {
+ "type": "string"
+ },
+ "error": {
+ "type": "string"
+ },
+ "rating": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "date",
+ "url",
+ "rating"
+ ],
+ "type": "object"
+ },
+ "model": {
+ "type": "string"
+ },
+ "previous": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "date": {
+ "type": "string"
+ },
+ "error": {
+ "type": "string"
+ },
+ "rating": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "date",
+ "url",
+ "rating"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "description": "Rating-only comparison after case/whitespace normalization; missing ratings or unreadable reports are unavailable, not unchanged.",
+ "enum": [
+ "changed",
+ "unchanged",
+ "no_previous",
+ "unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "model",
+ "current",
+ "previous",
+ "status"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "date": {
+ "description": "Analysis date shared by every decision.",
+ "type": "string"
+ },
+ "decisions": {
+ "description": "Newest run of each model on that date.",
+ "items": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "confidence": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "currentPrice": {
+ "description": "Report-time price as written, not a live quote.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "model": {
+ "type": "string"
+ },
+ "priceTarget": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "rating": {
+ "description": "Final portfolio rating as written, e.g. Overweight; null if the report states none.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "summary": {
+ "description": "The portfolio manager's executive summary.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "timeHorizon": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "model",
+ "url",
+ "rating",
+ "currentPrice",
+ "priceTarget",
+ "confidence",
+ "timeHorizon",
+ "summary"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "type": "string"
+ },
+ "model": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "model",
+ "url",
+ "error"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "disclaimer": {
+ "type": "string"
+ },
+ "ticker": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "ticker",
+ "date",
+ "decisions",
+ "disclaimer"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ }
+]