input: 
  def search_records(query: str, collection: str = None, start_record: int = 1, max_records: int = 1, record_schema: str = None) -> response:
      """
      Perform a search using the SRU API and return a response object containing the search results.
  
      >>> search_records("digital history", "ANP", 1, 5, "dcx")
      <response object>
      >>> search_records("Dutch literature", "DPO", 1, 10, "ddd")
      <response object>
      """
  
output:     base_url = "http://example.com/sru"
      params = {
          "query": query,
          "version": "1.2",
          "operation": "searchRetrieve",
          "startRecord": start_record,
          "maximumRecords": max_records,
          "recordSchema": record_schema or "dc"
      }
      if collection:
          params["collection"] = collection
      
      response = requests.get(base_url, params=params)
      return response