changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "as_of": {
- "$ref": "#a2"
- },
- "billing_notice": {
- "additionalProperties": false,
- "properties": {
- "add_credits_url": {
- "$ref": "#a7"
- },
- "code": {
- "const": "signup_credit_exhausted"
- },
- "message": {
- "$ref": "#a4"
- },
- "plans_url": {
- "$ref": "#a7"
- },
- "remaining_requests": {
- "const": 0
- }
- },
- "required": [
- "code",
- "message",
- "remaining_requests",
- "add_credits_url",
- "plans_url"
- ],
- "type": "object"
- },
- "context": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "artifact_id": {
- "$ref": "#a8"
- },
- "available_at": {
- "$ref": "#a2"
- },
- "content_hash": {
- "type": "string"
- },
- "observed_through": {
- "$ref": "#a2"
- }
- },
- "required": [
- "artifact_id",
- "content_hash",
- "observed_through",
- "available_at"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "data": {
- "items": {
- "anyOf": [
- {
- "additionalProperties": false,
- "allOf": [
- {
- "$ref": "#/$defs/rd"
- }
- ],
- "properties": {
- "available_issuer_selectors": {
- "$ref": "#/$defs/g"
- },
- "coverage": {
- "$ref": "#/$defs/i"
- },
- "family": {
- "const": "short_interest"
- },
- "freshness": {
- "$ref": "#/$defs/h"
- },
- "held_records": {
- "$ref": "#ab"
- },
- "limitations": {
- "$ref": "#ac"
- },
- "matched_records": {
- "$ref": "#ab"
- },
- "omitted_records": {
- "$ref": "#ab"
- },
- "records": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "average_daily_volume": {
- "$ref": "#aa"
- },
- "days_to_cover": {
- "$ref": "#aa"
- },
- "native_details": {
- "$ref": "#/$defs/e"
- },
- "observed_at": {
- "$ref": "#a1"
- },
- "period_end": {
- "$ref": "#a1"
- },
- "record_id": {
- "type": "string"
- },
- "reported_at": {
- "$ref": "#a1"
- },
- "settlement_date": {
- "$ref": "#a1"
- },
- "short_shares": {
- "$ref": "#aa"
- },
- "source_kind": {
- "type": "string"
- },
- "support": {
- "$ref": "#/$defs/d"
- },
- "type": {
- "const": "short_interest"
- }
- },
- "required": [
- "record_id",
- "source_kind",
- "support",
- "observed_at",
- "period_end",
- "reported_at",
- "native_details",
- "type",
- "settlement_date",
- "short_shares",
- "average_daily_volume",
- "days_to_cover"
- ],
- "type": "object"
- },
- "maxItems": 100,
- "type": "array"
- },
- "retained_records": {
- "$ref": "#ab"
- },
- "status": {
- "type": "string"
- }
- }
- },
- {
- "additionalProperties": false,
- "allOf": [
- {
- "$ref": "#/$defs/rd"
- }
- ],
- "properties": {
- "available_issuer_selectors": {
- "$ref": "#/$defs/g"
- },
- "coverage": {
- "$ref": "#/$defs/i"
- },
- "family": {
- "const": "short_volume"
- },
- "freshness": {
- "$ref": "#/$defs/h"
- },
- "held_records": {
- "$ref": "#ab"
- },
- "limitations": {
- "$ref": "#ac"
- },
- "matched_records": {
- "$ref": "#ab"
- },
- "omitted_records": {
- "$ref": "#ab"
- },
- "records": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "native_details": {
- "$ref": "#/$defs/e"
- },
- "observation_date": {
- "$ref": "#a1"
- },
- "observed_at": {
- "$ref": "#a1"
- },
- "period_end": {
- "$ref": "#a1"
- },
- "record_id": {
- "type": "string"
- },
- "reported_at": {
- "$ref": "#a1"
- },
- "short_exempt_volume": {
- "$ref": "#aa"
- },
- "short_volume": {
- "$ref": "#aa"
- },
- "source_kind": {
- "type": "string"
- },
- "support": {
- "$ref": "#/$defs/d"
- },
- "total_volume": {
- "$ref": "#aa"
- },
- "type": {
- "const": "short_volume"
- }
- },
- "required": [
- "record_id",
- "source_kind",
- "support",
- "observed_at",
- "period_end",
- "reported_at",
- "native_details",
- "type",
- "observation_date",
- "short_volume",
- "short_exempt_volume",
- "total_volume"
- ],
- "type": "object"
- },
- "maxItems": 100,
- "type": "array"
- },
- "retained_records": {
- "$ref": "#ab"
- },
- "status": {
- "type": "string"
- }
- }
- }
- ],
- "type": "object"
- },
- "maxItems": 2,
- "type": "array"
- },
- "generated_at": {
- "$ref": "#a2"
- },
- "historical_issuer_ownership_verified": {
- "anyOf": [
- {
- "const": false
- },
- {
- "type": "null"
- }
- ]
- },
- "issuer_refresh": {
- "additionalProperties": false,
- "properties": {
- "backfill_from": {
- "$ref": "#a9"
- },
- "backfill_through": {
- "$ref": "#a9"
- },
- "filing_inventory_verified_at": {
- "$ref": "#a5"
- },
- "held_documents": {
- "$ref": "#a0"
- },
- "history_complete": {
- "type": "boolean"
- },
- "status": {
- "enum": [
- "not_required",
- "queued",
- "unavailable",
- "saved_only"
- ]
- }
- },
- "required": [
- "status",
- "filing_inventory_verified_at",
- "backfill_from",
- "backfill_through",
- "history_complete",
- "held_documents"
- ],
- "type": "object"
- },
- "limitations": {
- "$ref": "#ac"
- },
- "operation": {
- "const": "get_short_activity"
- },
- "pagination": {
- "additionalProperties": false,
- "properties": {
- "filters_sha256": {
- "type": "string"
- },
- "next_cursor": {
- "$ref": "#a1"
- },
- "next_offset": {
- "$ref": "#ab"
- },
- "offset": {
- "$ref": "#a0"
- },
- "returned": {
- "$ref": "#a0"
- },
- "scan_complete": {
- "type": "boolean"
- },
- "scanned_rows": {
- "$ref": "#a0"
- },
- "snapshot_hash": {
- "$ref": "#a1"
- },
- "snapshot_id": {
- "anyOf": [
- {
- "$ref": "#a8"
- },
- {
- "type": "null"
- }
- ]
- },
- "total_matching_records": {
- "$ref": "#ab"
- },
- "total_retained_records": {
- "$ref": "#ab"
- }
- },
- "required": [
- "offset",
- "returned",
- "total_retained_records",
- "total_matching_records",
- "next_offset",
- "snapshot_id",
- "snapshot_hash",
- "filters_sha256"
- ],
- "type": "object"
- },
- "query_binding": {
- "additionalProperties": false,
- "properties": {
- "artifactId": {
- "$ref": "#a8"
- },
- "contentHash": {
- "$ref": "#a3"
- }
- },
- "required": [
- "artifactId",
- "contentHash"
- ],
- "type": "object"
- },
- "resource": {
- "const": "company_dataset"
- },
- "schema_version": {
- "const": "2"
- },
- "snapshot_captured_at": {
- "$ref": "#a5"
- },
- "sources": {
- "items": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "capture_basis": {
- "enum": [
- "http_response_bytes",
- "retained_export",
- "retained_case"
- ]
- },
- "content_hash": {
- "$ref": "#a3"
- },
- "id": {
- "$ref": "#a4"
- },
- "kind": {
- "enum": [
- "sec_disclosure",
- "government_award",
- "issuer_disclosure",
- "research_input"
- ]
- },
- "observed_at": {
- "$ref": "#a2"
- },
- "publication_date": {
- "$ref": "#a9"
- },
- "publication_precision": {
- "enum": [
- "instant",
- "date",
- "unknown"
- ]
- },
- "published_at": {
- "$ref": "#a5"
- },
- "raw_capture_hash": {
- "$ref": "#/$defs/j"
- },
- "representation": {
- "enum": [
- "provider_json",
- "sec_xbrl",
- "visible_text",
- "retained_research_case"
- ]
- },
- "retained_record_hash": {
- "$ref": "#/$defs/j"
- },
- "source_id": {
- "$ref": "#a8"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "$ref": "#a7"
- }
- },
- "required": [
- "id",
- "source_id",
- "kind",
- "title",
- "url",
- "published_at",
- "publication_date",
- "publication_precision",
- "observed_at",
- "content_hash",
- "raw_capture_hash",
- "retained_record_hash",
- "capture_basis",
- "representation"
- ]
- },
- {
- "additionalProperties": false,
- "properties": {
- "calendar_artifact_id": {
- "$ref": "#a8"
- },
- "calendar_content_hash": {
- "$ref": "#a3"
- },
- "content_hash": {
- "$ref": "#a3"
- },
- "id": {
- "type": "string"
- },
- "kind": {
- "const": "stored_market_data"
- },
- "observation_count": {
- "$ref": "#a0"
- },
- "observation_hashes_sha256": {
- "$ref": "#a3"
- },
- "observed_at": {
- "$ref": "#a2"
- },
- "providers": {
- "$ref": "#ac"
- },
- "representation": {
- "const": "reconciled_daily_bars"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "$ref": "#a7"
- }
- },
- "required": [
- "id",
- "kind",
- "title",
- "url",
- "observed_at",
- "content_hash",
- "providers",
- "observation_hashes_sha256",
- "observation_count",
- "calendar_artifact_id",
- "calendar_content_hash",
- "representation"
- ]
- }
- ],
- "type": "object"
- },
- "type": "array"
- },
- "status": {
- "enum": [
- "available",
- "partial",
- "unavailable"
- ]
- },
- "ticker": {
- "type": "string"
- }
- },
- "required": [
- "schema_version",
- "resource",
- "operation",
- "ticker",
- "as_of",
- "generated_at",
- "status",
- "context",
- "snapshot_captured_at",
- "historical_issuer_ownership_verified",
- "data",
- "sources",
- "pagination",
- "limitations"
- ]
- },
- {
- "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": "#a4"
- },
- "recovery": {
- "anyOf": [
- {
- "$ref": "#a4"
- },
- {
- "type": "null"
- }
- ]
- },
- "retryable": {
- "type": "boolean"
- }
- },
- "required": [
- "code",
- "message",
- "recovery",
- "retryable"
- ],
- "type": "object"
- }
- },
- "required": [
- "error"
- ]
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "as_of": {
+ "$ref": "#a2"
+ },
+ "billing_notice": {
+ "additionalProperties": false,
+ "properties": {
+ "add_credits_url": {
+ "$ref": "#a7"
+ },
+ "code": {
+ "const": "signup_credit_exhausted"
+ },
+ "message": {
+ "$ref": "#a4"
+ },
+ "plans_url": {
+ "$ref": "#a7"
+ },
+ "remaining_requests": {
+ "const": 0
+ }
+ },
+ "required": [
+ "code",
+ "message",
+ "remaining_requests",
+ "add_credits_url",
+ "plans_url"
+ ],
+ "type": "object"
+ },
+ "context": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "artifact_id": {
+ "$ref": "#a8"
+ },
+ "available_at": {
+ "$ref": "#a2"
+ },
+ "content_hash": {
+ "type": "string"
+ },
+ "observed_through": {
+ "$ref": "#a2"
+ }
+ },
+ "required": [
+ "artifact_id",
+ "content_hash",
+ "observed_through",
+ "available_at"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "data": {
+ "items": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "allOf": [
+ {
+ "$ref": "#/$defs/rd"
+ }
+ ],
+ "properties": {
+ "available_issuer_selectors": {
+ "$ref": "#/$defs/g"
+ },
+ "coverage": {
+ "$ref": "#/$defs/i"
+ },
+ "family": {
+ "const": "short_interest"
+ },
+ "freshness": {
+ "$ref": "#/$defs/h"
+ },
+ "held_records": {
+ "$ref": "#ab"
+ },
+ "limitations": {
+ "$ref": "#ac"
+ },
+ "matched_records": {
+ "$ref": "#ab"
+ },
+ "omitted_records": {
+ "$ref": "#ab"
+ },
+ "records": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "average_daily_volume": {
+ "$ref": "#aa"
+ },
+ "days_to_cover": {
+ "$ref": "#aa"
+ },
+ "native_details": {
+ "$ref": "#/$defs/e"
+ },
+ "observed_at": {
+ "$ref": "#a1"
+ },
+ "period_end": {
+ "$ref": "#a1"
+ },
+ "record_id": {
+ "type": "string"
+ },
+ "reported_at": {
+ "$ref": "#a1"
+ },
+ "settlement_date": {
+ "$ref": "#a1"
+ },
+ "short_shares": {
+ "$ref": "#aa"
+ },
+ "source_kind": {
+ "type": "string"
+ },
+ "support": {
+ "$ref": "#/$defs/d"
+ },
+ "type": {
+ "const": "short_interest"
+ }
+ },
+ "required": [
+ "record_id",
+ "source_kind",
+ "support",
+ "observed_at",
+ "period_end",
+ "reported_at",
+ "native_details",
+ "type",
+ "settlement_date",
+ "short_shares",
+ "average_daily_volume",
+ "days_to_cover"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "retained_records": {
+ "$ref": "#ab"
+ },
+ "status": {
+ "type": "string"
+ }
+ }
+ },
+ {
+ "additionalProperties": false,
+ "allOf": [
+ {
+ "$ref": "#/$defs/rd"
+ }
+ ],
+ "properties": {
+ "available_issuer_selectors": {
+ "$ref": "#/$defs/g"
+ },
+ "coverage": {
+ "$ref": "#/$defs/i"
+ },
+ "family": {
+ "const": "short_volume"
+ },
+ "freshness": {
+ "$ref": "#/$defs/h"
+ },
+ "held_records": {
+ "$ref": "#ab"
+ },
+ "limitations": {
+ "$ref": "#ac"
+ },
+ "matched_records": {
+ "$ref": "#ab"
+ },
+ "omitted_records": {
+ "$ref": "#ab"
+ },
+ "records": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "native_details": {
+ "$ref": "#/$defs/e"
+ },
+ "observation_date": {
+ "$ref": "#a1"
+ },
+ "observed_at": {
+ "$ref": "#a1"
+ },
+ "period_end": {
+ "$ref": "#a1"
+ },
+ "record_id": {
+ "type": "string"
+ },
+ "reported_at": {
+ "$ref": "#a1"
+ },
+ "short_exempt_volume": {
+ "$ref": "#aa"
+ },
+ "short_volume": {
+ "$ref": "#aa"
+ },
+ "source_kind": {
+ "type": "string"
+ },
+ "support": {
+ "$ref": "#/$defs/d"
+ },
+ "total_volume": {
+ "$ref": "#aa"
+ },
+ "type": {
+ "const": "short_volume"
+ }
+ },
+ "required": [
+ "record_id",
+ "source_kind",
+ "support",
+ "observed_at",
+ "period_end",
+ "reported_at",
+ "native_details",
+ "type",
+ "observation_date",
+ "short_volume",
+ "short_exempt_volume",
+ "total_volume"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "retained_records": {
+ "$ref": "#ab"
+ },
+ "status": {
+ "type": "string"
+ }
+ }
+ }
+ ],
+ "type": "object"
+ },
+ "maxItems": 2,
+ "type": "array"
+ },
+ "generated_at": {
+ "$ref": "#a2"
+ },
+ "historical_issuer_ownership_verified": {
+ "anyOf": [
+ {
+ "const": false
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "issuer_refresh": {
+ "additionalProperties": false,
+ "properties": {
+ "backfill_from": {
+ "$ref": "#a9"
+ },
+ "backfill_through": {
+ "$ref": "#a9"
+ },
+ "filing_inventory_verified_at": {
+ "$ref": "#a5"
+ },
+ "held_documents": {
+ "$ref": "#a0"
+ },
+ "history_complete": {
+ "type": "boolean"
+ },
+ "status": {
+ "enum": [
+ "not_required",
+ "queued",
+ "unavailable",
+ "saved_only"
+ ]
+ }
+ },
+ "required": [
+ "status",
+ "filing_inventory_verified_at",
+ "backfill_from",
+ "backfill_through",
+ "history_complete",
+ "held_documents"
+ ],
+ "type": "object"
+ },
+ "limitations": {
+ "$ref": "#ac"
+ },
+ "operation": {
+ "const": "get_short_activity"
+ },
+ "pagination": {
+ "additionalProperties": false,
+ "properties": {
+ "filters_sha256": {
+ "type": "string"
+ },
+ "next_cursor": {
+ "$ref": "#a1"
+ },
+ "next_offset": {
+ "$ref": "#ab"
+ },
+ "offset": {
+ "$ref": "#a0"
+ },
+ "returned": {
+ "$ref": "#a0"
+ },
+ "scan_complete": {
+ "type": "boolean"
+ },
+ "scanned_rows": {
+ "$ref": "#a0"
+ },
+ "snapshot_hash": {
+ "$ref": "#a1"
+ },
+ "snapshot_id": {
+ "anyOf": [
+ {
+ "$ref": "#a8"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "total_matching_records": {
+ "$ref": "#ab"
+ },
+ "total_retained_records": {
+ "$ref": "#ab"
+ }
+ },
+ "required": [
+ "offset",
+ "returned",
+ "total_retained_records",
+ "total_matching_records",
+ "next_offset",
+ "snapshot_id",
+ "snapshot_hash",
+ "filters_sha256"
+ ],
+ "type": "object"
+ },
+ "query_binding": {
+ "additionalProperties": false,
+ "properties": {
+ "artifactId": {
+ "$ref": "#a8"
+ },
+ "contentHash": {
+ "$ref": "#a3"
+ }
+ },
+ "required": [
+ "artifactId",
+ "contentHash"
+ ],
+ "type": "object"
+ },
+ "resource": {
+ "const": "company_dataset"
+ },
+ "schema_version": {
+ "const": "2"
+ },
+ "snapshot_captured_at": {
+ "$ref": "#a5"
+ },
+ "sources": {
+ "items": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "capture_basis": {
+ "enum": [
+ "http_response_bytes",
+ "retained_export",
+ "retained_case"
+ ]
+ },
+ "content_hash": {
+ "$ref": "#a3"
+ },
+ "id": {
+ "$ref": "#a4"
+ },
+ "kind": {
+ "enum": [
+ "sec_disclosure",
+ "government_award",
+ "issuer_disclosure",
+ "research_input"
+ ]
+ },
+ "observed_at": {
+ "$ref": "#a2"
+ },
+ "publication_date": {
+ "$ref": "#a9"
+ },
+ "publication_precision": {
+ "enum": [
+ "instant",
+ "date",
+ "unknown"
+ ]
+ },
+ "published_at": {
+ "$ref": "#a5"
+ },
+ "raw_capture_hash": {
+ "$ref": "#/$defs/j"
+ },
+ "representation": {
+ "enum": [
+ "provider_json",
+ "sec_xbrl",
+ "visible_text",
+ "retained_research_case"
+ ]
+ },
+ "retained_record_hash": {
+ "$ref": "#/$defs/j"
+ },
+ "source_id": {
+ "$ref": "#a8"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "$ref": "#a7"
+ }
+ },
+ "required": [
+ "id",
+ "source_id",
+ "kind",
+ "title",
+ "url",
+ "published_at",
+ "publication_date",
+ "publication_precision",
+ "observed_at",
+ "content_hash",
+ "raw_capture_hash",
+ "retained_record_hash",
+ "capture_basis",
+ "representation"
+ ]
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "calendar_artifact_id": {
+ "$ref": "#a8"
+ },
+ "calendar_content_hash": {
+ "$ref": "#a3"
+ },
+ "content_hash": {
+ "$ref": "#a3"
+ },
+ "id": {
+ "type": "string"
+ },
+ "kind": {
+ "const": "stored_market_data"
+ },
+ "observation_count": {
+ "$ref": "#a0"
+ },
+ "observation_hashes_sha256": {
+ "$ref": "#a3"
+ },
+ "observed_at": {
+ "$ref": "#a2"
+ },
+ "providers": {
+ "$ref": "#ac"
+ },
+ "representation": {
+ "const": "reconciled_daily_bars"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "$ref": "#a7"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "title",
+ "url",
+ "observed_at",
+ "content_hash",
+ "observation_hashes_sha256",
+ "observation_count",
+ "calendar_artifact_id",
+ "calendar_content_hash",
+ "representation"
+ ]
+ }
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "available",
+ "partial",
+ "unavailable"
+ ]
+ },
+ "ticker": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "schema_version",
+ "resource",
+ "operation",
+ "ticker",
+ "as_of",
+ "generated_at",
+ "status",
+ "context",
+ "snapshot_captured_at",
+ "historical_issuer_ownership_verified",
+ "data",
+ "sources",
+ "pagination",
+ "limitations"
+ ]
+ },
+ {
+ "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": "#a4"
+ },
+ "recovery": {
+ "anyOf": [
+ {
+ "$ref": "#a4"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "retryable": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "code",
+ "message",
+ "recovery",
+ "retryable"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "error"
+ ]
+ }
+]