{
"id": "social.colibri.beta.embed.defs",
"defs": {
"gifView": {
"type": "object",
"required": [
"id",
"url",
"previewUrl",
"width",
"height"
],
"properties": {
"id": {
"type": "string",
"description": "Provider identifier, stable enough to save as a favourite."
},
"url": {
"type": "string",
"format": "uri",
"description": "Full-size GIF URL."
},
"title": {
"type": "string",
"description": "Human-readable title."
},
"width": {
"type": "integer",
"description": "Intrinsic pixel width."
},
"height": {
"type": "integer",
"description": "Intrinsic pixel height."
},
"previewUrl": {
"type": "string",
"format": "uri",
"description": "Smaller preview URL for the picker grid."
}
},
"description": "A GIF from the picker."
},
"linkEmbed": {
"type": "object",
"required": [
"uri"
],
"properties": {
"uri": {
"type": "string",
"format": "uri",
"description": "The URL previewed."
},
"image": {
"ref": "#embedImage",
"type": "ref",
"description": "Preview image."
},
"title": {
"type": "string",
"description": "Page title."
},
"video": {
"ref": "#embedVideo",
"type": "ref",
"description": "Playable video."
},
"siteName": {
"type": "string",
"description": "Publisher name."
},
"description": {
"type": "string",
"description": "Page description."
}
},
"description": "A link preview."
},
"embedImage": {
"type": "object",
"required": [
"url"
],
"properties": {
"alt": {
"type": "string",
"description": "Alternative text."
},
"url": {
"type": "string",
"format": "uri",
"description": "URL served by this AppView's image proxy."
},
"width": {
"type": "integer",
"description": "Intrinsic pixel width."
},
"height": {
"type": "integer",
"description": "Intrinsic pixel height."
}
},
"description": "A preview image."
},
"embedVideo": {
"type": "object",
"required": [
"url",
"mimeType"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "URL served by this AppView's video proxy."
},
"width": {
"type": "integer",
"description": "Intrinsic pixel width."
},
"height": {
"type": "integer",
"description": "Intrinsic pixel height."
},
"duration": {
"type": "integer",
"description": "Duration in seconds."
},
"mimeType": {
"type": "string",
"description": "Content type.",
"knownValues": [
"video/mp4",
"video/webm"
]
}
},
"description": "A playable video."
},
"gifCategory": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Category name."
},
"previewUrl": {
"type": "string",
"format": "uri",
"description": "Representative image for the category."
}
},
"description": "A category in the GIF picker."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}