|
288 | 288 | "type": "string" |
289 | 289 | } |
290 | 290 | }, |
291 | | - "viewport": { |
292 | | - "description": "Current and maximum dimensions available to the UI.", |
293 | | - "type": "object", |
294 | | - "properties": { |
295 | | - "width": { |
296 | | - "description": "Current viewport width in pixels.", |
297 | | - "type": "number" |
298 | | - }, |
299 | | - "height": { |
300 | | - "description": "Current viewport height in pixels.", |
301 | | - "type": "number" |
302 | | - }, |
303 | | - "maxHeight": { |
304 | | - "description": "Maximum available height in pixels (if constrained).", |
305 | | - "type": "number" |
306 | | - }, |
307 | | - "maxWidth": { |
308 | | - "description": "Maximum available width in pixels (if constrained).", |
309 | | - "type": "number" |
310 | | - } |
311 | | - }, |
312 | | - "required": ["width", "height"], |
313 | | - "additionalProperties": false |
| 291 | + "maxHeight": { |
| 292 | + "description": "Maximum height in pixels available to the UI.\nWhen inline, this is undefined (unlimited). When fullscreen or pip,\nthis reflects the container constraints.", |
| 293 | + "type": "number" |
314 | 294 | }, |
315 | 295 | "locale": { |
316 | 296 | "description": "User's language and region preference in BCP 47 format.", |
|
574 | 554 | "type": "string" |
575 | 555 | } |
576 | 556 | }, |
577 | | - "viewport": { |
578 | | - "description": "Current and maximum dimensions available to the UI.", |
579 | | - "type": "object", |
580 | | - "properties": { |
581 | | - "width": { |
582 | | - "description": "Current viewport width in pixels.", |
583 | | - "type": "number" |
584 | | - }, |
585 | | - "height": { |
586 | | - "description": "Current viewport height in pixels.", |
587 | | - "type": "number" |
588 | | - }, |
589 | | - "maxHeight": { |
590 | | - "description": "Maximum available height in pixels (if constrained).", |
591 | | - "type": "number" |
592 | | - }, |
593 | | - "maxWidth": { |
594 | | - "description": "Maximum available width in pixels (if constrained).", |
595 | | - "type": "number" |
596 | | - } |
597 | | - }, |
598 | | - "required": ["width", "height"], |
599 | | - "additionalProperties": false |
| 557 | + "maxHeight": { |
| 558 | + "description": "Maximum height in pixels available to the UI.\nWhen inline, this is undefined (unlimited). When fullscreen or pip,\nthis reflects the container constraints.", |
| 559 | + "type": "number" |
600 | 560 | }, |
601 | 561 | "locale": { |
602 | 562 | "description": "User's language and region preference in BCP 47 format.", |
|
1042 | 1002 | "type": "string" |
1043 | 1003 | } |
1044 | 1004 | }, |
1045 | | - "viewport": { |
1046 | | - "description": "Current and maximum dimensions available to the UI.", |
1047 | | - "type": "object", |
1048 | | - "properties": { |
1049 | | - "width": { |
1050 | | - "description": "Current viewport width in pixels.", |
1051 | | - "type": "number" |
1052 | | - }, |
1053 | | - "height": { |
1054 | | - "description": "Current viewport height in pixels.", |
1055 | | - "type": "number" |
1056 | | - }, |
1057 | | - "maxHeight": { |
1058 | | - "description": "Maximum available height in pixels (if constrained).", |
1059 | | - "type": "number" |
1060 | | - }, |
1061 | | - "maxWidth": { |
1062 | | - "description": "Maximum available width in pixels (if constrained).", |
1063 | | - "type": "number" |
1064 | | - } |
1065 | | - }, |
1066 | | - "required": ["width", "height"], |
1067 | | - "additionalProperties": false |
| 1005 | + "maxHeight": { |
| 1006 | + "description": "Maximum height in pixels available to the UI.\nWhen inline, this is undefined (unlimited). When fullscreen or pip,\nthis reflects the container constraints.", |
| 1007 | + "type": "number" |
1068 | 1008 | }, |
1069 | 1009 | "locale": { |
1070 | 1010 | "description": "User's language and region preference in BCP 47 format.", |
|
0 commit comments