hasCourseInstance

Canonical URL: http://schema.org/hasCourseInstance

Thing > Property > hasCourseInstance

An offering of the course at a specific time and place or through specific media or mode of study or to a specific section of students.
Values expected to be one of these types
CourseInstance
Used on these types
Course


Examples

Example 1
<body vocab="http://schema.org/">
<!-- A MOOC / free online course. As a simple one-off course -->
<!-- Based on https://www.coursera.org/course/datascitoolbox -->
<main>
  <h1>The Data Scientist's Toolbox</h1>
  <h2>About this Course</h2>
  <p>In this course you will get an introduction to the main tools and ideas in the
       data scientist's toolbox...</p>
  <div>
    <h2>Session dates</h2>
    <span>February 15</span> -
    <span>March 21</span>
  </div>
</main>
</body>
No Microdata
<body vocab="http://schema.org/">
<!-- A MOOC / free online course. As a simple one-off course -->
<!-- Based on https://www.coursera.org/course/datascitoolbox -->
<main typeof="Course">
  <h1 property="name">The Data Scientist's Toolbox</h1>
  <h2>About this Course</h2>
  <p property="description">
       In this course you will get an introduction to the main tools and ideas in the
       data scientist's toolbox...</p>
  <div rel="hasCourseInstance" typeof="CourseInstance">
    <meta property="courseMode" content="MOOC" />
    <meta property="courseMode" content="online" />
    <h2>Session dates</h2>
    <span property="startDate">February 15</span> -
    <span property="endDate">March 21</span>
  </div>
</main>
</body>
<script type="application/ld+json">
{
  "@context": "http://schema.org/",
  "@type": "schema:Course",
  "description": "In this course you will get an introduction to the main tools and ideas in the data scientist's toolbox...",
  "hasCourseInstance": {
    "@type": "CourseInstance",
    "courseMode": ["MOOC","online"],
    "endDate": "March 21",
    "startDate": "February 15"
  }
}
</script>
Example 2
<body vocab="http://schema.org/" typeof="Course">
<!-- A college course offered at several locations -->
<!-- based on http://www.fife.ac.uk/student/courses/course/HCACC -->
  <h1>Course Details</h1>
  <h2>HNC Accounting</h2>
    <p>This course is designed for those wishing to take up
       a career in Accounting and Financial Administration within a range of
       organisations....</p>
  <h2>This course is currently offered on the date(s) and venue(s) listed below.</h2>
    <table >
      <tbody>
        <tr >
          <th scope="col" >Method of Study</th>
          <th scope="col" >Starts</th>
          <th scope="col" >Ends</th>
          <th scope="col" >Based at</th>
        </tr>
        <tr>
          <td>Full-time</td>
          <td>29 Aug 2016</td>
          <td>23 Jun 2017</td>
          <td>St Brycedale Campus Kirkcaldy</td>
        </tr>
        <tr>
          <td>Full-time</td>
          <td>29 Aug 2016</td>
          <td>23 Jun 2017</td>
          <td>Halbeath Campus Dunfermline</td>
        </tr>
        <tr>
          <td>Evenings only and weekends</td>
          <td>31 Aug 2016</td>
          <td>21 Jun 2017</td>
          <td>St Brycedale Campus Kirkcaldy</td>
        </tr>
      </tbody>
    </table>
