addedInput schema / additionalProperties
Added value: +false
addedInput schema / properties / count
Added value: +{
+ "description": "Scan mode only. Non-zero signed count of same-weekday occurrences; positive scans forward, negative backward.",
+ "maximum": 366,
+ "minimum": -366,
+ "type": "integer"
+}
addedInput schema / properties / day / description
Added value: +"Day of month (weekday and scan modes); must be a real day for that month."
addedInput schema / properties / day / maximum
Added value: +31
addedInput schema / properties / day / minimum
Added value: +1
addedInput schema / properties / fromDay
Added value: +{
+ "description": "Distance mode only. Day of month of the start date.",
+ "maximum": 31,
+ "minimum": 1,
+ "type": "integer"
+}
addedInput schema / properties / fromMonth
Added value: +{
+ "description": "Distance mode only. Month of the start date, 1 to 12.",
+ "maximum": 12,
+ "minimum": 1,
+ "type": "integer"
+}
addedInput schema / properties / fromYear
Added value: +{
+ "description": "Distance mode only. Year of the start date.",
+ "maximum": 9999,
+ "minimum": -9999,
+ "type": "integer"
+}
addedInput schema / properties / month / description
Added value: +"Month of the date (weekday and scan modes), 1 to 12."
addedInput schema / properties / month / maximum
Added value: +12
addedInput schema / properties / month / minimum
Added value: +1
addedInput schema / properties / operation / description
Added value: +"Mode: weekday returns the weekday for one date; scan lists N recurring weekday dates; distance measures the gap between two dates."
addedInput schema / properties / operation / enum
Added value: +[
+ "weekday",
+ "scan",
+ "distance"
+]
addedInput schema / properties / toDay
Added value: +{
+ "description": "Distance mode only. Day of month of the end date.",
+ "maximum": 31,
+ "minimum": 1,
+ "type": "integer"
+}
addedInput schema / properties / toMonth
Added value: +{
+ "description": "Distance mode only. Month of the end date, 1 to 12.",
+ "maximum": 12,
+ "minimum": 1,
+ "type": "integer"
+}
addedInput schema / properties / toYear
Added value: +{
+ "description": "Distance mode only. Year of the end date.",
+ "maximum": 9999,
+ "minimum": -9999,
+ "type": "integer"
+}
addedInput schema / properties / year / description
Added value: +"Year of the date (weekday and scan modes). BCE allowed via 0 and negative values."
addedInput schema / properties / year / maximum
Added value: +9999
addedInput schema / properties / year / minimum
Added value: +-9999
changedInput schema / required
Previous value: -[
- "operation",
- "year",
- "month",
- "day"
-]New value: +[
+ "operation"
+]
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "data": {
+ "description": "Result payload; fields depend on the operation. Weekday fields shown below; scan adds from/dayOfWeek/count/occurrences, distance adds from/to/days/weeks/weekRemainder/sameWeekday.",
+ "properties": {
+ "count": {
+ "description": "Echoed signed occurrence count (scan mode).",
+ "type": "integer"
+ },
+ "day": {
+ "description": "Echoed day (weekday mode).",
+ "type": "integer"
+ },
+ "dayIndex": {
+ "description": "Weekday index, 0 = Sunday to 6 = Saturday (weekday mode).",
+ "type": "integer"
+ },
+ "dayIndexISO": {
+ "description": "ISO weekday, 1 = Monday to 7 = Sunday (weekday mode).",
+ "type": "integer"
+ },
+ "dayOfWeek": {
+ "description": "Weekday name, Sunday through Saturday.",
+ "type": "string"
+ },
+ "dayOfYear": {
+ "description": "Ordinal day within the year, 1 to 366 (weekday mode).",
+ "type": "integer"
+ },
+ "days": {
+ "description": "Signed calendar distance in days (distance mode).",
+ "type": "integer"
+ },
+ "daysInMonth": {
+ "description": "Number of days in that month (weekday mode).",
+ "type": "integer"
+ },
+ "from": {
+ "description": "Start date as ISO 8601 (scan and distance modes).",
+ "type": "string"
+ },
+ "isWeekend": {
+ "description": "True when the date falls on Saturday or Sunday (weekday mode).",
+ "type": "boolean"
+ },
+ "isoDate": {
+ "description": "The date as a sign-preserving ISO 8601 string (weekday mode).",
+ "type": "string"
+ },
+ "month": {
+ "description": "Echoed month (weekday mode).",
+ "type": "integer"
+ },
+ "occurrences": {
+ "description": "Same-weekday dates as ISO 8601 strings, chronologically ordered (scan mode).",
+ "items": {
+ "description": "An occurrence date in ISO 8601 format.",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "sameWeekday": {
+ "description": "True when both dates fall on the same weekday (distance mode).",
+ "type": "boolean"
+ },
+ "to": {
+ "description": "End date as ISO 8601 (distance mode).",
+ "type": "string"
+ },
+ "weekNumber": {
+ "description": "ISO 8601 week number (weekday mode).",
+ "type": "integer"
+ },
+ "weekRemainder": {
+ "description": "Leftover days after whole weeks, so days equals weeks times 7 plus weekRemainder (distance mode).",
+ "type": "integer"
+ },
+ "weeks": {
+ "description": "Whole weeks within the distance, truncated toward zero (distance mode).",
+ "type": "integer"
+ },
+ "year": {
+ "description": "Echoed year (weekday mode).",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "operation": {
+ "description": "The operation that was performed (weekday, scan, or distance).",
+ "type": "string"
+ }
+ },
+ "type": "object"
+}