@classmethod<EOL><INDENT>def from_json(cls, data):<DEDENT>
required_keys = ('<STR_LIT:name>', '<STR_LIT>', '<STR_LIT:location>', '<STR_LIT>',<EOL>'<STR_LIT>', '<STR_LIT>', '<STR_LIT>')<EOL>for key in required_keys:<EOL><INDENT>assert key in data, '<STR_LIT>'.format(key)<EOL><DEDENT>return cls(data['<STR_LIT:name>'], data['<STR_LIT>'], Location.from_json(data['<STR_LIT:location>']),<EOL>DryBulbCondition.from_json(data['<STR_LIT>']),<EOL>HumidityCondition.from_json(data['<STR_LIT>']),<EOL>WindCondition.from_json(data['<STR_LIT>']),<EOL>SkyCondition.from_json(data['<STR_LIT>']))<EOL>
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}