changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "access": {
- "const": "free"
- },
- "checked_at": {
- "$ref": "#a0"
- },
- "data": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "accepted_at": {
- "$ref": "#a0"
- },
- "accession_number": {
- "type": "string"
- },
- "filed_on": {
- "format": "date",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
- "type": "string"
- },
- "form": {
- "type": "string"
- },
- "url": {
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "accession_number",
- "form",
- "filed_on",
- "accepted_at",
- "url"
- ],
- "type": "object"
- },
- "maxItems": 10,
- "type": "array"
- },
- "observed_at": {
- "$ref": "#a0"
- },
- "resource": {
- "const": "issuer_news"
- },
- "scope": {
- "enum": [
- "retained_recent_filings",
- "current_recent_filings"
- ]
- },
- "source": {
- "const": "SEC EDGAR"
- },
- "status": {
- "enum": [
- "available",
- "stale",
- "unavailable"
- ]
- },
- "ticker": {
- "type": "string"
- }
- },
- "required": [
- "resource",
- "access",
- "ticker",
- "source",
- "scope",
- "status",
- "observed_at",
- "checked_at",
- "data"
- ]
- },
- {
- "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": {
- "minLength": 1,
- "type": "string"
- },
- "recovery": {
- "anyOf": [
- {
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "retryable": {
- "type": "boolean"
- }
- },
- "required": [
- "code",
- "message",
- "recovery",
- "retryable"
- ],
- "type": "object"
- }
- },
- "required": [
- "error"
- ]
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "access": {
+ "const": "free"
+ },
+ "checked_at": {
+ "$ref": "#a1"
+ },
+ "data": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "accepted_at": {
+ "$ref": "#a1"
+ },
+ "accession_number": {
+ "type": "string"
+ },
+ "filed_on": {
+ "$ref": "#a2"
+ },
+ "form": {
+ "type": "string"
+ },
+ "url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "accession_number",
+ "form",
+ "filed_on",
+ "accepted_at",
+ "url"
+ ],
+ "type": "object"
+ },
+ "maxItems": 10,
+ "type": "array"
+ },
+ "earnings_schedule": {
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "accepted_at": {
+ "$ref": "#a0"
+ },
+ "available_at": {
+ "$ref": "#a0"
+ },
+ "filed_on": {
+ "$ref": "#a2"
+ },
+ "fiscal_quarter": {
+ "maximum": 4,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "fiscal_year": {
+ "maximum": 2100,
+ "minimum": 2000,
+ "type": "integer"
+ },
+ "observed_at": {
+ "$ref": "#a0"
+ },
+ "release_date": {
+ "$ref": "#a2"
+ },
+ "release_session": {
+ "anyOf": [
+ {
+ "enum": [
+ "before_market_open",
+ "after_market_close"
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "webcast_at": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "fiscal_year",
+ "fiscal_quarter",
+ "release_date",
+ "release_session",
+ "webcast_at",
+ "filed_on",
+ "accepted_at",
+ "observed_at",
+ "available_at",
+ "url"
+ ],
+ "type": "object"
+ },
+ "maxItems": 10,
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "available",
+ "unavailable"
+ ]
+ }
+ },
+ "required": [
+ "status",
+ "data"
+ ],
+ "type": "object"
+ },
+ "observed_at": {
+ "$ref": "#a1"
+ },
+ "resource": {
+ "const": "issuer_news"
+ },
+ "scope": {
+ "enum": [
+ "retained_recent_filings",
+ "current_recent_filings"
+ ]
+ },
+ "source": {
+ "const": "SEC EDGAR"
+ },
+ "status": {
+ "enum": [
+ "available",
+ "stale",
+ "unavailable"
+ ]
+ },
+ "ticker": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "resource",
+ "access",
+ "ticker",
+ "source",
+ "scope",
+ "status",
+ "observed_at",
+ "checked_at",
+ "data"
+ ]
+ },
+ {
+ "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": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "recovery": {
+ "anyOf": [
+ {
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "retryable": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "code",
+ "message",
+ "recovery",
+ "retryable"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "error"
+ ]
+ }
+]