lspace.ns.vocab.schema.Schedule.scala Maven / Gradle / Ivy
The newest version!
package lspace.ns.vocab.schema
import lspace.ns.vocab.schema._
import lspace.structure.{Property => LProperty, OntologyDef}
object Schedule extends OntologyDef(
iri = "http://schema.org/Schedule",
iris = Set("http://schema.org/Schedule"),
label = "Schedule",
comment = """A schedule defines a repeating time period used to describe a regularly occurring Event. At a minimum a schedule will specify repeatFrequency which describes the interval between occurences of the event. Additional information can be provided to specify the schedule more precisely.
This includes identifying the day(s) of the week or month when the recurring event will take place, in addition to its start and end time. Schedules may also
have start and end dates to indicate when they are active, e.g. to define a limited calendar of events.""",
`@extends` = List(Intangible.ontology)
){
object keys extends lspace.ns.vocab.schema.Intangible.Properties{
lazy val byDay = lspace.ns.vocab.schema.byDay.property
lazy val byMonth = lspace.ns.vocab.schema.byMonth.property
lazy val byMonthDay = lspace.ns.vocab.schema.byMonthDay.property
lazy val eventSchedule = lspace.ns.vocab.schema.eventSchedule.property
lazy val exceptDate = lspace.ns.vocab.schema.exceptDate.property
lazy val repeatCount = lspace.ns.vocab.schema.repeatCount.property
lazy val repeatFrequency = lspace.ns.vocab.schema.repeatFrequency.property
}
override lazy val properties: List[LProperty] = List(byDay, byMonth, byMonthDay, eventSchedule, exceptDate, repeatCount, repeatFrequency)
trait Properties extends lspace.ns.vocab.schema.Intangible.Properties{
lazy val byDay = lspace.ns.vocab.schema.byDay.property
lazy val byMonth = lspace.ns.vocab.schema.byMonth.property
lazy val byMonthDay = lspace.ns.vocab.schema.byMonthDay.property
lazy val eventSchedule = lspace.ns.vocab.schema.eventSchedule.property
lazy val exceptDate = lspace.ns.vocab.schema.exceptDate.property
lazy val repeatCount = lspace.ns.vocab.schema.repeatCount.property
lazy val repeatFrequency = lspace.ns.vocab.schema.repeatFrequency.property
}
}