final case class JsonoidParams(additionalProperties: Boolean = false, er: EquivalenceRelation = EquivalenceRelations.KindEquivalenceRelation, extendedFormats: Boolean = false, formatThreshold: Float = 1.0f, maxExamples: Int = 100, propSet: PropertySet = PropertySets.AllProperties, resetFormatLength: Boolean = false) extends Product with Serializable
Parameters used during the discovery process.
- additionalProperties
whether
additionalProperties
is set to true in generated schemas- er
the equivalence relation to use during the discovery process
- extendedFormats
whether to include extended formats
- formatThreshold
the fraction of values that must match a given format for schemas.FormatProperty to consider the format valid
- maxExamples
the maximum number of examples to be kept for any examples property
- resetFormatLength
whether to reset max/min length of strings with schemas.FormatProperty
- Alphabetic
- By Inheritance
- JsonoidParams
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new JsonoidParams(additionalProperties: Boolean = false, er: EquivalenceRelation = EquivalenceRelations.KindEquivalenceRelation, extendedFormats: Boolean = false, formatThreshold: Float = 1.0f, maxExamples: Int = 100, propSet: PropertySet = PropertySets.AllProperties, resetFormatLength: Boolean = false)
- additionalProperties
whether
additionalProperties
is set to true in generated schemas- er
the equivalence relation to use during the discovery process
- extendedFormats
whether to include extended formats
- formatThreshold
the fraction of values that must match a given format for schemas.FormatProperty to consider the format valid
- maxExamples
the maximum number of examples to be kept for any examples property
- resetFormatLength
whether to reset max/min length of strings with schemas.FormatProperty
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val additionalProperties: Boolean
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val er: EquivalenceRelation
- val extendedFormats: Boolean
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val formatThreshold: Float
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxExamples: Int
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val propSet: PropertySet
- val resetFormatLength: Boolean
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withAdditionalProperties(newAdditionalProperties: Boolean): JsonoidParams
- def withER(newER: EquivalenceRelation): JsonoidParams
- def withExtendedFormats(newExtendedFormats: Boolean): JsonoidParams
- def withFormatThreshold(newFormatThreshold: Float): JsonoidParams
- def withMaxExamples(newMaxExamples: Int): JsonoidParams
- def withPropertySet(newPropSet: PropertySet): JsonoidParams
- def withResetFormatLength(newResetFormatLength: Boolean): JsonoidParams