WpEntityData

data class WpEntityData(val id: String? = null, val identifier: List<String>? = null, val name: List<WpLocalizableString>, val type: List<String>? = null, val url: String? = null)

Describes an entity as defined in the the Web Publication specification.

https://www.w3.org/TR/pub-manifest/#value-entity

Constructors

Link copied to clipboard
fun WpEntityData(id: String? = null, identifier: List<String>? = null, name: List<WpLocalizableString>, type: List<String>? = null, url: String? = null)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard
val id: String? = null

A canonical identifier associated with the entity. OPTIONAL.

Link copied to clipboard
val identifier: List<String>? = null

An identifier associated with the entity (e.g., ORCID). OPTIONAL.

Link copied to clipboard

Name of the entity. REQUIRED.

Link copied to clipboard
val type: List<String>? = null

The type of entity. OPTIONAL Should contain one of "Person" or "Organization"

Link copied to clipboard
val url: String? = null

An address associated with the creator. OPTIONAL.