schema.org - Schema.org 中组织提供的课程的讲师
问题描述
Course
我正在使用json-ld 标记将结构化数据添加到课程网页。
我认为“提供者”字段是我们的组织,因为是我们平台上的在线课程,我们准备在课程中展示的材料,或者,如果该材料是由讲师/演讲者准备的,则需要批准/编辑。
这是代码:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Course",
"name": "Introduction to Trading Online",
"description": "Introductory Trading Online course laying out the basics.",
"image":"https://investire.biz/img/course/1500202_d7cc.jpg",
"provider": {
"@type": "Organization",
"name": "Investire.biz",
"sameAs": "https://investire.biz"
},
"inLanguage": "English",
"audience":{"audienceType":["Beginner trader","No specific knowledge"],"@type":"Audience"}
}
</script>
哪个是讲师或演讲者的正确字段?
解决方案
ACourse
不能有演讲者,因为它代表创意作品,而不是本课程的具体实例。
您可以为实例提供hasCourseInstance
属性,该属性CourseInstance
作为值。
并且 aCourseInstance
可以具有以下instructor
属性:
被指派为
CourseInstance
.
推荐阅读
- c++ - 从 C++ 中的 int 方法返回一个数组
- node.js - expressjs oracledb { [错误:ORA-12514:TNS:监听器当前不知道连接描述符中请求的服务] errorNum:12514,偏移量:0 }
- amazon-web-services - AWS 多个站点到站点 VPN 连接
- javascript - 为什么 HTML5 模式没有检测到错误/正确的电子邮件地址?
- javascript - 来自多个数组值的 Javascript 匹配
- javascript - Vuetify 滑块:将鼠标光标更改为悬停时的指针并单击
- python - 即使在安装 tweepy 之后也显示“没有名为 tweepy 的模块”。为什么?
- javascript - 在每个循环之间以任意时间循环字符串数组(JS)
- java - 为什么 throw 不支持 Exception 类?
- pascal - 如何从txt文件中找到最大的数字?