def METHOD_NAME(self) -> DocumentGrammar:
    grammar_fields = []
    for field in self.fields:
        grammar_field = GrammarElementFieldString(
            parent=None,
            title=field.field_name,
            required="True" if field.field_required else "False",
        )
        grammar_fields.append(grammar_field)
    requirement_element = GrammarElement(
        parent=None, tag="REQUIREMENT", fields=grammar_fields
    )
    elements: List[GrammarElement] = [requirement_element]
    grammar = DocumentGrammar(parent=None, elements=elements)
    grammar.is_default = False
    return grammar