Action(动作)

Action(动作)

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

Action 表示由直接代理和间接参与者对直接对象执行的动作。可选地在某个位置使用无生命工具进行。动作的执行可能产生结果。

子类型

  • AchieveAction(成就动作)
  • AssessAction(评估动作)
  • ConsumeAction(消费动作)
  • ControlAction(控制动作)
  • CreateAction(创建动作)
  • FindAction(查找动作)
  • InteractAction(交互动作)
  • MoveAction(移动动作)
  • OrganizeAction(组织动作)
  • PlayAction(播放动作)
  • SearchAction(搜索动作)
  • SeekToAction(定位动作)
  • SolveMathAction(解数学题动作)
  • TradeAction(交易动作)
  • TransferAction(转移动作)
  • UpdateAction(更新动作)

属性

属性 预期类型 描述
name Text 动作名称
description Text 或 TextObject 描述
url URL 动作网址
agent Organization 或 Person 执行动作的代理
object Thing 动作对象
result Thing 动作结果
instrument Thing 使用的工具
location Place 或 PostalAddress 或 Text 或 VirtualLocation 位置
startTime DateTime 或 Time 开始时间
endTime DateTime 或 Time 结束时间
participant Organization 或 Person 参与者
provider Organization 或 Person 服务提供者
target EntryPoint 或 URL 目标
error Thing 失败时的错误信息
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
18
19
20
21
22
23
24
{
"@context": "https://schema.org",
"@type": "ListenAction",
"agent": {
"@type": "Person",
"name": "John"
},
"object": {
"@type": "MusicRecording",
"name": "Pink"
},
"participant": {
"@type": "Person",
"name": "Steve"
},
"location": {
"@type": "Place",
"name": "Anna's apartment"
},
"instrument": {
"@type": "Product",
"name": "iPod"
}
}

Action 用于描述各种类型的动作和交互,常用于描述用户行为、业务流程等。


Action(动作)
https://www.gjxx.dev/schema/schemas/Action/
作者
gjxx
发布于
2025年10月16日
许可协议