async def METHOD_NAME(core_config_handler: CoreConfigHandler) -> None:
    validate = core_config_handler.validate_config_entry
    # empty config is valid
    assert await validate({"config": {ResotoCoreRoot: {}}}) is None
    # expected json object but got 23
    assert await validate({"config": {ResotoCoreRoot: 23}}) is not None
    # validation fails, since ui-path does not exist
    assert await validate({"config": {ResotoCoreRoot: {"api": {"tsdb_proxy_url": "wrong"}}}}) is not None
    # default configuration is valid
    assert await validate({"config": {ResotoCoreRoot: empty_config().json()}}) is None
    # empty command config is fine
    assert await validate({"config": {ResotoCoreCommandsRoot: {}}}) is None
    # 23 can not be parsed as command list
    with raises(DeserializationError):
        await validate({"config": {ResotoCoreCommandsRoot: {"commands": 23}}})
    # valid entry can be read
    assert await validate({"config": {ResotoCoreCommandsRoot: CustomCommandsConfig().json()}}) is None
    # cron expression is valid
    assert (
        await validate({"config": {ResotoCoreSnapshotsRoot: {"foo-label": {"schedule": "0 0 * * *", "retain": 42}}}})
        is None
    )
    # cron expression is invalid
    assert (
        await validate({"config": {ResotoCoreSnapshotsRoot: {"foo-label": {"schedule": "foo bar", "retain": 42}}}})
        is not None
    )