final case class JSONSchemaProps(exclusiveMaximum: Option[Boolean] = None, format: Option[String] = None, ref: Option[String] = None, nullable: Option[Boolean] = None, x-kubernetes-map-type: Option[String] = None, pattern: Option[String] = None, description: Option[String] = None, anyOf: Option[Seq[JSONSchemaProps]] = None, x-kubernetes-list-type: Option[String] = None, patternProperties: Option[Map[String, JSONSchemaProps]] = None, items: Option[JSONSchemaPropsOrArray] = None, additionalItems: Option[JSONSchemaPropsOrBool] = None, maxProperties: Option[Int] = None, maxItems: Option[Int] = None, x-kubernetes-int-or-string: Option[Boolean] = None, x-kubernetes-embedded-resource: Option[Boolean] = None, maximum: Option[Double] = None, multipleOf: Option[Double] = None, id: Option[String] = None, properties: Option[Map[String, JSONSchemaProps]] = None, exclusiveMinimum: Option[Boolean] = None, x-kubernetes-validations: Option[Seq[ValidationRule]] = None, enum: Option[Seq[JSON]] = None, x-kubernetes-preserve-unknown-fields: Option[Boolean] = None, additionalProperties: Option[JSONSchemaPropsOrBool] = None, default: Option[JSON] = None, minItems: Option[Int] = None, not: Option[JSONSchemaProps] = None, definitions: Option[Map[String, JSONSchemaProps]] = None, minLength: Option[Int] = None, x-kubernetes-list-map-keys: Option[Seq[String]] = None, title: Option[String] = None, minimum: Option[Double] = None, type: Option[String] = None, required: Option[Seq[String]] = None, example: Option[JSON] = None, schema: Option[String] = None, oneOf: Option[Seq[JSONSchemaProps]] = None, uniqueItems: Option[Boolean] = None, minProperties: Option[Int] = None, dependencies: Option[Map[String, JSONSchemaPropsOrStringArray]] = None, externalDocs: Option[ExternalDocumentation] = None, maxLength: Option[Int] = None, allOf: Option[Seq[JSONSchemaProps]] = None) extends Product with Serializable

JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).

