def METHOD_NAME(**config_attrs):
    class SampleSchemaModel(pa.SchemaModel):
        a: pa.typing.Series[int] = pa.Field(le=10, description="a desc")
        b: pa.typing.Series[float] = pa.Field(lt=-1.2, description="b desc")
        c: pa.typing.Series[str] = pa.Field(str_startswith="value_", description="c desc")
        @pa.check("c")
        def c_check(cls, series: pa.typing.Series[str]) -> pa.typing.Series[bool]:
            """Two words separated by underscore."""
            return series.str.split("_", expand=True).shape[1] == 2  # type: ignore  # (bad stubs)
        @pa.dataframe_check
        def a_gt_b(cls, df):
            """sum(a) > sum(b)."""
            return df["a"].sum() > df["b"].sum()
        Config = make_schema_model_config(**config_attrs)
    return SampleSchemaModel