Package

io.atomicbits.scraml.ramlparser.model

parsedtypes

Permalink

package parsedtypes

Visibility
  1. Public
  2. All

Type Members

  1. case class AllOf(selection: List[ParsedType]) extends Selection with Product with Serializable

    Permalink
  2. trait AllowedAsObjectField extends AnyRef

    Permalink
  3. case class AnyOf(selection: List[ParsedType]) extends Selection with Product with Serializable

    Permalink
  4. trait Fragmented extends AnyRef

    Permalink

    Only used in json-schema.

  5. case class Fragments(id: Id = ImplicitId, fragmentMap: Map[String, ParsedType] = Map.empty) extends ParsedType with Fragmented with Product with Serializable

    Permalink

    Created by peter on 1/04/16.

  6. trait Identifiable extends AnyRef

    Permalink
  7. case class MapType(id: Id, baseType: List[String], elementType: String, required: Option[Boolean] = None, model: TypeModel = RamlModel) extends ParsedType with Product with Serializable

    Permalink

    Created by peter on 25/03/16.

  8. trait NonPrimitiveType extends ParsedType

    Permalink
  9. case class OneOf(selection: List[ParsedType]) extends Selection with Product with Serializable

    Permalink
  10. case class ParsedArray(items: ParsedType, id: Id = ImplicitId, required: Option[Boolean] = None, minItems: Option[Int] = None, maxItems: Option[Int] = None, uniqueItems: Boolean = false, fragments: Fragments = Fragments(), model: TypeModel = RamlModel) extends NonPrimitiveType with AllowedAsObjectField with Fragmented with Product with Serializable

    Permalink

    Created by peter on 25/03/16.

  11. case class ParsedBoolean(id: Id = ImplicitId, required: Option[Boolean] = None, model: TypeModel = RamlModel) extends PrimitiveType with AllowedAsObjectField with Product with Serializable

    Permalink

    Created by peter on 1/04/16.

  12. trait ParsedDate extends NonPrimitiveType with AllowedAsObjectField

    Permalink

    Created by peter on 26/08/16.

  13. case class ParsedDateOnly(id: Id = ImplicitId, required: Option[Boolean] = None) extends ParsedDate with Product with Serializable

    Permalink

    date-only The "full-date" notation of RFC3339, namely yyyy-mm-dd.

    date-only The "full-date" notation of RFC3339, namely yyyy-mm-dd. Does not support time or time zone-offset notation.

    example: 2015-05-23

  14. sealed trait ParsedDateTime extends ParsedDate

    Permalink

    datetime A timestamp in one of the following formats: if the format is omitted or set to rfc3339, uses the "date-time" notation of RFC3339; if format is set to rfc2616, uses the format defined in RFC2616.

    datetime A timestamp in one of the following formats: if the format is omitted or set to rfc3339, uses the "date-time" notation of RFC3339; if format is set to rfc2616, uses the format defined in RFC2616.

    example: 2016-02-28T16:41:41.090Z format: rfc3339 # the default, so no need to specify

    example: Sun, 28 Feb 2016 16:41:41 GMT format: rfc2616 # this time it's required, otherwise, the example format is invalid

  15. case class ParsedDateTimeDefault(id: Id = ImplicitId, required: Option[Boolean] = None) extends ParsedDateTime with Product with Serializable

    Permalink
  16. case class ParsedDateTimeOnly(id: Id = ImplicitId, required: Option[Boolean] = None) extends ParsedDate with Product with Serializable

    Permalink

    datetime-only Combined date-only and time-only with a separator of "T", namely yyyy-mm-ddThh:mm:ss[.ff...].

    datetime-only Combined date-only and time-only with a separator of "T", namely yyyy-mm-ddThh:mm:ss[.ff...]. Does not support a time zone offset.

    example: 2015-07-04T21:00:00

  17. case class ParsedDateTimeRFC2616(id: Id = ImplicitId, required: Option[Boolean] = None) extends ParsedDateTime with Product with Serializable

    Permalink
  18. case class ParsedEnum(id: Id, choices: List[String], required: Option[Boolean] = None, model: TypeModel = RamlModel) extends NonPrimitiveType with AllowedAsObjectField with Product with Serializable

    Permalink

    Created by peter on 1/04/16.

  19. case class ParsedFile(id: Id = ImplicitId, fileTypes: Option[Seq[String]] = None, minLength: Option[Int] = None, maxLength: Option[Int] = None, required: Option[Boolean] = None) extends NonPrimitiveType with AllowedAsObjectField with Product with Serializable

    Permalink

    Created by peter on 26/08/16.

  20. case class ParsedGenericObject(id: Id, typeVariable: String, required: Option[Boolean] = None, fragments: Fragments = Fragments(), model: TypeModel = RamlModel) extends Fragmented with AllowedAsObjectField with NonPrimitiveType with Product with Serializable

    Permalink

    Created by peter on 16/09/15.

    Created by peter on 16/09/15.

    Generic Object elements have a 'genericType' field:

    | { | "$schema": "http://json-schema.org/draft-03/schema", | "id": "http://atomicbits.io/schema/paged-list.json#", | "type": "object", | "typeVariables": ["T", "U"], | "description": "A paged list with an optional owner of the list", | "properties": { | "count": { | "type": "integer", | "required": true | }, | "elements": { | "required": true, | "type": "array", | "items": { | "type": "object", | "genericType": "T" | } | }, | "owner": { | "required": false, | "type": "object", | "genericType": "U" | } | } | }

  21. case class ParsedInteger(id: Id = ImplicitId, format: Option[String] = None, minimum: Option[Int] = None, maximum: Option[Int] = None, multipleOf: Option[Int] = None, required: Option[Boolean] = None, model: TypeModel = RamlModel) extends PrimitiveType with AllowedAsObjectField with Product with Serializable

    Permalink

    Created by peter on 1/04/16.

  22. case class ParsedMultipleInheritance(parents: Set[ParsedTypeReference], properties: ParsedProperties, requiredProperties: List[String] = List.empty, typeParameters: List[String] = List.empty, typeDiscriminator: Option[String] = None, typeDiscriminatorValue: Option[String] = None, required: Option[Boolean] = None, model: TypeModel = RamlModel, id: Id = ImplicitId) extends NonPrimitiveType with AllowedAsObjectField with Product with Serializable

    Permalink

    Created by peter on 1/11/16.

  23. case class ParsedNull(id: Id = ImplicitId, required: Option[Boolean] = None, model: TypeModel = RamlModel) extends PrimitiveType with AllowedAsObjectField with Product with Serializable

    Permalink

    Created by peter on 1/04/16.

  24. case class ParsedNumber(id: Id = ImplicitId, format: Option[String] = None, minimum: Option[Int] = None, maximum: Option[Int] = None, multipleOf: Option[Int] = None, required: Option[Boolean] = None, model: TypeModel = RamlModel) extends PrimitiveType with AllowedAsObjectField with Product with Serializable

    Permalink

    Created by peter on 1/04/16.

  25. case class ParsedObject(id: Id, properties: ParsedProperties, required: Option[Boolean] = None, requiredProperties: List[String] = List.empty, selection: Option[Selection] = None, fragments: Fragments = Fragments(), parents: Set[ParsedTypeReference] = Set.empty, typeParameters: List[String] = List.empty, typeDiscriminator: Option[String] = None, typeDiscriminatorValue: Option[String] = None, model: TypeModel = RamlModel) extends Fragmented with AllowedAsObjectField with NonPrimitiveType with Product with Serializable

    Permalink

    Created by peter on 25/03/16.

  26. case class ParsedProperties(valueMap: Map[String, ParsedProperty] = Map.empty) extends Product with Serializable

    Permalink

    Created by peter on 4/12/16.

  27. case class ParsedProperty(name: String, propertyType: TypeRepresentation, required: Boolean = true) extends Product with Serializable

    Permalink

    Created by peter on 4/12/16.

  28. case class ParsedString(id: Id = ImplicitId, format: Option[String] = None, pattern: Option[String] = None, minLength: Option[Int] = None, maxLength: Option[Int] = None, required: Option[Boolean] = None, model: TypeModel = RamlModel) extends PrimitiveType with AllowedAsObjectField with Product with Serializable

    Permalink

    Created by peter on 1/04/16.

  29. case class ParsedTimeOnly(id: Id = ImplicitId, required: Option[Boolean] = None) extends ParsedDate with Product with Serializable

    Permalink

    time-only The "partial-time" notation of RFC3339, namely hh:mm:ss[.ff...].

    time-only The "partial-time" notation of RFC3339, namely hh:mm:ss[.ff...]. Does not support date or time zone-offset notation.

    example: 12:30:00

  30. trait ParsedType extends Identifiable

    Permalink

    Created by peter on 10/02/16.

  31. case class ParsedTypeReference(refersTo: Id, id: Id = ImplicitId, required: Option[Boolean] = None, genericTypes: List[ParsedType] = List.empty, fragments: Fragments = Fragments(), model: TypeModel = RamlModel) extends NonPrimitiveType with AllowedAsObjectField with Fragmented with Product with Serializable

    Permalink

    Created by peter on 1/04/16.

  32. case class ParsedUnionType(types: Set[ParsedType], required: Option[Boolean] = None, model: TypeModel = RamlModel, id: Id = ImplicitId) extends NonPrimitiveType with AllowedAsObjectField with Product with Serializable

    Permalink

    Created by peter on 1/11/16.

  33. trait PrimitiveType extends ParsedType

    Permalink
  34. case class PropertyDeclaration(typeName: String, required: Boolean = true) extends Product with Serializable

    Permalink

    Created by peter on 25/03/16.

  35. sealed trait Selection extends AnyRef

    Permalink

    Created by peter on 25/03/16.

  36. case class Types(typeReferences: Map[NativeId, ParsedType] = Map.empty) extends Product with Serializable

    Permalink

    Created by peter on 10/02/16.

