changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "as_of": {
- "$ref": "#a3"
- },
- "coverage": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "belief_count": {
- "$ref": "#/$defs/5"
- },
- "first_belief_observed_at": {
- "$ref": "#a3"
- },
- "investor_count": {
- "$ref": "#/$defs/5"
- },
- "latest_belief_observed_at": {
- "$ref": "#a3"
- },
- "release_effective_at": {
- "$ref": "#a3"
- },
- "release_state": {
- "const": "released"
- },
- "security_id": {
- "$ref": "#a0"
- },
- "security_name": {
- "$ref": "#a0"
- },
- "ticker": {
- "$ref": "#a0"
- }
- },
- "required": [
- "ticker",
- "security_id",
- "security_name",
- "release_state",
- "release_effective_at",
- "belief_count",
- "investor_count",
- "first_belief_observed_at",
- "latest_belief_observed_at"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "coverage_scope": {
- "enum": [
- "released_library",
- "query_matches"
- ]
- },
- "discovery": {
- "additionalProperties": false,
- "properties": {
- "query": {
- "type": "string"
- },
- "results": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "cik": {
- "type": "number"
- },
- "direct_research": {
- "type": "boolean"
- },
- "exchange": {
- "type": [
- "string",
- "null"
- ]
- },
- "name": {
- "type": "string"
- },
- "ticker": {
- "type": "string"
- }
- },
- "required": [
- "ticker",
- "name",
- "exchange",
- "cik",
- "direct_research"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "scope": {
- "const": "sec_registered_us_listings"
- },
- "source_url": {
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "query",
- "scope",
- "source_url",
- "results"
- ],
- "type": "object"
- },
- "fund_discovery": {
- "additionalProperties": false,
- "properties": {
- "limitation": {
- "type": "string"
- },
- "query": {
- "type": "string"
- },
- "results": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "name": {
- "type": "string"
- },
- "research_tool": {
- "const": "get_brief"
- },
- "source_url": {
- "format": "uri",
- "type": "string"
- },
- "ticker": {
- "type": "string"
- }
- },
- "required": [
- "ticker",
- "name",
- "source_url",
- "research_tool"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "scope": {
- "const": "fund_identity"
- }
- },
- "required": [
- "query",
- "scope",
- "results",
- "limitation"
- ],
- "type": "object"
- },
- "generated_at": {
- "$ref": "#a3"
- },
- "limitations": {
- "$ref": "#/$defs/4"
- },
- "listing_references": {
- "additionalProperties": false,
- "properties": {
- "query": {
- "type": "string"
- },
- "results": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "country": {
- "maxLength": 2,
- "minLength": 2,
- "type": "string"
- },
- "currency": {
- "maxLength": 3,
- "minLength": 3,
- "type": "string"
- },
- "exchange": {
- "maxLength": 4,
- "minLength": 4,
- "type": "string"
- },
- "instrument": {
- "enum": [
- "ordinary_share",
- "depositary_share"
- ]
- },
- "isin": {
- "maxLength": 12,
- "minLength": 12,
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "selector": {
- "type": "string"
- },
- "source_url": {
- "format": "uri",
- "type": "string"
- },
- "ticker": {
- "type": "string"
- }
- },
- "required": [
- "selector",
- "ticker",
- "exchange",
- "country",
- "currency",
- "isin",
- "name",
- "instrument",
- "source_url"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "scope": {
- "const": "venue_qualified_pilot"
- }
- },
- "required": [
- "query",
- "scope",
- "results"
- ],
- "type": "object"
- },
- "resource": {
- "const": "beliefs"
- },
- "schema_version": {
- "const": "1"
- },
- "tickers": {
- "$ref": "#/$defs/4"
- },
- "totals": {
- "additionalProperties": false,
- "properties": {
- "belief_count": {
- "$ref": "#a1"
- },
- "ticker_count": {
- "$ref": "#a1"
- }
- },
- "required": [
- "ticker_count",
- "belief_count"
- ],
- "type": "object"
- },
- "tracking": {
- "additionalProperties": false,
- "properties": {
- "active": {
- "$ref": "#a1"
- },
- "limit": {
- "$ref": "#a1"
- },
- "manage_url": {
- "type": "string"
- },
- "paused": {
- "$ref": "#a2"
- },
- "related_or_pending": {
- "$ref": "#a2"
- },
- "unavailable": {
- "$ref": "#a2"
- }
- },
- "required": [
- "limit",
- "active",
- "paused",
- "unavailable",
- "manage_url"
- ],
- "type": "object"
- }
- },
- "required": [
- "schema_version",
- "generated_at",
- "as_of",
- "resource",
- "tickers",
- "totals",
- "coverage"
- ]
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "enum": [
- "unauthorized",
- "invalid_input",
- "entity_not_found",
- "entity_ambiguous",
- "outside_entitlement",
- "rate_limited",
- "data_unavailable",
- "insufficient_sample",
- "unsupported_security",
- "duplicate_request"
- ]
- },
- "message": {
- "$ref": "#a0"
- },
- "recovery": {
- "anyOf": [
- {
- "$ref": "#a0"
- },
- {
- "type": "null"
- }
- ]
- },
- "retryable": {
- "type": "boolean"
- }
- },
- "required": [
- "code",
- "message",
- "recovery",
- "retryable"
- ],
- "type": "object"
- }
- },
- "required": [
- "error"
- ]
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "as_of": {
+ "$ref": "#a3"
+ },
+ "coverage": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "belief_count": {
+ "$ref": "#/$defs/5"
+ },
+ "first_belief_observed_at": {
+ "$ref": "#a3"
+ },
+ "investor_count": {
+ "$ref": "#/$defs/5"
+ },
+ "latest_belief_observed_at": {
+ "$ref": "#a3"
+ },
+ "release_effective_at": {
+ "$ref": "#a3"
+ },
+ "release_state": {
+ "const": "released"
+ },
+ "security_id": {
+ "$ref": "#a0"
+ },
+ "security_name": {
+ "$ref": "#a0"
+ },
+ "ticker": {
+ "$ref": "#a0"
+ }
+ },
+ "required": [
+ "ticker",
+ "security_id",
+ "security_name",
+ "release_state",
+ "release_effective_at",
+ "belief_count",
+ "investor_count",
+ "first_belief_observed_at",
+ "latest_belief_observed_at"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "coverage_scope": {
+ "enum": [
+ "released_library",
+ "query_matches"
+ ]
+ },
+ "discovery": {
+ "additionalProperties": false,
+ "properties": {
+ "query": {
+ "type": "string"
+ },
+ "results": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "cik": {
+ "type": "number"
+ },
+ "direct_research": {
+ "type": "boolean"
+ },
+ "exchange": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "ticker": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "ticker",
+ "name",
+ "exchange",
+ "cik",
+ "direct_research"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "scope": {
+ "const": "sec_registered_us_listings"
+ },
+ "source_url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "query",
+ "scope",
+ "source_url",
+ "results"
+ ],
+ "type": "object"
+ },
+ "fund_discovery": {
+ "additionalProperties": false,
+ "properties": {
+ "limitation": {
+ "type": "string"
+ },
+ "query": {
+ "type": "string"
+ },
+ "results": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "research_tool": {
+ "const": "get_brief"
+ },
+ "source_url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "ticker": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "ticker",
+ "name",
+ "source_url",
+ "research_tool"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "scope": {
+ "const": "fund_identity"
+ }
+ },
+ "required": [
+ "query",
+ "scope",
+ "results",
+ "limitation"
+ ],
+ "type": "object"
+ },
+ "generated_at": {
+ "$ref": "#a3"
+ },
+ "limitations": {
+ "$ref": "#/$defs/4"
+ },
+ "listing_references": {
+ "additionalProperties": false,
+ "properties": {
+ "query": {
+ "type": "string"
+ },
+ "results": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "country": {
+ "maxLength": 2,
+ "minLength": 2,
+ "type": "string"
+ },
+ "currency": {
+ "maxLength": 3,
+ "minLength": 3,
+ "type": "string"
+ },
+ "exchange": {
+ "maxLength": 4,
+ "minLength": 4,
+ "type": "string"
+ },
+ "instrument": {
+ "enum": [
+ "ordinary_share",
+ "depositary_share",
+ "preferred_share"
+ ]
+ },
+ "isin": {
+ "maxLength": 12,
+ "minLength": 12,
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "selector": {
+ "type": "string"
+ },
+ "source_url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "ticker": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "selector",
+ "ticker",
+ "exchange",
+ "country",
+ "currency",
+ "isin",
+ "name",
+ "instrument",
+ "source_url"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "scope": {
+ "const": "venue_qualified_pilot"
+ }
+ },
+ "required": [
+ "query",
+ "scope",
+ "results"
+ ],
+ "type": "object"
+ },
+ "resource": {
+ "const": "beliefs"
+ },
+ "schema_version": {
+ "const": "1"
+ },
+ "tickers": {
+ "$ref": "#/$defs/4"
+ },
+ "totals": {
+ "additionalProperties": false,
+ "properties": {
+ "belief_count": {
+ "$ref": "#a1"
+ },
+ "ticker_count": {
+ "$ref": "#a1"
+ }
+ },
+ "required": [
+ "ticker_count",
+ "belief_count"
+ ],
+ "type": "object"
+ },
+ "tracking": {
+ "additionalProperties": false,
+ "properties": {
+ "active": {
+ "$ref": "#a1"
+ },
+ "limit": {
+ "$ref": "#a1"
+ },
+ "manage_url": {
+ "type": "string"
+ },
+ "paused": {
+ "$ref": "#a2"
+ },
+ "related_or_pending": {
+ "$ref": "#a2"
+ },
+ "unavailable": {
+ "$ref": "#a2"
+ }
+ },
+ "required": [
+ "limit",
+ "active",
+ "paused",
+ "unavailable",
+ "manage_url"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "schema_version",
+ "generated_at",
+ "as_of",
+ "resource",
+ "tickers",
+ "totals",
+ "coverage"
+ ]
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "enum": [
+ "unauthorized",
+ "invalid_input",
+ "entity_not_found",
+ "entity_ambiguous",
+ "outside_entitlement",
+ "rate_limited",
+ "data_unavailable",
+ "insufficient_sample",
+ "unsupported_security",
+ "duplicate_request"
+ ]
+ },
+ "message": {
+ "$ref": "#a0"
+ },
+ "recovery": {
+ "anyOf": [
+ {
+ "$ref": "#a0"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "retryable": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "code",
+ "message",
+ "recovery",
+ "retryable"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "error"
+ ]
+ }
+]