changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "IndustryPeersNode": {
+ "description": "One node in `industry_peers`' `chain` tree. Self-referential via `next`.\n\nSubset of documented fields; upstream may return more.",
+ "properties": {
+ "chg": {
+ "description": "Daily change.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "counter_id": {
+ "description": "Node identifier (transformed from `counter_id`).",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "description": "Node name.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "next": {
+ "description": "Child sub-sector nodes.",
+ "items": {
+ "$ref": "#/$defs/IndustryPeersNode"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "stock_num": {
+ "description": "Number of stocks in this sub-sector.",
+ "format": "int64",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "ytd_chg": {
+ "description": "Year-to-date change.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "IndustryPeersTop": {
+ "description": "`top` block of `industry_peers`.\n\nSubset of documented fields; upstream may return more.",
+ "properties": {
+ "market": {
+ "description": "Market code.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "description": "Industry group name.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ }
+ },
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "description": "Returned by `industry_peers`. A hierarchical sub-sector tree (`chain`) plus\nthe originating industry group (`top`).\n\nSubset of documented fields; upstream may return more.",
+ "properties": {
+ "chain": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/IndustryPeersNode"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Root node of the sub-sector tree."
+ },
+ "top": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/IndustryPeersTop"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The originating industry group."
+ }
+ },
+ "title": "IndustryPeersResponse",
+ "type": "object"
+}