changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "as_of": {
- "$ref": "#a1"
- },
- "billing_notice": {
- "additionalProperties": false,
- "properties": {
- "add_credits_url": {
- "$ref": "#a5"
- },
- "code": {
- "const": "signup_credit_exhausted"
- },
- "message": {
- "$ref": "#a4"
- },
- "plans_url": {
- "$ref": "#a5"
- },
- "remaining_requests": {
- "const": 0
- }
- },
- "required": [
- "code",
- "message",
- "remaining_requests",
- "add_credits_url",
- "plans_url"
- ],
- "type": "object"
- },
- "context": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "artifact_id": {
- "$ref": "#a6"
- },
- "available_at": {
- "$ref": "#a1"
- },
- "content_hash": {
- "type": "string"
- },
- "observed_through": {
- "$ref": "#a1"
- }
- },
- "required": [
- "artifact_id",
- "content_hash",
- "observed_through",
- "available_at"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "data": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "available_issuer_selectors": {
- "additionalProperties": false,
- "properties": {
- "dimensions": {
- "$ref": "#/$defs/d"
- },
- "fiscal_years": {
- "items": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "maxItems": 100,
- "type": "array"
- },
- "metrics": {
- "$ref": "#/$defs/d"
- },
- "scope": {
- "const": "retained_issuer_observations"
- },
- "truncated": {
- "type": "boolean"
- }
- },
- "required": [
- "metrics",
- "dimensions",
- "fiscal_years",
- "scope",
- "truncated"
- ],
- "type": "object"
- },
- "coverage": {
- "enum": [
- "complete_for_retained_scope",
- "partial_archive_scan",
- "bounded_snapshot",
- "unavailable"
- ]
- },
- "family": {
- "const": "institutional_holdings"
- },
- "freshness": {
- "additionalProperties": false,
- "properties": {
- "age_seconds": {
- "$ref": "#aa"
- },
- "capture_age_seconds": {
- "$ref": "#aa"
- },
- "evaluated_at": {
- "$ref": "#a1"
- },
- "latest_record_at": {
- "$ref": "#a2"
- },
- "max_snapshot_age_seconds": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "publication_cadence_verified": {
- "const": false
- },
- "refresh_status": {
- "enum": [
- "not_required",
- "historical_no_refresh",
- "newer_admission_unverified",
- "source_clock_unknown"
- ]
- },
- "source_captured_at": {
- "$ref": "#a7"
- },
- "source_verified_at": {
- "$ref": "#a7"
- },
- "status": {
- "enum": [
- "fresh",
- "stale",
- "unknown",
- "historical"
- ]
- },
- "verification_age_seconds": {
- "$ref": "#aa"
- },
- "verification_scope": {
- "const": "filing_inventory"
- }
- },
- "required": [
- "status",
- "evaluated_at",
- "source_captured_at",
- "age_seconds",
- "max_snapshot_age_seconds",
- "latest_record_at",
- "publication_cadence_verified",
- "refresh_status"
- ],
- "type": "object"
- },
- "held_records": {
- "$ref": "#a9"
- },
- "limitations": {
- "$ref": "#ab"
- },
- "matched_records": {
- "$ref": "#a9"
- },
- "omitted_records": {
- "$ref": "#a9"
- },
- "records": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "accession": {
- "$ref": "#a2"
- },
- "amendment_type": {
- "$ref": "#a2"
- },
- "cusip": {
- "$ref": "#a2"
- },
- "figi": {
- "$ref": "#a2"
- },
- "filing_date": {
- "$ref": "#a2"
- },
- "is_amendment": {
- "$ref": "#a2"
- },
- "manager_cik": {
- "$ref": "#a2"
- },
- "manager_name": {
- "$ref": "#a2"
- },
- "native_details": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "attributes": {
- "additionalProperties": {
- "$ref": "#a2"
- },
- "type": "object"
- },
- "clocks": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "name": {
- "$ref": "#a4"
- },
- "precision": {
- "enum": [
- "instant",
- "date",
- "period",
- "unknown"
- ]
- },
- "role": {
- "enum": [
- "period",
- "event",
- "report",
- "expiration",
- "scheduled",
- "observation"
- ]
- },
- "value": {
- "$ref": "#a2"
- }
- },
- "required": [
- "name",
- "role",
- "value",
- "precision"
- ],
- "type": "object"
- },
- "maxItems": 8,
- "type": "array"
- },
- "measurements": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "name": {
- "$ref": "#a4"
- },
- "unit": {
- "$ref": "#a2"
- },
- "value": {
- "type": [
- "string",
- "number",
- "null"
- ]
- }
- },
- "required": [
- "name",
- "value",
- "unit"
- ],
- "type": "object"
- },
- "maxItems": 128,
- "type": "array"
- }
- },
- "required": [
- "attributes",
- "measurements",
- "clocks"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "observed_at": {
- "$ref": "#a2"
- },
- "period_end": {
- "$ref": "#a2"
- },
- "position": {
- "$ref": "#/$defs/c"
- },
- "put_call": {
- "$ref": "#a2"
- },
- "record_id": {
- "type": "string"
- },
- "report_period": {
- "$ref": "#a2"
- },
- "reported_at": {
- "$ref": "#a2"
- },
- "reported_value": {
- "$ref": "#/$defs/c"
- },
- "share_class": {
- "$ref": "#a2"
- },
- "source_kind": {
- "type": "string"
- },
- "support": {
- "additionalProperties": false,
- "properties": {
- "content_hash": {
- "$ref": "#a3"
- },
- "document_id": {
- "type": "string"
- },
- "json_pointer": {
- "$ref": "#a2"
- },
- "text_span": {
- "additionalProperties": false,
- "properties": {
- "end": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "start": {
- "$ref": "#a0"
- }
- },
- "required": [
- "start",
- "end"
- ],
- "type": "object"
- }
- },
- "required": [
- "document_id",
- "content_hash",
- "json_pointer"
- ],
- "type": "object"
- },
- "type": {
- "const": "institutional_holding"
- },
- "value_scale": {
- "$ref": "#a2"
- }
- },
- "required": [
- "record_id",
- "source_kind",
- "support",
- "observed_at",
- "period_end",
- "reported_at",
- "native_details",
- "type",
- "manager_cik",
- "manager_name",
- "accession",
- "report_period",
- "filing_date",
- "cusip",
- "figi",
- "share_class",
- "put_call",
- "position",
- "reported_value",
- "value_scale",
- "is_amendment",
- "amendment_type"
- ],
- "type": "object"
- },
- "maxItems": 100,
- "type": "array"
- },
- "retained_records": {
- "$ref": "#a9"
- },
- "status": {
- "type": "string"
- }
- },
- "required": [
- "family",
- "status",
- "records",
- "retained_records",
- "matched_records",
- "omitted_records",
- "held_records",
- "freshness",
- "coverage",
- "limitations"
- ],
- "type": "object"
- },
- "maxItems": 1,
- "type": "array"
- },
- "generated_at": {
- "$ref": "#a1"
- },
- "historical_issuer_ownership_verified": {
- "anyOf": [
- {
- "const": false
- },
- {
- "type": "null"
- }
- ]
- },
- "issuer_refresh": {
- "additionalProperties": false,
- "properties": {
- "backfill_from": {
- "$ref": "#a8"
- },
- "backfill_through": {
- "$ref": "#a8"
- },
- "filing_inventory_verified_at": {
- "$ref": "#a7"
- },
- "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": "#ab"
- },
- "operation": {
- "const": "get_institutional_holdings"
- },
- "pagination": {
- "additionalProperties": false,
- "properties": {
- "filters_sha256": {
- "type": "string"
- },
- "next_cursor": {
- "$ref": "#a2"
- },
- "next_offset": {
- "$ref": "#a9"
- },
- "offset": {
- "$ref": "#a0"
- },
- "returned": {
- "$ref": "#a0"
- },
- "scan_complete": {
- "type": "boolean"
- },
- "scanned_rows": {
- "$ref": "#a0"
- },
- "snapshot_hash": {
- "$ref": "#a2"
- },
- "snapshot_id": {
- "anyOf": [
- {
- "$ref": "#a6"
- },
- {
- "type": "null"
- }
- ]
- },
- "total_matching_records": {
- "$ref": "#a9"
- },
- "total_retained_records": {
- "$ref": "#a9"
- }
- },
- "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": "#a6"
- },
- "contentHash": {
- "$ref": "#a3"
- }
- },
- "required": [
- "artifactId",
- "contentHash"
- ],
- "type": "object"
- },
- "resource": {
- "const": "company_dataset"
- },
- "schema_version": {
- "const": "2"
- },
- "snapshot_captured_at": {
- "$ref": "#a7"
- },
- "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": "#a1"
- },
- "publication_date": {
- "$ref": "#a8"
- },
- "publication_precision": {
- "enum": [
- "instant",
- "date",
- "unknown"
- ]
- },
- "published_at": {
- "$ref": "#a7"
- },
- "raw_capture_hash": {
- "$ref": "#/$defs/e"
- },
- "representation": {
- "enum": [
- "provider_json",
- "sec_xbrl",
- "visible_text",
- "retained_research_case"
- ]
- },
- "retained_record_hash": {
- "$ref": "#/$defs/e"
- },
- "source_id": {
- "$ref": "#a6"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "$ref": "#a5"
- }
- },
- "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": "#a6"
- },
- "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": "#a1"
- },
- "providers": {
- "$ref": "#ab"
- },
- "representation": {
- "const": "reconciled_daily_bars"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "$ref": "#a5"
- }
- },
- "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": "#a1"
+ },
+ "billing_notice": {
+ "additionalProperties": false,
+ "properties": {
+ "add_credits_url": {
+ "$ref": "#a5"
+ },
+ "code": {
+ "const": "signup_credit_exhausted"
+ },
+ "message": {
+ "$ref": "#a4"
+ },
+ "plans_url": {
+ "$ref": "#a5"
+ },
+ "remaining_requests": {
+ "const": 0
+ }
+ },
+ "required": [
+ "code",
+ "message",
+ "remaining_requests",
+ "add_credits_url",
+ "plans_url"
+ ],
+ "type": "object"
+ },
+ "context": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "artifact_id": {
+ "$ref": "#a6"
+ },
+ "available_at": {
+ "$ref": "#a1"
+ },
+ "content_hash": {
+ "type": "string"
+ },
+ "observed_through": {
+ "$ref": "#a1"
+ }
+ },
+ "required": [
+ "artifact_id",
+ "content_hash",
+ "observed_through",
+ "available_at"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "data": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "available_issuer_selectors": {
+ "additionalProperties": false,
+ "properties": {
+ "dimensions": {
+ "$ref": "#/$defs/d"
+ },
+ "fiscal_years": {
+ "items": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "metrics": {
+ "$ref": "#/$defs/d"
+ },
+ "scope": {
+ "const": "retained_issuer_observations"
+ },
+ "truncated": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "metrics",
+ "dimensions",
+ "fiscal_years",
+ "scope",
+ "truncated"
+ ],
+ "type": "object"
+ },
+ "coverage": {
+ "enum": [
+ "complete_for_retained_scope",
+ "partial_archive_scan",
+ "bounded_snapshot",
+ "unavailable"
+ ]
+ },
+ "family": {
+ "const": "institutional_holdings"
+ },
+ "freshness": {
+ "additionalProperties": false,
+ "properties": {
+ "age_seconds": {
+ "$ref": "#aa"
+ },
+ "capture_age_seconds": {
+ "$ref": "#aa"
+ },
+ "evaluated_at": {
+ "$ref": "#a1"
+ },
+ "latest_record_at": {
+ "$ref": "#a2"
+ },
+ "max_snapshot_age_seconds": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "publication_cadence_verified": {
+ "const": false
+ },
+ "refresh_status": {
+ "enum": [
+ "not_required",
+ "historical_no_refresh",
+ "newer_admission_unverified",
+ "source_clock_unknown"
+ ]
+ },
+ "source_captured_at": {
+ "$ref": "#a7"
+ },
+ "source_verified_at": {
+ "$ref": "#a7"
+ },
+ "status": {
+ "enum": [
+ "fresh",
+ "stale",
+ "unknown",
+ "historical"
+ ]
+ },
+ "verification_age_seconds": {
+ "$ref": "#aa"
+ },
+ "verification_scope": {
+ "const": "filing_inventory"
+ }
+ },
+ "required": [
+ "status",
+ "evaluated_at",
+ "source_captured_at",
+ "age_seconds",
+ "max_snapshot_age_seconds",
+ "latest_record_at",
+ "publication_cadence_verified",
+ "refresh_status"
+ ],
+ "type": "object"
+ },
+ "held_records": {
+ "$ref": "#a9"
+ },
+ "limitations": {
+ "$ref": "#ab"
+ },
+ "matched_records": {
+ "$ref": "#a9"
+ },
+ "omitted_records": {
+ "$ref": "#a9"
+ },
+ "records": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "accession": {
+ "$ref": "#a2"
+ },
+ "amendment_type": {
+ "$ref": "#a2"
+ },
+ "cusip": {
+ "$ref": "#a2"
+ },
+ "figi": {
+ "$ref": "#a2"
+ },
+ "filing_date": {
+ "$ref": "#a2"
+ },
+ "is_amendment": {
+ "$ref": "#a2"
+ },
+ "manager_cik": {
+ "$ref": "#a2"
+ },
+ "manager_name": {
+ "$ref": "#a2"
+ },
+ "native_details": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "attributes": {
+ "additionalProperties": {
+ "$ref": "#a2"
+ },
+ "type": "object"
+ },
+ "clocks": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "$ref": "#a4"
+ },
+ "precision": {
+ "enum": [
+ "instant",
+ "date",
+ "period",
+ "unknown"
+ ]
+ },
+ "role": {
+ "enum": [
+ "period",
+ "event",
+ "report",
+ "expiration",
+ "scheduled",
+ "observation"
+ ]
+ },
+ "value": {
+ "$ref": "#a2"
+ }
+ },
+ "required": [
+ "name",
+ "role",
+ "value",
+ "precision"
+ ],
+ "type": "object"
+ },
+ "maxItems": 8,
+ "type": "array"
+ },
+ "measurements": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "$ref": "#a4"
+ },
+ "unit": {
+ "$ref": "#a2"
+ },
+ "value": {
+ "type": [
+ "string",
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "name",
+ "value",
+ "unit"
+ ],
+ "type": "object"
+ },
+ "maxItems": 128,
+ "type": "array"
+ }
+ },
+ "required": [
+ "attributes",
+ "measurements",
+ "clocks"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "observed_at": {
+ "$ref": "#a2"
+ },
+ "period_end": {
+ "$ref": "#a2"
+ },
+ "position": {
+ "$ref": "#/$defs/c"
+ },
+ "put_call": {
+ "$ref": "#a2"
+ },
+ "record_id": {
+ "type": "string"
+ },
+ "report_period": {
+ "$ref": "#a2"
+ },
+ "reported_at": {
+ "$ref": "#a2"
+ },
+ "reported_value": {
+ "$ref": "#/$defs/c"
+ },
+ "share_class": {
+ "$ref": "#a2"
+ },
+ "source_kind": {
+ "type": "string"
+ },
+ "support": {
+ "additionalProperties": false,
+ "properties": {
+ "content_hash": {
+ "$ref": "#a3"
+ },
+ "document_id": {
+ "type": "string"
+ },
+ "json_pointer": {
+ "$ref": "#a2"
+ },
+ "text_span": {
+ "additionalProperties": false,
+ "properties": {
+ "end": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "start": {
+ "$ref": "#a0"
+ }
+ },
+ "required": [
+ "start",
+ "end"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "document_id",
+ "content_hash",
+ "json_pointer"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "institutional_holding"
+ },
+ "value_scale": {
+ "$ref": "#a2"
+ }
+ },
+ "required": [
+ "record_id",
+ "source_kind",
+ "support",
+ "observed_at",
+ "period_end",
+ "reported_at",
+ "native_details",
+ "type",
+ "manager_cik",
+ "manager_name",
+ "accession",
+ "report_period",
+ "filing_date",
+ "cusip",
+ "figi",
+ "share_class",
+ "put_call",
+ "position",
+ "reported_value",
+ "value_scale",
+ "is_amendment",
+ "amendment_type"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "type": "array"
+ },
+ "retained_records": {
+ "$ref": "#a9"
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "family",
+ "status",
+ "records",
+ "retained_records",
+ "matched_records",
+ "omitted_records",
+ "held_records",
+ "freshness",
+ "coverage",
+ "limitations"
+ ],
+ "type": "object"
+ },
+ "maxItems": 1,
+ "type": "array"
+ },
+ "generated_at": {
+ "$ref": "#a1"
+ },
+ "historical_issuer_ownership_verified": {
+ "anyOf": [
+ {
+ "const": false
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "issuer_refresh": {
+ "additionalProperties": false,
+ "properties": {
+ "backfill_from": {
+ "$ref": "#a8"
+ },
+ "backfill_through": {
+ "$ref": "#a8"
+ },
+ "filing_inventory_verified_at": {
+ "$ref": "#a7"
+ },
+ "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": "#ab"
+ },
+ "operation": {
+ "const": "get_institutional_holdings"
+ },
+ "pagination": {
+ "additionalProperties": false,
+ "properties": {
+ "filters_sha256": {
+ "type": "string"
+ },
+ "next_cursor": {
+ "$ref": "#a2"
+ },
+ "next_offset": {
+ "$ref": "#a9"
+ },
+ "offset": {
+ "$ref": "#a0"
+ },
+ "returned": {
+ "$ref": "#a0"
+ },
+ "scan_complete": {
+ "type": "boolean"
+ },
+ "scanned_rows": {
+ "$ref": "#a0"
+ },
+ "snapshot_hash": {
+ "$ref": "#a2"
+ },
+ "snapshot_id": {
+ "anyOf": [
+ {
+ "$ref": "#a6"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "total_matching_records": {
+ "$ref": "#a9"
+ },
+ "total_retained_records": {
+ "$ref": "#a9"
+ }
+ },
+ "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": "#a6"
+ },
+ "contentHash": {
+ "$ref": "#a3"
+ }
+ },
+ "required": [
+ "artifactId",
+ "contentHash"
+ ],
+ "type": "object"
+ },
+ "resource": {
+ "const": "company_dataset"
+ },
+ "schema_version": {
+ "const": "2"
+ },
+ "snapshot_captured_at": {
+ "$ref": "#a7"
+ },
+ "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": "#a1"
+ },
+ "publication_date": {
+ "$ref": "#a8"
+ },
+ "publication_precision": {
+ "enum": [
+ "instant",
+ "date",
+ "unknown"
+ ]
+ },
+ "published_at": {
+ "$ref": "#a7"
+ },
+ "raw_capture_hash": {
+ "$ref": "#/$defs/e"
+ },
+ "representation": {
+ "enum": [
+ "provider_json",
+ "sec_xbrl",
+ "visible_text",
+ "retained_research_case"
+ ]
+ },
+ "retained_record_hash": {
+ "$ref": "#/$defs/e"
+ },
+ "source_id": {
+ "$ref": "#a6"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "$ref": "#a5"
+ }
+ },
+ "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": "#a6"
+ },
+ "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": "#a1"
+ },
+ "providers": {
+ "$ref": "#ab"
+ },
+ "representation": {
+ "const": "reconciled_daily_bars"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "$ref": "#a5"
+ }
+ },
+ "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"
+ ]
+ }
+]