lspace.ns.vocab.schema.UserComments.scala Maven / Gradle / Ivy
The newest version!
package lspace.ns.vocab.schema
import lspace.ns.vocab.schema._
import lspace.structure.{Property => LProperty, OntologyDef}
object UserComments extends OntologyDef(
iri = "http://schema.org/UserComments",
iris = Set("http://schema.org/UserComments"),
label = "UserComments",
comment = """UserInteraction and its subtypes is an old way of talking about users interacting with pages. It is generally better to use Action-based vocabulary, alongside types such as Comment.""",
`@extends` = List(UserInteraction.ontology)
){
object keys extends lspace.ns.vocab.schema.UserInteraction.Properties{
lazy val commentText = lspace.ns.vocab.schema.commentText.property
lazy val commentTime = lspace.ns.vocab.schema.commentTime.property
lazy val creator = lspace.ns.vocab.schema.creator.property
lazy val discusses = lspace.ns.vocab.schema.discusses.property
lazy val replyToUrl = lspace.ns.vocab.schema.replyToUrl.property
}
override lazy val properties: List[LProperty] = List(commentText, commentTime, creator, discusses, replyToUrl)
trait Properties extends lspace.ns.vocab.schema.UserInteraction.Properties{
lazy val commentText = lspace.ns.vocab.schema.commentText.property
lazy val commentTime = lspace.ns.vocab.schema.commentTime.property
lazy val creator = lspace.ns.vocab.schema.creator.property
lazy val discusses = lspace.ns.vocab.schema.discusses.property
lazy val replyToUrl = lspace.ns.vocab.schema.replyToUrl.property
}
}