lspace.ns.vocab.schema.TaxiReservation.scala Maven / Gradle / Ivy
The newest version!
package lspace.ns.vocab.schema
import lspace.ns.vocab.schema._
import lspace.structure.{Property => LProperty, OntologyDef}
object TaxiReservation extends OntologyDef(
iri = "http://schema.org/TaxiReservation",
iris = Set("http://schema.org/TaxiReservation"),
label = "TaxiReservation",
comment = """A reservation for a taxi.
Note: This type is for information about actual reservations, e.g. in confirmation emails or HTML pages with individual confirmations of reservations. For offers of tickets, use Offer.""",
`@extends` = List(Reservation.ontology)
){
object keys extends lspace.ns.vocab.schema.Reservation.Properties{
lazy val partySize = lspace.ns.vocab.schema.partySize.property
lazy val pickupLocation = lspace.ns.vocab.schema.pickupLocation.property
lazy val pickupTime = lspace.ns.vocab.schema.pickupTime.property
}
override lazy val properties: List[LProperty] = List(partySize, pickupLocation, pickupTime)
trait Properties extends lspace.ns.vocab.schema.Reservation.Properties{
lazy val partySize = lspace.ns.vocab.schema.partySize.property
lazy val pickupLocation = lspace.ns.vocab.schema.pickupLocation.property
lazy val pickupTime = lspace.ns.vocab.schema.pickupTime.property
}
}