Skip to content

Commit c3cd44f

Browse files
allspainclaude
andcommitted
Add view.in_foreground to resource, long_task, and vital schemas
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6ded6e4 commit c3cd44f

3 files changed

Lines changed: 39 additions & 0 deletions

File tree

schemas/rum/_vital-common-schema.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,19 @@
2020
"const": "vital",
2121
"readOnly": true
2222
},
23+
"view": {
24+
"type": "object",
25+
"description": "View properties",
26+
"required": [],
27+
"properties": {
28+
"in_foreground": {
29+
"type": "boolean",
30+
"description": "Is the vital starting in the foreground (focus in browser)",
31+
"readOnly": true
32+
}
33+
},
34+
"readOnly": true
35+
},
2336
"vital": {
2437
"type": "object",
2538
"description": "Vital properties",

schemas/rum/long_task-schema.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,19 @@
161161
},
162162
"readOnly": true
163163
},
164+
"view": {
165+
"type": "object",
166+
"description": "View properties",
167+
"required": [],
168+
"properties": {
169+
"in_foreground": {
170+
"type": "boolean",
171+
"description": "Is the long task starting in the foreground (focus in browser)",
172+
"readOnly": true
173+
}
174+
},
175+
"readOnly": true
176+
},
164177
"_dd": {
165178
"type": "object",
166179
"description": "Internal properties",

schemas/rum/resource-schema.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,19 @@
424424
},
425425
"readOnly": true
426426
},
427+
"view": {
428+
"type": "object",
429+
"description": "View properties",
430+
"required": [],
431+
"properties": {
432+
"in_foreground": {
433+
"type": "boolean",
434+
"description": "Is the resource starting in the foreground (focus in browser)",
435+
"readOnly": true
436+
}
437+
},
438+
"readOnly": true
439+
},
427440
"_dd": {
428441
"type": "object",
429442
"description": "Internal properties",

0 commit comments

Comments
 (0)