changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "InstitutionRatingAnalyst": {
+ "description": "Analyst consensus block of `institution_rating`.\n\nSubset of documented fields; upstream may return more.",
+ "properties": {
+ "buy": {
+ "description": "Number of analysts rating \"buy\".",
+ "format": "int64",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "consensus_rating": {
+ "description": "Consensus rating label.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "hold": {
+ "description": "Number of analysts rating \"hold\".",
+ "format": "int64",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "outperform": {
+ "description": "Number of analysts rating \"outperform\".",
+ "format": "int64",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "sell": {
+ "description": "Number of analysts rating \"sell\".",
+ "format": "int64",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "target_price": {
+ "description": "Consensus target price.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "underperform": {
+ "description": "Number of analysts rating \"underperform\".",
+ "format": "int64",
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ }
+ },
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "description": "Returned by `institution_rating`.\n\nThe tool combines two upstream calls into\n`{\"analyst\": {...}, \"instratings\": [...]}`. Only the `analyst` fields are\ndocumented; the `instratings` payload shape is unspecified and left as raw\nJSON. Subset of documented fields; upstream may return more.",
+ "properties": {
+ "analyst": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/InstitutionRatingAnalyst"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Analyst rating consensus summary."
+ },
+ "instratings": {
+ "description": "Per-institution rating list. Shape is unspecified by the tool\ndescription; passed through as raw JSON."
+ }
+ },
+ "title": "InstitutionRatingResponse",
+ "type": "object"
+}