Embed Payload
A live web page, shown in a web presenter when its host allows and as a linked picture everywhere else (PDF, PNG, PowerPoint, print, thumbnails). A string is shorthand for { "src": value }. Engines never load 'src': whether and from which sites a page is shown live is the host's decision (the presenter's 'embeds' option), not the deck's, so a deck holds no sandbox policy.
Metadata
Field index
This definition uses the forms or value constraints below.
oneOf 1 · ref:EmbedUrl
Referenced EmbedUrl · string
An https URL. Any other scheme (http, data, javascript, a relative path) is a schema error.
Exact constraints for Referenced EmbedUrl
{
"type": "string",
"pattern": "^https://[^\\s/?#]+[^\\s]*$",
"maxLength": 2048,
"description": "An https URL. Any other scheme (http, data, javascript, a relative path) is a schema error.",
"examples": [
"https://app.example.com/dashboards/revenue"
]
}Exact constraints for oneOf 1
{
"$ref": "#/$defs/EmbedUrl"
}oneOf 2 · object
| Field | Type | Req. | Default | Description |
|---|---|---|---|---|
| src | ref:EmbedUrl | yes | — | The page's https address. Never loaded by an engine; a click on the static form opens it in a new tab. |
| title | string | — | — | What the page is: its accessible name, and the heading of the card drawn when there is no 'preview'. Absent: the site name (the host of 'src' without 'www.'). |
| aspectRatio | number | — | — | Width to height of the frame, as an image block's aspectRatio (1.6 is 16:10). The frame is the largest box of that ratio inside the block's region. Absent: 16:9 (1.7777777777777777). |
| preview | ref:ImageSource | — | — | A picture of the page, drawn wherever the page is not shown live: PDF, PNG, PowerPoint, print and thumbnails. It is drawn whole (contain) on the scheme's surface color. Absent: a card with the title, the site name and a link icon. |
src
typeref:EmbedUrlrequiredyesdefault—
The page's https address. Never loaded by an engine; a click on the static form opens it in a new tab.
title
typestringrequirednodefault—
What the page is: its accessible name, and the heading of the card drawn when there is no 'preview'. Absent: the site name (the host of 'src' without 'www.').
aspectRatio
typenumberrequirednodefault—
Width to height of the frame, as an image block's aspectRatio (1.6 is 16:10). The frame is the largest box of that ratio inside the block's region. Absent: 16:9 (1.7777777777777777).
preview
typeref:ImageSourcerequirednodefault—
A picture of the page, drawn wherever the page is not shown live: PDF, PNG, PowerPoint, print and thumbnails. It is drawn whole (contain) on the scheme's surface color. Absent: a card with the title, the site name and a link icon.
Exact constraints for oneOf 2
{
"type": "object",
"additionalProperties": false,
"required": [
"src"
],
"properties": {
"src": {
"$ref": "#/$defs/EmbedUrl",
"description": "The page's https address. Never loaded by an engine; a click on the static form opens it in a new tab."
},
"title": {
"type": "string",
"minLength": 1,
"description": "What the page is: its accessible name, and the heading of the card drawn when there is no 'preview'. Absent: the site name (the host of 'src' without 'www.')."
},
"aspectRatio": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 10,
"description": "Width to height of the frame, as an image block's aspectRatio (1.6 is 16:10). The frame is the largest box of that ratio inside the block's region. Absent: 16:9 (1.7777777777777777)."
},
"preview": {
"$ref": "#/$defs/ImageSource",
"description": "A picture of the page, drawn wherever the page is not shown live: PDF, PNG, PowerPoint, print and thumbnails. It is drawn whole (contain) on the scheme's surface color. Absent: a card with the title, the site name and a link icon."
}
}
}Complete definition constraints
{
"description": "A live web page, shown in a web presenter when its host allows and as a linked picture everywhere else (PDF, PNG, PowerPoint, print, thumbnails). A string is shorthand for { \"src\": value }. Engines never load 'src': whether and from which sites a page is shown live is the host's decision (the presenter's 'embeds' option), not the deck's, so a deck holds no sandbox policy.",
"oneOf": [
{
"$ref": "#/$defs/EmbedUrl"
},
{
"type": "object",
"additionalProperties": false,
"required": [
"src"
],
"properties": {
"src": {
"$ref": "#/$defs/EmbedUrl",
"description": "The page's https address. Never loaded by an engine; a click on the static form opens it in a new tab."
},
"title": {
"type": "string",
"minLength": 1,
"description": "What the page is: its accessible name, and the heading of the card drawn when there is no 'preview'. Absent: the site name (the host of 'src' without 'www.')."
},
"aspectRatio": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 10,
"description": "Width to height of the frame, as an image block's aspectRatio (1.6 is 16:10). The frame is the largest box of that ratio inside the block's region. Absent: 16:9 (1.7777777777777777)."
},
"preview": {
"$ref": "#/$defs/ImageSource",
"description": "A picture of the page, drawn wherever the page is not shown live: PDF, PNG, PowerPoint, print and thumbnails. It is drawn whole (contain) on the scheme's surface color. Absent: a card with the title, the site name and a link icon."
}
}
}
],
"examples": [
"https://app.example.com/dashboards/revenue",
{
"src": "https://app.example.com/dashboards/revenue",
"title": "Revenue dashboard",
"aspectRatio": 1.6,
"preview": "asset:revenue-dashboard"
}
]
}