From a7e6f6003e697ed301836d8e8902ee1bfcf08bd3 Mon Sep 17 00:00:00 2001 From: Amine Ben hammou Date: Fri, 8 Jan 2021 12:02:03 +0100 Subject: [PATCH] [RUMF-783] Add view.custom_timings --- samples/view.json | 3 +++ schemas/view-schema.json | 10 ++++++++++ 2 files changed, 13 insertions(+) diff --git a/samples/view.json b/samples/view.json index d91f24fe..8b1f0ba6 100644 --- a/samples/view.json +++ b/samples/view.json @@ -20,6 +20,9 @@ "dom_content_loaded": 951715000, "dom_interactive": 906695000, "load_event": 2154370000, + "custom_timings": { + "user-timing": 2154570000 + }, "action": { "count": 0 }, diff --git a/schemas/view-schema.json b/schemas/view-schema.json index cea3c2c5..488e59a2 100644 --- a/schemas/view-schema.json +++ b/schemas/view-schema.json @@ -99,6 +99,16 @@ "minimum": 0, "readOnly": true }, + "custom_timings": { + "type": "object", + "description": "User custom timings of the view", + "additionalProperties": { + "type": "integer", + "minimum": 0, + "readOnly": true + }, + "readOnly": true + }, "is_active": { "type": "boolean", "description": "Whether the View corresponding to this event is considered active",