def METHOD_NAME(test_doc: TTestRecord) -> None:
    test_doc["x-extra"] = "x-annotation"
    # remove x-extra with a filter
    validate_dict(TTestRecord, test_doc, ".", filter_f=lambda k: k != "x-extra")