</body>
No Microdata
<body vocab="http://schema.org/" typeof="Course">
<!-- A college course offered at several locations -->
<!-- based on http://www.fife.ac.uk/student/courses/course/HCACC -->
  <h1>Course Details</h1>
  <h2 property="name">HNC Accounting</h2>
    <p property="description">This course is designed for those wishing to take up
       a career in Accounting and Financial Administration within a range of
       organisations....</p>
  <h2>This course is currently offered on the date(s) and venue(s) listed below.</h2>
    <table >
      <tbody>
        <tr >
          <th scope="col" >Method of Study</th>
          <th scope="col" >Starts</th>
          <th scope="col" >Ends</th>
          <th scope="col" >Based at</th>
        </tr>
        <tr rel="hasCourseInstance" typeof="CourseInstance">
          <td property="courseMode">full-time</td>
          <td property="startDate">29 Aug 2016</td>
          <td property="endDate">23 Jun 2017</td>
          <td property="location">St Brycedale Campus Kirkcaldy</td>
        </tr>
        <tr rel="hasCourseInstance" typeof="CourseInstance">
          <td property="courseMode">full-time</td>
          <td property="startDate">29 Aug 2016</td>
          <td property="endDate">23 Jun 2017</td>
          <td  property="location">Halbeath Campus Dunfermline</td>
        </tr>
        <tr rel="hasCourseInstance" typeof="CourseInstance">
          <td><meta property="courseMode" content="part-time">
              Evenings only and weekends</td>
          <td property="startDate">31 Aug 2016</td>
          <td property="endDate">21 Jun 2017</td>
          <td  property="location">St Brycedale Campus Kirkcaldy</td>
        </tr>
      </tbody>
    </table>
</body>
<script type="application/ld+json">
{
  "@context": "http://schema.org/",
  "@id": "./",
  "@type": "Course",
  "name": "HNC Accounting",
  "description": "This course is designed for those wishing to take up \r\n       a career in Accounting and Financial Administration within a range of \r\n       organisations....",
  "hasCourseInstance": [
    {
      "@type": "CourseInstance",
      "courseMode": "part-time",
      "endDate": "21 Jun 2017",
      "location": "St Brycedale Campus Kirkcaldy",
      "startDate": "31 Aug 2016"
    },
    {
      "@type": "CourseInstance",
      "courseMode": "full-time",
      "endDate": "23 Jun 2017",
      "location": "Halbeath Campus Dunfermline",
      "startDate": "29 Aug 2016"
    },
    {
      "courseMode": "full-time",
      "endDate": "23 Jun 2017",
      "location": "St Brycedale Campus Kirkcaldy",
      "startDate": "29 Aug 2016"
    }
  ]
}
</script>
Example 3
<body>
<!--A self-paced distance learning course (no events)-->
<!--Based on http://www.train4publishing.co.uk/courses/distance-learning/basic-proofreading -->
<div>
  <h1>Basic Proofreading</h1>
  <p>The distance learning training course that takes you
        from complete beginner to PQB qualified proofreader in one step.</p>
  <div>
    Online, cost: £395
  </div>
  <div>
    Posted, cost:£440
  </div>
</div>
</body>
No Microdata
<body vocab="http://schema.org/">
<!--A self-paced distance learning course (no events)-->
<!--Based on http://www.train4publishing.co.uk/courses/distance-learning/basic-proofreading -->
<div typeof="Course">
  <h1 property="name">Basic Proofreading</h1>
  <p property="description">The distance learning training course that takes you
        from complete beginner to PQB qualified proofreader in one step.</p>
  <div rel="hasCourseInstance" typeof="CourseInstance">
    <meta property="courseMode" content="distance learning" />
    <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">
    <meta property="courseMode" content="distance learning" />
    <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>
<script type="application/ld+json">
{
  "@context": "http://schema.org/",
  "@type": "Course",
  "name": "Basic Proofreading",
  "description": "The distance learning training course that takes you \r\n        from complete beginner to PQB qualified proofreader in one step.",
  "hasCourseInstance": [
    {
      "@type": "CourseInstance",
      "courseMode": [
        "distance learning",
        "Online"
      ],
      "offers": {
        "@type": "Offer",
        "price": "395",
        "priceCurrency": "GBP"
      }
    },
    {
      "@type": "CourseInstance",
      "courseMode": [
        "Posted",
        "distance learning"
      ],
      "offers": {
        "@type": "Offer",
        "price": "440",
        "priceCurrency": "GBP"
      }
    }
  ]
}
</script>

Schema Version 3.2