动作
类型名称:Action
扩展 Event 或 Thing
名称 |
类型 |
说明 |
actionStatus |
ActionStatusType |
指示 Action 的当前处理方式。 |
代理 |
组织或个人 |
动作的直接表演者或推动者(动画或非动画)。例如,小明写了一本书。 |
endTime |
DateTime |
某内容的结束时间。对于预订的活动或服务(例如 FoodProvidementReservation),其预计结束时间。对于执行操作的一段时间(例如执行操作时),例如 John 从 1 月到 12 月写了一本书。 请注意,即使使用日期描述时间,Event 也会使用 startDate/endDate,而不是 startTime/endTime。我们将在日后的修订版本中对此进行澄清。 |
错误 |
Thing 的子类型 |
对于失败的操作,请详细了解失败的原因。 |
handler |
HttpActionHandler |
回复操作支持的处理程序。 |
乐器 |
Thing 的子类型 |
帮助客服人员执行操作的对象。例如,John 写了一本书,其中含有一支笔。 |
位置 |
Place 或 postalAddress |
活动、组织或操作的位置。 |
name |
文本 |
在与操作关联的界面元素上向用户显示的字符串。 |
对象 |
Thing 的子类型 |
完成操作时,相应对象会保持完好或发生变化。也称为语义角色“患者”、“受影响或受试者”(会改变其状态)或“主题”(不会改变),例如“约翰”读了一本书。 |
参与者 |
组织或个人 |
间接参与相应操作的其他共同客服人员。例如,John 和 Steve 一起写了一本书。 |
结果 |
Thing 的子类型 |
动作中产生的结果。例如,John 写了一本书。 |
startTime |
DateTime |
某些内容的开始时间。对于预订事件或服务(例如 FoodProvidementReservation),其预计开始时间。对于执行操作的一段时间(例如执行操作时),例如 John 在 1 月到 12 月期间写了一本书。 请注意,即使使用时间描述日期,Event 也会使用 startDate/endDate,而不是 startTime/endTime。我们将在日后的修订版本中对此进行澄清。 |
target |
入口点 |
指示操作的目标入口点。 |
网址 |
网址 |
要提取操作的目标目标网址。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-09-03。
[null,null,["最后更新时间 (UTC):2024-09-03。"],[[["`Action` extends the `Event` or `Thing` type and describes activities or tasks performed."],["It includes properties like `actionStatus`, `agent`, `endTime`, `error`, and more to provide details about the action."],["`Action` can specify the involved parties, time, location, and outcome of an action."],["Properties like `object`, `instrument`, and `result` further elaborate on the action's context and effects."],["`Action` can also define a target URL or entry point for completing the action."]]],["The `Action` type details properties for describing actions, including their status, agent, and time frame. Key details involve the `actionStatus`, indicating the action's current state. The `agent` and `participant` identify performers and co-agents, while `startTime` and `endTime` mark the action's duration. Other relevant information include the `location`, `instrument`, the `object` acted upon, `result` and an `error` to specify a potential cause for failure. A `handler` is provided for the RSVP action, `target` EntryPoint, and the `url` to complete the action.\n"]]