lspace.ns.vocab.schema.EngineSpecification.scala Maven / Gradle / Ivy
The newest version!
package lspace.ns.vocab.schema
import lspace.ns.vocab.schema._
import lspace.structure.{Property => LProperty, OntologyDef}
object EngineSpecification extends OntologyDef(
iri = "http://schema.org/EngineSpecification",
iris = Set("http://schema.org/EngineSpecification"),
label = "EngineSpecification",
comment = """Information about the engine of the vehicle. A vehicle can have multiple engines represented by multiple engine specification entities.""",
`@extends` = List(StructuredValue.ontology)
){
object keys extends lspace.ns.vocab.schema.StructuredValue.Properties{
lazy val engineDisplacement = lspace.ns.vocab.schema.engineDisplacement.property
lazy val enginePower = lspace.ns.vocab.schema.enginePower.property
lazy val engineType = lspace.ns.vocab.schema.engineType.property
lazy val fuelType = lspace.ns.vocab.schema.fuelType.property
lazy val torque = lspace.ns.vocab.schema.torque.property
}
override lazy val properties: List[LProperty] = List(engineDisplacement, enginePower, engineType, fuelType, torque)
trait Properties extends lspace.ns.vocab.schema.StructuredValue.Properties{
lazy val engineDisplacement = lspace.ns.vocab.schema.engineDisplacement.property
lazy val enginePower = lspace.ns.vocab.schema.enginePower.property
lazy val engineType = lspace.ns.vocab.schema.engineType.property
lazy val fuelType = lspace.ns.vocab.schema.fuelType.property
lazy val torque = lspace.ns.vocab.schema.torque.property
}
}