PlainTextSchema

oxygen.schema.PlainTextSchema
See thePlainTextSchema companion trait
object PlainTextSchema extends LowPriority1

Attributes

Companion
trait
Graph
Supertypes
trait LowPriority1
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case object BearerTokenSchema extends PlainTextSchema[BearerToken]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PlainTextSchema[BearerToken]
trait SchemaLike[BearerToken]
class Object
trait Matchable
class Any
Show all
Self type
trait EnumSchema[A] extends PlainTextSchema[A]

Attributes

Supertypes
trait PlainTextSchema[A]
trait SchemaLike[A]
class Object
trait Matchable
class Any
Known subtypes
final case class EnumWithOtherSchema[A](strictEnum: EnumWithOther[A]) extends EnumSchema[A]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait EnumSchema[A]
trait PlainTextSchema[A]
trait SchemaLike[A]
class Object
trait Matchable
class Any
Show all
final case class GenericEnumSchema[A](typeTag: TypeTag[A], values: Seq[A], encodeValue: A => String, caseSensitive: Boolean) extends EnumSchema[A]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait EnumSchema[A]
trait PlainTextSchema[A]
trait SchemaLike[A]
class Object
trait Matchable
class Any
Show all
final case class JWTSchema[A](typeTag: TypeTag[JWT[A]], payloadSchema: JsonSchema[A]) extends PlainTextSchema[JWT[A]]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait PlainTextSchema[JWT[A]]
trait SchemaLike[JWT[A]]
class Object
trait Matchable
class Any
Show all
final case class StrictEnumSchema[A](strictEnum: StrictEnum[A]) extends EnumSchema[A]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait EnumSchema[A]
trait PlainTextSchema[A]
trait SchemaLike[A]
class Object
trait Matchable
class Any
Show all
case object StringSchema extends PlainTextSchema[String]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PlainTextSchema[String]
trait SchemaLike[String]
class Object
trait Matchable
class Any
Show all
Self type
final case class Transform[A, B](underlying: PlainTextSchema[A], typeTag: TypeTag[B], ab: A => B, ba: B => A) extends PlainTextSchema[B]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait PlainTextSchema[B]
trait SchemaLike[B]
class Object
trait Matchable
class Any
Show all
final case class TransformOrFail[A, B](underlying: PlainTextSchema[A], typeTag: TypeTag[B], ab: A => Either[String, B], ba: B => A) extends PlainTextSchema[B]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait PlainTextSchema[B]
trait SchemaLike[B]
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def fromStringCodec[A : TypeTag](using codec: StringCodec[A], evidence$1: TypeTag[A]): PlainTextSchema[A]

Inherited methods

def enum[A : StrictEnum]: PlainTextSchema[A]

Attributes

Inherited from:
LowPriority1

Givens

Givens

given bearerToken: PlainTextSchema[BearerToken]
given bigDecimal: PlainTextSchema[BigDecimal]
given bigInt: PlainTextSchema[BigInt]
given boolean: PlainTextSchema[Boolean]
given byte: PlainTextSchema[Byte]
given double: PlainTextSchema[Double]
given duration: PlainTextSchema[Duration]
given float: PlainTextSchema[Float]
given instant: PlainTextSchema[Instant]
given int: PlainTextSchema[Int]
given localDate: PlainTextSchema[LocalDate]
given localDateTime: PlainTextSchema[LocalDateTime]
given localTime: PlainTextSchema[LocalTime]
given long: PlainTextSchema[Long]
given offsetDateTime: PlainTextSchema[OffsetDateTime]
given password: PlainTextSchema[PlainText]
given period: PlainTextSchema[Period]
given short: PlainTextSchema[Short]
given standardJWT[A : JsonSchema](using evidence$1: JsonSchema[A], jwtTypeTag: TypeTag[Std[A]], payloadTypeTag: TypeTag[StandardPayload[A]]): PlainTextSchema[Std[A]]
given string: PlainTextSchema[String]
given timeZone: PlainTextSchema[TimeZone]
given uuid: PlainTextSchema[UUID]
given zoneId: PlainTextSchema[ZoneId]
given zoneOffset: PlainTextSchema[ZoneOffset]
given zonedDateTime: PlainTextSchema[ZonedDateTime]

Inherited givens

given enumWithOther[A](using e: EnumWithOther[A]): PlainTextSchema[A]

Attributes

Inherited from:
LowPriority1
given jwt[A](using payloadSchema: JsonSchema[A], typeTag: TypeTag[JWT[A]]): PlainTextSchema[JWT[A]]

Attributes

Inherited from:
LowPriority1
given strictEnum[A](using e: StrictEnum[A]): PlainTextSchema[A]

Attributes

Inherited from:
LowPriority1