def METHOD_NAME(self):
    """Camunda provides a simple form builder, this will extract the
    details from that form and construct a form model from it. """
    form = Form()
    try:
        form.key = self.attribute('formKey', 'camunda')
    except KeyError:
        return form
    for xml_field in self.xpath('.//camunda:formData/camunda:formField'):
        if xml_field.get('type') == 'enum':
            field = self.get_enum_field(xml_field)
        else:
            field = FormField()
        field.id = xml_field.get('id')
        field.type = xml_field.get('type')
        field.label = xml_field.get('label')
        field.default_value = xml_field.get('defaultValue')
        prefix = '{' + self.nsmap.get('camunda') + '}'
        for child in xml_field:
            if child.tag == f'{prefix}properties':
                for p in child:
                    field.add_property(p.get('id'), p.get('value'))
            if child.tag == f'{prefix}validation':
                for v in child:
                    field.add_validation(v.get('name'), v.get('config'))
        form.add_field(field)
    return form