<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_type_properties(self, property_obj, name, additional_prop=False):
 """ Extend parents 'Get internal properties of property'-method """

        property_type, property_format, property_dict = \
            super(Schema, self).get_type_properties(property_obj, name, additional_prop=additional_prop)
        _schema = self.storage.get(property_type)
        if _schema and ('additionalProperties' in property_obj):
            _property_type, _property_format, _property_dict = super(Schema, self).get_type_properties(
                property_obj['additionalProperties'], '{}-mapped'.format(name), additional_prop=True)
            if _property_type not in PRIMITIVE_TYPES:
                SchemaMapWrapper.wrap(self.storage.get(_property_type))
                _schema.nested_schemas.add(_property_type)
            else:
                _schema.type_format = _property_type

        return property_type, property_format, property_dict