ImageObject(图像对象)

ImageObject(图像对象)

来源: https://schema.org/ImageObject

ImageObject 表示图像文件,如照片、图表、插图等。

子类型

  • Barcode(条形码)
  • ImageObjectSnapshot(图像对象快照)

属性

属性 预期类型 描述
name Text 图像对象名称
description Text 或 TextObject 描述
url URL 图像对象网址
caption MediaObject 或 Text 字幕
exifData PropertyValue 或 Text EXIF数据
representativeOfPage Boolean 是否代表页面内容
bitrate Text 比特率
contentSize Text 文件大小
contentUrl URL 内容URL
duration Duration 或 QuantitativeValue 时长
embedUrl URL 嵌入URL
encodesCreativeWork CreativeWork 编码的创意作品
encodingFormat Text 或 URL 编码格式
height Distance 或 QuantitativeValue 高度
playerType Text 播放器类型
productionCompany Organization 制作公司
regionsAllowed Place 允许区域
requiresSubscription Boolean 或 MediaSubscription 需要订阅
sha256 Text SHA256哈希
startTime DateTime 或 Time 开始时间
uploadDate Date 或 DateTime 上传日期
width Distance 或 QuantitativeValue 宽度
inLanguage Language 或 Text 语言
aggregateRating AggregateRating 汇总评分
review Review 评论
author Organization 或 Person 作者
creator Organization 或 Person 创建者
publisher Organization 或 Person 发布者
datePublished Date 或 DateTime 发布日期
license CreativeWork 或 URL 许可
thumbnail ImageObject 或 URL 缩略图
additionalType Text 或 URL 附加类型
alternateName Text 别名
disambiguatingDescription Text 消歧描述
identifier PropertyValue 或 Text 或 URL 标识符
image ImageObject 或 URL 图像
mainEntityOfPage CreativeWork 或 URL 主实体页面
potentialAction Action 潜在行动
sameAs URL 同义
subjectOf CreativeWork 或 Event 主题

示例

以下是一个使用 JSON-LD 描述照片的示例:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"@context": "https://schema.org",
"@type": "ImageObject",
"name": "Beach in Mexico",
"description": "Sunny, sandy beach.",
"contentUrl": "mexico-beach.jpg",
"author": {
"@type": "Person",
"name": "Jane Doe"
},
"contentLocation": {
"@type": "Place",
"name": "Puerto Vallarta, Mexico"
},
"uploadDate": "2008-01-25",
"caption": "I took this picture while on vacation last year."
}

ImageObject 用于描述各种图像内容,包括照片、图表、插图等,支持元数据标记以便搜索引擎理解图像内容和版权信息。


ImageObject(图像对象)
https://www.gjxx.dev/schema/schemas/ImageObject/
作者
gjxx
发布于
2025年10月16日
许可协议