Thanks to the discussion in # 733, I found that the Service Change Notice 24-55 mentions the change from updated to updatedTime
"On or about June 20, 2024 at 1400 Coordinated Universal Time (UTC), the
National Weather Service API Application Programming Interface (Website)
will be upgraded to version 1.13. With this upgrade comes the following
user-impactful changes:A) Users who are using the “updated” parameter in their parsing of the
data can use the “updateTime” field which shows the same time."
Tests all pass on Xcode 16, but requires this change:
The
Forecast
model has been changed and now usesupdatedTime
.updated
toupdatedTime
Tests all pass on Xcode 16, but requires this change:
Huge shoutout to https://app.quicktype.io/?l=swift, which allows the models to be automatically generated from JSON data passed.