def METHOD_NAME(
    *, document: Document
) -> "DocumentGrammarFormObject":
    assert isinstance(document, Document)
    assert isinstance(document.grammar, DocumentGrammar)
    grammar: DocumentGrammar = document.grammar
    element: GrammarElement = grammar.elements_by_type["REQUIREMENT"]
    grammar_form_fields: List[GrammarFormField] = []
    for grammar_field in element.fields:
        grammar_form_field = GrammarFormField.create_from_grammar_field(
            grammar_field=grammar_field
        )
        grammar_form_fields.append(grammar_form_field)
    return DocumentGrammarFormObject(
        document_mid=document.mid.get_string_value(),
        fields=grammar_form_fields,
    )