Adding duration event schema definition and related tests.