code: def get_experiment_kind(root):
      
      properties = {}
      if root.find('experimentType').text == 'Ignition delay measurement':
          properties['experiment-type'] = 'ignition delay'
      else:
          raise NotImplementedError(root.find('experimentType').text + ' not (yet) supported')
  
      properties['apparatus'] = {'kind': '', 'institution': '', 'facility': ''}
      kind = getattr(root.find('apparatus/kind'), 'text', False)
      # Test for missing attribute or empty string
      if not kind:
          raise MissingElementError('apparatus/kind')
      elif kind in ['shock tube', 'rapid compression machine']:
          properties['apparatus']['kind'] = kind
      else:
          raise NotImplementedError(kind + ' experiment not (yet) supported')
  
      return properties
docs: Read common properties from root of ReSpecTh XML file.
  
      Args:
          root (`~xml.etree.ElementTree.Element`): Root of ReSpecTh XML file
  
      Returns:
          properties (`dict`): Dictionary with experiment type and apparatus information.