All Downloads are FREE. Search and download functionalities are using the official Maven repository.

lspace.ns.vocab.schema.OpeningHoursSpecification.scala Maven / Gradle / Ivy

The newest version!
package lspace.ns.vocab.schema
import lspace.ns.vocab.schema._
import lspace.structure.{Property => LProperty, OntologyDef}
object OpeningHoursSpecification extends OntologyDef(
        iri = "http://schema.org/OpeningHoursSpecification",
        iris = Set("http://schema.org/OpeningHoursSpecification"),
        label = "OpeningHoursSpecification",
        comment = """A structured value providing information about the opening hours of a place or a certain service inside a place.

The place is open if the opens property is specified, and closed otherwise.

If the value for the closes property is less than the value for the opens property then the hour range is assumed to span over the next day.""", `@extends` = List(StructuredValue.ontology) ){ object keys extends lspace.ns.vocab.schema.StructuredValue.Properties{ lazy val closes = lspace.ns.vocab.schema.closes.property lazy val dayOfWeek = lspace.ns.vocab.schema.dayOfWeek.property lazy val opens = lspace.ns.vocab.schema.opens.property lazy val validFrom = lspace.ns.vocab.schema.validFrom.property lazy val validThrough = lspace.ns.vocab.schema.validThrough.property } override lazy val properties: List[LProperty] = List(closes, dayOfWeek, opens, validFrom, validThrough) trait Properties extends lspace.ns.vocab.schema.StructuredValue.Properties{ lazy val closes = lspace.ns.vocab.schema.closes.property lazy val dayOfWeek = lspace.ns.vocab.schema.dayOfWeek.property lazy val opens = lspace.ns.vocab.schema.opens.property lazy val validFrom = lspace.ns.vocab.schema.validFrom.property lazy val validThrough = lspace.ns.vocab.schema.validThrough.property } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy