TYPES: Event, Schedule, eventSchedule

PRE-MARKUP:

A Tai-Chi class runs throughout 2017. The class occurs weekly, every Wednesday at 7pm.

MICRODATA:

Example is JSON-LD only.

RDFA:

Example is JSON-LD only.

JSON:

<script type="application/ld+json">
{
  "@context": "http://schema.org/",
  "@type": "Event",
  "url": "http://www.example.org/events/1",
  "name": "Tai chi Class",
  "description": "A weekly Tai-Chi class",
  "duration": "PT60M",
  "eventSchedule": {
     "@type": "Schedule",
     "startDate": "2017-01-01",
     "endDate": "2017-12-31",
     "repeatFrequency": "P1W",
     "byDay": "http://schema.org/Wednesday",
     "startTime": "19:00",
     "endTime": "20:00"
  }
}
</script>

TYPES: Event, Schedule, eventSchedule

PRE-MARKUP:

A Meetup takes place on the 1st and 15th of every month between 9-10am

MICRODATA:

Example is JSON-LD only.

RDFA:

Example is JSON-LD only.

JSON:

<script type="application/ld+json">
{
  "@context": "http://schema.org/",
  "@type": "Event",
  "name": "Example Meetup",
  "eventSchedule": {
     "@type": "Schedule",
     "repeatFrequency": "P1M",
     "byMonthDay": [1,15],
     "startTime": "09:00",
     "endTime": "10:00"
  }
}
</script>

TYPES: Event, Schedule, eventSchedule

PRE-MARKUP:

Starting from 2th December an Event will run daily between 9-10am for 10 occurences.

MICRODATA:

Example is JSON-LD only.

RDFA:

Example is JSON-LD only.

JSON:

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "Event",
  "name": "Count Example",
  "eventSchedule":
    {
      "@type": "Schedule",
      "startDate": "2016-12-24",
      "repeatFrequency": "P1D",
      "repeatCount": 10,
      “startTime": "09:00",
      “endTime": "10:00"
    }
}
</script>

TYPES: Event, Schedule, eventSchedule

PRE-MARKUP:

An Event runs twice a day, at 9am-10am and 2pm-3pm but only Monday to Friday

MICRODATA:

Example is JSON-LD only.

RDFA:

Example is JSON-LD only.

JSON:

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "Event",
  "name": "Example",
  "eventSchedule":
    [
     {
      "@type": "Schedule",
      "repeatFrequency": "P1D",
      "byDay": ["http://schema.org/Monday","http://schema.org/Tuesday","http://schema.org/Wednesday","http://schema.org/Thursday","http://schema.org/Friday"]
      “startTime": "09:00",
      “endTime": "10:00"
     },
     {
      "@type": "Schedule",
      "repeatFrequency": "P1D",
      "byDay": ["http://schema.org/Monday","http://schema.org/Tuesday","http://schema.org/Wednesday","http://schema.org/Thursday","http://schema.org/Friday"]
      "startTime": "14:00",
      "endTime": "15:00"
     }
    ]
}
</script>