Source
JSONSchemaProps.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JSONSchemaProps
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new JSONSchemaProps(exclusiveMaximum: Option[Boolean] = None, format: Option[String] = None, ref: Option[String] = None, nullable: Option[Boolean] = None, x-kubernetes-map-type: Option[String] = None, pattern: Option[String] = None, description: Option[String] = None, anyOf: Option[Seq[JSONSchemaProps]] = None, x-kubernetes-list-type: Option[String] = None, patternProperties: Option[Map[String, JSONSchemaProps]] = None, items: Option[JSONSchemaPropsOrArray] = None, additionalItems: Option[JSONSchemaPropsOrBool] = None, maxProperties: Option[Int] = None, maxItems: Option[Int] = None, x-kubernetes-int-or-string: Option[Boolean] = None, x-kubernetes-embedded-resource: Option[Boolean] = None, maximum: Option[Double] = None, multipleOf: Option[Double] = None, id: Option[String] = None, properties: Option[Map[String, JSONSchemaProps]] = None, exclusiveMinimum: Option[Boolean] = None, x-kubernetes-validations: Option[Seq[ValidationRule]] = None, enum: Option[Seq[JSON]] = None, x-kubernetes-preserve-unknown-fields: Option[Boolean] = None, additionalProperties: Option[JSONSchemaPropsOrBool] = None, default: Option[JSON] = None, minItems: Option[Int] = None, not: Option[JSONSchemaProps] = None, definitions: Option[Map[String, JSONSchemaProps]] = None, minLength: Option[Int] = None, x-kubernetes-list-map-keys: Option[Seq[String]] = None, title: Option[String] = None, minimum: Option[Double] = None, type: Option[String] = None, required: Option[Seq[String]] = None, example: Option[JSON] = None, schema: Option[String] = None, oneOf: Option[Seq[JSONSchemaProps]] = None, uniqueItems: Option[Boolean] = None, minProperties: Option[Int] = None, dependencies: Option[Map[String, JSONSchemaPropsOrStringArray]] = None, externalDocs: Option[ExternalDocumentation] = None, maxLength: Option[Int] = None, allOf: Option[Seq[JSONSchemaProps]] = None)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAllOf(newValues: JSONSchemaProps*): JSONSchemaProps

    Appends new values to allOf

  5. def addAnyOf(newValues: JSONSchemaProps*): JSONSchemaProps

    Appends new values to anyOf

  6. def addDefinitions(newValues: (String, JSONSchemaProps)*): JSONSchemaProps

    Adds new values to definitions

  7. def addDependencies(newValues: (String, JSONSchemaPropsOrStringArray)*): JSONSchemaProps

    Adds new values to dependencies

  8. def addEnum(newValues: JSON*): JSONSchemaProps

    Appends new values to enum

  9. def addOneOf(newValues: JSONSchemaProps*): JSONSchemaProps

    Appends new values to oneOf

  10. def addPatternProperties(newValues: (String, JSONSchemaProps)*): JSONSchemaProps

    Adds new values to patternProperties

  11. def addProperties(newValues: (String, JSONSchemaProps)*): JSONSchemaProps

    Adds new values to properties

  12. def addRequired(newValues: String*): JSONSchemaProps

    Appends new values to required

  13. def addXKubernetesListMapKeys(newValues: String*): JSONSchemaProps

    Appends new values to x-kubernetes-list-map-keys

  14. def addXKubernetesValidations(newValues: ValidationRule*): JSONSchemaProps

    Appends new values to x-kubernetes-validations

  15. val additionalItems: Option[JSONSchemaPropsOrBool]
  16. val additionalProperties: Option[JSONSchemaPropsOrBool]
  17. val allOf: Option[Seq[JSONSchemaProps]]
  18. val anyOf: Option[Seq[JSONSchemaProps]]
  19. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  20. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  21. val default: Option[JSON]
  22. val definitions: Option[Map[String, JSONSchemaProps]]
  23. val dependencies: Option[Map[String, JSONSchemaPropsOrStringArray]]
  24. val description: Option[String]
  25. val enum: Option[Seq[JSON]]
  26. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. val example: Option[JSON]
  28. val exclusiveMaximum: Option[Boolean]
  29. val exclusiveMinimum: Option[Boolean]
  30. val externalDocs: Option[ExternalDocumentation]
  31. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  32. val format: Option[String]
  33. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  34. val id: Option[String]
  35. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  36. val items: Option[JSONSchemaPropsOrArray]
  37. def mapAdditionalItems(f: (JSONSchemaPropsOrBool) => JSONSchemaPropsOrBool): JSONSchemaProps

    if additionalItems has a value, transforms to the result of function

  38. def mapAdditionalProperties(f: (JSONSchemaPropsOrBool) => JSONSchemaPropsOrBool): JSONSchemaProps

    if additionalProperties has a value, transforms to the result of function

  39. def mapAllOf(f: (Seq[JSONSchemaProps]) => Seq[JSONSchemaProps]): JSONSchemaProps

    if allOf has a value, transforms to the result of function

  40. def mapAnyOf(f: (Seq[JSONSchemaProps]) => Seq[JSONSchemaProps]): JSONSchemaProps

    if anyOf has a value, transforms to the result of function

  41. def mapDefault(f: (JSON) => JSON): JSONSchemaProps

    if default has a value, transforms to the result of function

  42. def mapDefinitions(f: (Map[String, JSONSchemaProps]) => Map[String, JSONSchemaProps]): JSONSchemaProps

    if definitions has a value, transforms to the result of function

  43. def mapDependencies(f: (Map[String, JSONSchemaPropsOrStringArray]) => Map[String, JSONSchemaPropsOrStringArray]): JSONSchemaProps

    if dependencies has a value, transforms to the result of function

  44. def mapDescription(f: (String) => String): JSONSchemaProps

    if description has a value, transforms to the result of function

  45. def mapEnum(f: (Seq[JSON]) => Seq[JSON]): JSONSchemaProps

    if enum has a value, transforms to the result of function

  46. def mapExample(f: (JSON) => JSON): JSONSchemaProps

    if example has a value, transforms to the result of function

  47. def mapExclusiveMaximum(f: (Boolean) => Boolean): JSONSchemaProps

    if exclusiveMaximum has a value, transforms to the result of function

  48. def mapExclusiveMinimum(f: (Boolean) => Boolean): JSONSchemaProps

    if exclusiveMinimum has a value, transforms to the result of function

  49. def mapExternalDocs(f: (ExternalDocumentation) => ExternalDocumentation): JSONSchemaProps

    if externalDocs has a value, transforms to the result of function

  50. def mapFormat(f: (String) => String): JSONSchemaProps

    if format has a value, transforms to the result of function

  51. def mapId(f: (String) => String): JSONSchemaProps

    if id has a value, transforms to the result of function

  52. def mapItems(f: (JSONSchemaPropsOrArray) => JSONSchemaPropsOrArray): JSONSchemaProps

    if items has a value, transforms to the result of function

  53. def mapMaxItems(f: (Int) => Int): JSONSchemaProps

    if maxItems has a value, transforms to the result of function

  54. def mapMaxLength(f: (Int) => Int): JSONSchemaProps

    if maxLength has a value, transforms to the result of function

  55. def mapMaxProperties(f: (Int) => Int): JSONSchemaProps

    if maxProperties has a value, transforms to the result of function

  56. def mapMaximum(f: (Double) => Double): JSONSchemaProps

    if maximum has a value, transforms to the result of function

  57. def mapMinItems(f: (Int) => Int): JSONSchemaProps

    if minItems has a value, transforms to the result of function

  58. def mapMinLength(f: (Int) => Int): JSONSchemaProps

    if minLength has a value, transforms to the result of function

  59. def mapMinProperties(f: (Int) => Int): JSONSchemaProps

    if minProperties has a value, transforms to the result of function

  60. def mapMinimum(f: (Double) => Double): JSONSchemaProps

    if minimum has a value, transforms to the result of function

  61. def mapMultipleOf(f: (Double) => Double): JSONSchemaProps

    if multipleOf has a value, transforms to the result of function

  62. def mapNot(f: (JSONSchemaProps) => JSONSchemaProps): JSONSchemaProps

    if not has a value, transforms to the result of function

  63. def mapNullable(f: (Boolean) => Boolean): JSONSchemaProps

    if nullable has a value, transforms to the result of function

  64. def mapOneOf(f: (Seq[JSONSchemaProps]) => Seq[JSONSchemaProps]): JSONSchemaProps

    if oneOf has a value, transforms to the result of function

  65. def mapPattern(f: (String) => String): JSONSchemaProps

    if pattern has a value, transforms to the result of function

  66. def mapPatternProperties(f: (Map[String, JSONSchemaProps]) => Map[String, JSONSchemaProps]): JSONSchemaProps

    if patternProperties has a value, transforms to the result of function

  67. def mapProperties(f: (Map[String, JSONSchemaProps]) => Map[String, JSONSchemaProps]): JSONSchemaProps

    if properties has a value, transforms to the result of function

  68. def mapRef(f: (String) => String): JSONSchemaProps

    if ref has a value, transforms to the result of function

  69. def mapRequired(f: (Seq[String]) => Seq[String]): JSONSchemaProps

    if required has a value, transforms to the result of function

  70. def mapSchema(f: (String) => String): JSONSchemaProps

    if schema has a value, transforms to the result of function

  71. def mapTitle(f: (String) => String): JSONSchemaProps

    if title has a value, transforms to the result of function

  72. def mapType(f: (String) => String): JSONSchemaProps

    if type has a value, transforms to the result of function

  73. def mapUniqueItems(f: (Boolean) => Boolean): JSONSchemaProps

    if uniqueItems has a value, transforms to the result of function

  74. def mapXKubernetesEmbeddedResource(f: (Boolean) => Boolean): JSONSchemaProps

    if x-kubernetes-embedded-resource has a value, transforms to the result of function

  75. def mapXKubernetesIntOrString(f: (Boolean) => Boolean): JSONSchemaProps

    if x-kubernetes-int-or-string has a value, transforms to the result of function

  76. def mapXKubernetesListMapKeys(f: (Seq[String]) => Seq[String]): JSONSchemaProps

    if x-kubernetes-list-map-keys has a value, transforms to the result of function

  77. def mapXKubernetesListType(f: (String) => String): JSONSchemaProps

    if x-kubernetes-list-type has a value, transforms to the result of function

  78. def mapXKubernetesMapType(f: (String) => String): JSONSchemaProps

    if x-kubernetes-map-type has a value, transforms to the result of function

  79. def mapXKubernetesPreserveUnknownFields(f: (Boolean) => Boolean): JSONSchemaProps

    if x-kubernetes-preserve-unknown-fields has a value, transforms to the result of function

  80. def mapXKubernetesValidations(f: (Seq[ValidationRule]) => Seq[ValidationRule]): JSONSchemaProps

    if x-kubernetes-validations has a value, transforms to the result of function

  81. val maxItems: Option[Int]
  82. val maxLength: Option[Int]
  83. val maxProperties: Option[Int]
  84. val maximum: Option[Double]
  85. val minItems: Option[Int]
  86. val minLength: Option[Int]
  87. val minProperties: Option[Int]
  88. val minimum: Option[Double]
  89. val multipleOf: Option[Double]
  90. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  91. val not: Option[JSONSchemaProps]
  92. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  93. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  94. val nullable: Option[Boolean]
  95. val oneOf: Option[Seq[JSONSchemaProps]]
  96. val pattern: Option[String]
  97. val patternProperties: Option[Map[String, JSONSchemaProps]]
  98. def productElementNames: Iterator[String]
    Definition Classes
    Product
  99. val properties: Option[Map[String, JSONSchemaProps]]
  100. val ref: Option[String]
  101. val required: Option[Seq[String]]
  102. val schema: Option[String]
  103. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  104. val title: Option[String]
  105. val type: Option[String]
  106. val uniqueItems: Option[Boolean]
  107. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  108. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  109. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  110. def withAdditionalItems(value: JSONSchemaPropsOrBool): JSONSchemaProps

    Returns a new data with additionalItems set to new value

  111. def withAdditionalProperties(value: JSONSchemaPropsOrBool): JSONSchemaProps

    Returns a new data with additionalProperties set to new value

  112. def withAllOf(value: Seq[JSONSchemaProps]): JSONSchemaProps

    Returns a new data with allOf set to new value

  113. def withAnyOf(value: Seq[JSONSchemaProps]): JSONSchemaProps

    Returns a new data with anyOf set to new value

  114. def withDefault(value: JSON): JSONSchemaProps

    Returns a new data with default set to new value

  115. def withDefinitions(value: Map[String, JSONSchemaProps]): JSONSchemaProps

    Returns a new data with definitions set to new value

  116. def withDependencies(value: Map[String, JSONSchemaPropsOrStringArray]): JSONSchemaProps

    Returns a new data with dependencies set to new value

  117. def withDescription(value: String): JSONSchemaProps

    Returns a new data with description set to new value

  118. def withEnum(value: Seq[JSON]): JSONSchemaProps

    Returns a new data with enum set to new value

  119. def withExample(value: JSON): JSONSchemaProps

    Returns a new data with example set to new value

  120. def withExclusiveMaximum(value: Boolean): JSONSchemaProps

    Returns a new data with exclusiveMaximum set to new value

  121. def withExclusiveMinimum(value: Boolean): JSONSchemaProps

    Returns a new data with exclusiveMinimum set to new value

  122. def withExternalDocs(value: ExternalDocumentation): JSONSchemaProps

    Returns a new data with externalDocs set to new value

  123. def withFormat(value: String): JSONSchemaProps

    Returns a new data with format set to new value

  124. def withId(value: String): JSONSchemaProps

    Returns a new data with id set to new value

  125. def withItems(value: JSONSchemaPropsOrArray): JSONSchemaProps

    Returns a new data with items set to new value

  126. def withMaxItems(value: Int): JSONSchemaProps

    Returns a new data with maxItems set to new value

  127. def withMaxLength(value: Int): JSONSchemaProps

    Returns a new data with maxLength set to new value

  128. def withMaxProperties(value: Int): JSONSchemaProps

    Returns a new data with maxProperties set to new value

  129. def withMaximum(value: Double): JSONSchemaProps

    Returns a new data with maximum set to new value

  130. def withMinItems(value: Int): JSONSchemaProps

    Returns a new data with minItems set to new value

  131. def withMinLength(value: Int): JSONSchemaProps

    Returns a new data with minLength set to new value

  132. def withMinProperties(value: Int): JSONSchemaProps

    Returns a new data with minProperties set to new value

  133. def withMinimum(value: Double): JSONSchemaProps

    Returns a new data with minimum set to new value

  134. def withMultipleOf(value: Double): JSONSchemaProps

    Returns a new data with multipleOf set to new value

  135. def withNot(value: JSONSchemaProps): JSONSchemaProps

    Returns a new data with not set to new value

  136. def withNullable(value: Boolean): JSONSchemaProps

    Returns a new data with nullable set to new value

  137. def withOneOf(value: Seq[JSONSchemaProps]): JSONSchemaProps

    Returns a new data with oneOf set to new value

  138. def withPattern(value: String): JSONSchemaProps

    Returns a new data with pattern set to new value

  139. def withPatternProperties(value: Map[String, JSONSchemaProps]): JSONSchemaProps

    Returns a new data with patternProperties set to new value

  140. def withProperties(value: Map[String, JSONSchemaProps]): JSONSchemaProps

    Returns a new data with properties set to new value

  141. def withRef(value: String): JSONSchemaProps

    Returns a new data with ref set to new value

  142. def withRequired(value: Seq[String]): JSONSchemaProps

    Returns a new data with required set to new value

  143. def withSchema(value: String): JSONSchemaProps

    Returns a new data with schema set to new value

  144. def withTitle(value: String): JSONSchemaProps

    Returns a new data with title set to new value

  145. def withType(value: String): JSONSchemaProps

    Returns a new data with type set to new value

  146. def withUniqueItems(value: Boolean): JSONSchemaProps

    Returns a new data with uniqueItems set to new value

  147. def withXKubernetesEmbeddedResource(value: Boolean): JSONSchemaProps

    Returns a new data with x-kubernetes-embedded-resource set to new value

  148. def withXKubernetesIntOrString(value: Boolean): JSONSchemaProps

    Returns a new data with x-kubernetes-int-or-string set to new value

  149. def withXKubernetesListMapKeys(value: Seq[String]): JSONSchemaProps

    Returns a new data with x-kubernetes-list-map-keys set to new value

  150. def withXKubernetesListType(value: String): JSONSchemaProps

    Returns a new data with x-kubernetes-list-type set to new value

  151. def withXKubernetesMapType(value: String): JSONSchemaProps

    Returns a new data with x-kubernetes-map-type set to new value

  152. def withXKubernetesPreserveUnknownFields(value: Boolean): JSONSchemaProps

    Returns a new data with x-kubernetes-preserve-unknown-fields set to new value

  153. def withXKubernetesValidations(value: Seq[ValidationRule]): JSONSchemaProps

    Returns a new data with x-kubernetes-validations set to new value

  154. val x-kubernetes-embedded-resource: Option[Boolean]
  155. val x-kubernetes-int-or-string: Option[Boolean]
  156. val x-kubernetes-list-map-keys: Option[Seq[String]]
  157. val x-kubernetes-list-type: Option[String]
  158. val x-kubernetes-map-type: Option[String]
  159. val x-kubernetes-preserve-unknown-fields: Option[Boolean]
  160. val x-kubernetes-validations: Option[Seq[ValidationRule]]

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped