Object

argus.schema

Schema

Related Doc: package schema

Permalink

object Schema

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Schema
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Field(name: String, schema: Root) extends Product with Serializable

    Permalink
  2. sealed trait Items extends AnyRef

    Permalink
  3. case class ItemsRoot(x: Root) extends Items with Product with Serializable

    Permalink
  4. case class ItemsSchemaArray(x: List[Root]) extends Items with Product with Serializable

    Permalink
  5. case class ListSimpleTypeTyp(x: List[SimpleType]) extends Typ with Product with Serializable

    Permalink
  6. type PositiveInteger = Int

    Permalink
  7. case class Root($schema: Option[String] = None, id: Option[String] = None, title: Option[String] = None, description: Option[String] = None, definitions: Option[List[Field]] = None, properties: Option[List[Field]] = None, typ: Option[Typ] = None, enum: Option[List[String]] = None, oneOf: Option[SchemaArray] = None, anyOf: Option[SchemaArray] = None, allOf: Option[SchemaArray] = None, not: Option[Root] = None, required: Option[StringArray] = None, items: Option[Items] = None, format: Option[String] = None, minimum: Option[Double] = None, maximum: Option[Double] = None, exclusiveMinimum: Option[Boolean] = None, exclusiveMaximum: Option[Boolean] = None, $ref: Option[String] = None) extends Product with Serializable

    Permalink
  8. type SchemaArray = List[Root]

    Permalink
  9. sealed trait SimpleType extends AnyRef

    Permalink
  10. case class SimpleTypeTyp(x: SimpleType) extends Typ with Product with Serializable

    Permalink
  11. type StringArray = List[String]

    Permalink
  12. sealed trait Typ extends AnyRef

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. implicit val FieldDecoder: Decoder[List[Field]]

    Permalink
  5. implicit val FieldEncoder: Encoder[List[Field]]

    Permalink
  6. implicit val ItemsDecoder: Decoder[Items]

    Permalink
  7. implicit def ItemsEncoder: Encoder[Items]

    Permalink
  8. implicit val RootDecoder: Decoder[Root]

    Permalink
  9. implicit val RootEncoder: Encoder[Root]

    Permalink
  10. implicit def SimpleTypeDecoder: Decoder[SimpleType]

    Permalink
  11. implicit def SimpleTypeEncoder: Encoder[SimpleType]

    Permalink
  12. object SimpleTypes

    Permalink
  13. implicit val TypDecoder: Decoder[Typ]

    Permalink
  14. implicit def TypEncoder: Encoder[Typ]

    Permalink
  15. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  16. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def fromInputStream(is: InputStream): Root

    Permalink
  21. def fromJson(str: String): Root

    Permalink
  22. def fromResource(path: String): Root

    Permalink
  23. def fromURL(url: String): Root

    Permalink
  24. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  25. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. def schemaFromArray(schema: Root): Root

    Permalink

    Convenience method for creating schemas from an array

    Convenience method for creating schemas from an array

    schema

    A schema that defines the type of the array

  31. def schemaFromEnum(enum: List[String]): Root

    Permalink

    Convenience method for creating schemas from enums

    Convenience method for creating schemas from enums

    enum

    A list if items to enum (encoded as json strings)

  32. def schemaFromFields(fields: List[Field]): Root

    Permalink

    Convenience method for creating schemas that represent an object (based on given fields)

  33. def schemaFromRef(ref: String): Root

    Permalink

    Convenience method for creating schemas that reference another schema

  34. def schemaFromSimpleType(st: SimpleType): Root

    Permalink

    Convenience method for creating a schema from a simple type (e.g.

    Convenience method for creating a schema from a simple type (e.g. { "type" : "string" }

  35. def schemaFromUnionType(schemas: List[Root]): Root

    Permalink

    Convenience method for creating schemas based on a union type of the listed schemas (aka oneOf)

  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  38. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped