Based on server response I have created this struct items now the value changed in server how to validate those in struct.
Example yearValue replaced with eraValue.
How the frontend should handle the pair is modified or removed.
//Mark:- Time Values
struct TimeValue: Codable{
let yearValue,monthValue,dayValue : String
}