def METHOD_NAME() -> None:
    role = RoleV1(
        name="role",
        path="/role.yaml",
        self_service=[
            SelfServiceConfigV1(
                change_type=ChangeTypeV1(
                    name="change-type",
                    contextSchema="schema-1.yml",
                ),
                datafiles=[
                    DatafileObjectV1(
                        datafileSchema="another-schema-1.yml",
                        path="datafile.yaml",
                    )
                ],
                resources=None,
            )
        ],
        users=[UserV1(org_username="u", tag_on_merge_requests=False)],
        bots=[],
        permissions=[],
    )
    with pytest.raises(DatafileIncompatibleWithChangeTypeError):
        validate_self_service_role(role)