code: def from_json(cls, data):
          
          required_keys = ('name', 'day_type', 'location', 'dry_bulb_condition',
                           'humidity_condition', 'wind_condition', 'sky_condition')
          for key in required_keys:
              assert key in data, 'Required key "{}" is missing!'.format(key)
  
          return cls(data['name'], data['day_type'], Location.from_json(data['location']),
                     DryBulbCondition.from_json(data['dry_bulb_condition']),
                     HumidityCondition.from_json(data['humidity_condition']),
                     WindCondition.from_json(data['wind_condition']),
                     SkyCondition.from_json(data['sky_condition']))
docs: Create a Design Day from a dictionary.
  
          Args:
              data = {
              "name": string,
              "day_type": string,
              "location": ladybug Location schema,
              "dry_bulb_condition": ladybug DryBulbCondition schema,
              "humidity_condition": ladybug HumidityCondition schema,
              "wind_condition": ladybug WindCondition schema,
              "sky_condition": ladybug SkyCondition schema}