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