changedInput schema / oneOf
Previous value: -[
- {
- "properties": {
- "action": {
- "const": "dividends"
- }
- },
- "required": [
- "action"
- ]
- },
- {
- "properties": {
- "action": {
- "const": "splits"
- }
- },
- "required": [
- "action"
- ]
- }
-]New value: +[
+ {
+ "properties": {
+ "action": {
+ "const": "earnings"
+ }
+ },
+ "required": [
+ "action"
+ ]
+ },
+ {
+ "properties": {
+ "action": {
+ "const": "dividends"
+ }
+ },
+ "required": [
+ "action"
+ ]
+ },
+ {
+ "properties": {
+ "action": {
+ "const": "splits"
+ }
+ },
+ "required": [
+ "action"
+ ]
+ }
+]
changedInput schema / properties / action / description
Previous value: -"Which calendar to read: `dividends` or `splits`. Each takes `start`, `end` (at most 7 days) and `country`."New value: +"Which calendar to read: `earnings`, `dividends` or `splits`. Each takes `start`, `end` (at most 7 days) and `country`."
changedInput schema / properties / action / enum
Previous value: -[
- "dividends",
- "splits"
-]New value: +[
+ "earnings",
+ "dividends",
+ "splits"
+]
addedOutput schema / $defs / EarningsCalendar
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "days_not_loaded": {
+ "description": "Days of the window we could not load right now. `entries` holds every other day; a day listed here is unknown, not empty. Left out when every day was loaded. A REST answer then carries a `Retry-After` header: ask again after that many seconds for the listed days.",
+ "items": {
+ "format": "date",
+ "type": "string"
+ },
+ "title": "Days Not Loaded",
+ "type": "array"
+ },
+ "entries": {
+ "description": "By date, then id.",
+ "items": {
+ "$ref": "#/$defs/EarningsCalendarEntry"
+ },
+ "title": "Entries",
+ "type": "array"
+ },
+ "next_cursor": {
+ "anyOf": [
+ {
+ "maxLength": 2048,
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Always null: a request of at most 7 days is one page.",
+ "title": "Next Cursor"
+ }
+ },
+ "required": [
+ "entries",
+ "next_cursor"
+ ],
+ "title": "EarningsCalendar",
+ "type": "object"
+}
addedOutput schema / $defs / EarningsCalendarEntry
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "date": {
+ "description": "Report day. It can be an estimate until the company announces it. When more than one date is listed for a company within 60 days, the one updated last is shown.",
+ "format": "date",
+ "title": "Date",
+ "type": "string"
+ },
+ "eps_estimate": {
+ "anyOf": [
+ {
+ "maxLength": 64,
+ "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Analysts' earnings per share estimate. Left out when there is none.",
+ "title": "Eps Estimate"
+ },
+ "id": {
+ "description": "Our listing id, for example XNAS:MSFT.",
+ "pattern": "^(?:[A-Z]{4}|FUND):[A-Z0-9.]{1,16}$",
+ "title": "Id",
+ "type": "string"
+ },
+ "name": {
+ "description": "The company's name.",
+ "maxLength": 200,
+ "minLength": 1,
+ "title": "Name",
+ "type": "string"
+ },
+ "revenue_actual": {
+ "anyOf": [
+ {
+ "maxLength": 64,
+ "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Revenue the company reported, in the listing's currency. Left out until it has reported.",
+ "title": "Revenue Actual"
+ },
+ "revenue_estimate": {
+ "anyOf": [
+ {
+ "maxLength": 64,
+ "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Analysts' revenue estimate, in the listing's currency. Left out when there is none.",
+ "title": "Revenue Estimate"
+ },
+ "symbol": {
+ "description": "The listing's ticker.",
+ "maxLength": 16,
+ "minLength": 1,
+ "title": "Symbol",
+ "type": "string"
+ }
+ },
+ "required": [
+ "date",
+ "id",
+ "symbol",
+ "name"
+ ],
+ "title": "EarningsCalendarEntry",
+ "type": "object"
+}
changedOutput schema / anyOf
Previous value: -[
- {
- "$ref": "#/$defs/DividendsCalendar"
- },
- {
- "$ref": "#/$defs/SplitsCalendar"
- }
-]New value: +[
+ {
+ "$ref": "#/$defs/EarningsCalendar"
+ },
+ {
+ "$ref": "#/$defs/DividendsCalendar"
+ },
+ {
+ "$ref": "#/$defs/SplitsCalendar"
+ }
+]