lspace.ns.vocab.schema.NewsArticle.scala Maven / Gradle / Ivy
The newest version!
package lspace.ns.vocab.schema
import lspace.ns.vocab.schema._
import lspace.structure.{Property => LProperty, OntologyDef}
object NewsArticle extends OntologyDef(
iri = "http://schema.org/NewsArticle",
iris = Set("http://schema.org/NewsArticle"),
label = "NewsArticle",
comment = """A NewsArticle is an article whose content reports news, or provides background context and supporting materials for understanding the news.
A more detailed overview of schema.org News markup is also available.""",
`@extends` = List(Article.ontology)
){
object keys extends lspace.ns.vocab.schema.Article.Properties{
lazy val dateline = lspace.ns.vocab.schema.dateline.property
lazy val printColumn = lspace.ns.vocab.schema.printColumn.property
lazy val printEdition = lspace.ns.vocab.schema.printEdition.property
lazy val printPage = lspace.ns.vocab.schema.printPage.property
lazy val printSection = lspace.ns.vocab.schema.printSection.property
}
override lazy val properties: List[LProperty] = List(dateline, printColumn, printEdition, printPage, printSection)
trait Properties extends lspace.ns.vocab.schema.Article.Properties{
lazy val dateline = lspace.ns.vocab.schema.dateline.property
lazy val printColumn = lspace.ns.vocab.schema.printColumn.property
lazy val printEdition = lspace.ns.vocab.schema.printEdition.property
lazy val printPage = lspace.ns.vocab.schema.printPage.property
lazy val printSection = lspace.ns.vocab.schema.printSection.property
}
}