def check_form_definition(form: dict) ->None:
    """
    Verify a form definition and expand properties as required
    """
    supported_types = ['issue-credential']
    form_id = form.get('id')
    form_type = form.get('type')
    if not form_type:
        raise ValueError('Type not defined for form: {}'.format(form_id))
    if form_type not in supported_types:
        raise ValueError('Unknown form type for {}: {}'.format(form_id,
            form_type))
