package uk.ac.wellcome.platform.transformer.source

import uk.ac.wellcome.platform.transformer.source.sierra.{
  Country => SierraCountry,
  Language => SierraLanguage,
  Location => SierraLocation
}

case class SierraBibData(
  title: Option[String] = None,
  deleted: Boolean = false,
  suppressed: Boolean = false,
  country: Option[SierraCountry] = None,
  lang: Option[SierraLanguage] = None,
  materialType: Option[SierraMaterialType] = None,
  locations: Option[List[SierraLocation]] = None,
  fixedFields: Map[String, FixedField] = Map(),
  varFields: List[VarField] = List()
)

package uk.ac.wellcome.platform.transformer.source

import uk.ac.wellcome.platform.transformer.source.sierra.{
  Country => SierraCountry,
  Language => SierraLanguage,
  Location => SierraLocation
}

// https://techdocs.iii.com/sierraapi/Content/zReference/objects/bibObjectDescription.htm
case class SierraBibData(
  title: Option[String] = None,
  deleted: Boolean = false,
  suppressed: Boolean = false,
  country: Option[SierraCountry] = None,
  lang: Option[SierraLanguage] = None,
  materialType: Option[SierraMaterialType] = None,
  locations: Option[List[SierraLocation]] = None,
  fixedFields: Map[String, FixedField] = Map(),
  varFields: List[VarField] = List()
)

Add a link to the Sierra API docs
Add a link to the Sierra API docs
