|
613 | 613 | "type": "string" |
614 | 614 | } |
615 | 615 | }, |
616 | | - "viewport": { |
617 | | - "description": "Current and maximum dimensions available to the UI.", |
618 | | - "type": "object", |
619 | | - "properties": { |
620 | | - "width": { |
621 | | - "description": "Current viewport width in pixels.", |
622 | | - "type": "number" |
623 | | - }, |
624 | | - "height": { |
625 | | - "description": "Current viewport height in pixels.", |
626 | | - "type": "number" |
627 | | - }, |
628 | | - "maxHeight": { |
629 | | - "description": "Maximum available height in pixels (if constrained).", |
630 | | - "type": "number" |
631 | | - }, |
632 | | - "maxWidth": { |
633 | | - "description": "Maximum available width in pixels (if constrained).", |
634 | | - "type": "number" |
635 | | - } |
636 | | - }, |
637 | | - "required": ["width", "height"], |
638 | | - "additionalProperties": false |
| 616 | + "maxHeight": { |
| 617 | + "description": "Maximum height in pixels available to the UI.\nWhen inline, this is undefined (unlimited). When fullscreen or pip,\nthis reflects the container constraints.", |
| 618 | + "type": "number" |
639 | 619 | }, |
640 | 620 | "locale": { |
641 | 621 | "description": "User's language and region preference in BCP 47 format.", |
|
1224 | 1204 | "type": "string" |
1225 | 1205 | } |
1226 | 1206 | }, |
1227 | | - "viewport": { |
1228 | | - "description": "Current and maximum dimensions available to the UI.", |
1229 | | - "type": "object", |
1230 | | - "properties": { |
1231 | | - "width": { |
1232 | | - "description": "Current viewport width in pixels.", |
1233 | | - "type": "number" |
1234 | | - }, |
1235 | | - "height": { |
1236 | | - "description": "Current viewport height in pixels.", |
1237 | | - "type": "number" |
1238 | | - }, |
1239 | | - "maxHeight": { |
1240 | | - "description": "Maximum available height in pixels (if constrained).", |
1241 | | - "type": "number" |
1242 | | - }, |
1243 | | - "maxWidth": { |
1244 | | - "description": "Maximum available width in pixels (if constrained).", |
1245 | | - "type": "number" |
1246 | | - } |
1247 | | - }, |
1248 | | - "required": ["width", "height"], |
1249 | | - "additionalProperties": false |
| 1207 | + "maxHeight": { |
| 1208 | + "description": "Maximum height in pixels available to the UI.\nWhen inline, this is undefined (unlimited). When fullscreen or pip,\nthis reflects the container constraints.", |
| 1209 | + "type": "number" |
1250 | 1210 | }, |
1251 | 1211 | "locale": { |
1252 | 1212 | "description": "User's language and region preference in BCP 47 format.", |
|
2342 | 2302 | "type": "string" |
2343 | 2303 | } |
2344 | 2304 | }, |
2345 | | - "viewport": { |
2346 | | - "description": "Current and maximum dimensions available to the UI.", |
2347 | | - "type": "object", |
2348 | | - "properties": { |
2349 | | - "width": { |
2350 | | - "description": "Current viewport width in pixels.", |
2351 | | - "type": "number" |
2352 | | - }, |
2353 | | - "height": { |
2354 | | - "description": "Current viewport height in pixels.", |
2355 | | - "type": "number" |
2356 | | - }, |
2357 | | - "maxHeight": { |
2358 | | - "description": "Maximum available height in pixels (if constrained).", |
2359 | | - "type": "number" |
2360 | | - }, |
2361 | | - "maxWidth": { |
2362 | | - "description": "Maximum available width in pixels (if constrained).", |
2363 | | - "type": "number" |
2364 | | - } |
2365 | | - }, |
2366 | | - "required": ["width", "height"], |
2367 | | - "additionalProperties": false |
| 2305 | + "maxHeight": { |
| 2306 | + "description": "Maximum height in pixels available to the UI.\nWhen inline, this is undefined (unlimited). When fullscreen or pip,\nthis reflects the container constraints.", |
| 2307 | + "type": "number" |
2368 | 2308 | }, |
2369 | 2309 | "locale": { |
2370 | 2310 | "description": "User's language and region preference in BCP 47 format.", |
|
0 commit comments