code: def extract_types(cls, schema):
          
          for field in cls.extract_fields(schema):
              if field.has_format:
                  yield field.format_spec.type
docs: Extract types (names) for typed fields (with format/type part).
  
          :param schema: Parser schema/format to use.
          :return: Generator for type names (as string).