def GetCbsdRegistrationRequest(cbsd):
  """Returns a CBSD registration request from the |Cbsd| object.
  """
  return {
      'cbsdCategory': cbsd.category,
      'installationParam': {
          'latitude': cbsd.latitude,
          'longitude': cbsd.longitude,
          'height': cbsd.height_agl,
          'heightType': 'AGL',
          'indoorDeployment': cbsd.is_indoor,
          'antennaBeamwidth': cbsd.antenna_beamwidth,
          'antennaAzimuth': cbsd.antenna_azimuth,
          'antennaGain': cbsd.antenna_gain,
      }
  }