Value Members

  1. object Fragments extends Serializable

    Permalink
  2. object InlineTypeDeclaration

    Permalink

    Created by peter on 1/09/16.

  3. object ParsedArray extends Serializable

    Permalink
  4. object ParsedBoolean extends Serializable

    Permalink
  5. object ParsedDateOnly extends Product with Serializable

    Permalink
  6. object ParsedDateTime

    Permalink
  7. object ParsedDateTimeDefault extends Product with Serializable

    Permalink
  8. object ParsedDateTimeOnly extends Product with Serializable

    Permalink
  9. object ParsedDateTimeRFC2616 extends Product with Serializable

    Permalink
  10. object ParsedEnum extends Serializable

    Permalink
  11. object ParsedFile extends Product with Serializable

    Permalink
  12. object ParsedFragmentContainer

    Permalink

    Created by peter on 22/12/16.

  13. object ParsedGenericObject extends Serializable

    Permalink
  14. object ParsedInteger extends Serializable

    Permalink
  15. object ParsedMultipleInheritance extends Serializable

    Permalink
  16. object ParsedNull extends Serializable

    Permalink
  17. object ParsedNumber extends Serializable

    Permalink
  18. object ParsedObject extends Serializable

    Permalink
  19. object ParsedProperties extends Serializable

    Permalink
  20. object ParsedString extends Serializable

    Permalink
  21. object ParsedTimeOnly extends Product with Serializable

    Permalink
  22. object ParsedType

    Permalink
  23. object ParsedTypeReference extends Serializable

    Permalink
  24. object ParsedUnionType extends Serializable

    Permalink
  25. object PrimitiveType

    Permalink
  26. object Types extends Serializable

    Permalink

Ungrouped