Cost of course
Schema Course Extension Wiki Navigation |
---|
Main Page |
Outline use cases |
Example sites |
Other useful links |
Community group home page |
email list for group |
schema.org Git hub issue |
Requirement c "must be able to identify cost of course in each mode of study offered". Arises from use case 1.1 (and 9.1, 2.1) an extension to use case 1, where the searcher is concerned about the cost of the course.
Discussion Cost thread
Proposal
Use the offers property inherited from Event to associate an Offer with each CourseInstance
Examples
Example 1. A free course
Based on Coursera Data Scientist's Toolbox Code example
[Course]
name: The Data Scientist’s Toolbox
hasCourseInstance [CourseInstance]:
courseMode: online
offers [Offer]:
price: 0
RDFA:
<body vocab="http://schema.org/">
<main typeof="Course">
<h1 property="name">The Data Scientist's Toolbox</h1>
<div rel="hasCourseInstance" typeof="CourseInstance">
<meta property="courseMode" content="online" />
<span rel="offers" typeOf="Offer">
<meta property="price" content="0" />
</span>
</div>
</main>
</body>
Example 2. A course whose cost depends on the mode of study
Based on PTC Basic Proof Reading Course Describing a self-paced distance learning course (no events) where the price depends on the mode of delivery Code example
PRE-MARKUP:
[Course]
name: Basic Proofreading
hasCourseInstance [CourseInstance]:
courseMode: online
courseMode: distance learning
offers [Offer]:
price: 395
priceCurrency: GBP
hasCourseInstance [CourseInstance]:
courseMode: posted
courseMode: distance learning
offers [Offer]:
price: 440
priceCurrency: GBP
RDFA:
<body vocab="http://schema.org/">
<div typeof="Course">
<h1 property="name">Basic Proofreading</h1>
<div rel="hasCourseInstance" typeof="CourseInstance">
<span property="courseMode">Online</span>,
<div rel="offers" typeof="Offer">
cost:<meta property="priceCurrency" content="GBP" />
£<span property="price">395</span>
</div>
</div>
<div rel="hasCourseInstance" typeof="CourseInstance">
<span property="courseMode">Posted</span>,
<div rel="offers" typeof="Offer">
cost:<meta property="priceCurrency" content="GBP" />
£<span property="price">440</span>
</div>
</div>
</div>
</body>