code: func getSchemaType(schema proto.Schema) string {
  	if schema == nil {
  		return ""
  	}
  	visitor := &baseSchemaVisitor{}
  	schema.Accept(visitor)
  	return visitor.Kind
  }
docs: // Contains functions for casting openapi interfaces to their underlying types
  // getSchemaType returns the string type of the schema - e.g. array, primitive, map, kind, reference