Yang-Baxter relation planar algebras