[PATCH v2 4/4] interface_conf: add validation against schema in define