- All Superinterfaces:
Prototype.Api,SchemaItem
- All Known Implementing Classes:
SchemaNumber.BuilderBase.SchemaNumberImpl
Json schema related to the numbers.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forSchemaNumber.static classSchemaNumber.BuilderBase<BUILDER extends SchemaNumber.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends SchemaNumber> Fluent API builder base forSchemaNumber. -
Method Summary
Modifier and TypeMethodDescriptionstatic SchemaNumber.Builderbuilder()Create a new fluent API builder to customize configuration.static SchemaNumber.Builderbuilder(SchemaNumber instance) Create a new fluent API builder from an existing instance.static SchemaNumbercreate()Create a new instance with default values.Maximal exclusive value of the number.Minimal exclusive value of the number.default voidgenerate(Hson.Struct.Builder builder) maximum()Maximal value of the number.minimum()Minimal value of the number.Value restriction to be a multiple of a given number.Methods inherited from interface io.helidon.json.schema.SchemaItem
description, required, schemaType, title
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance with default values.- Returns:
- a new instance
-
multipleOf
Value restriction to be a multiple of a given number.- Returns:
- multiple value restriction
-
minimum
Minimal value of the number. Cannot be higher than maximal configured value. Mutually exclusive toexclusiveMinimum().- Returns:
- minimal value
-
maximum
Maximal value of the number. Cannot be lower than minimal configured value. Mutually exclusive toexclusiveMaximum().- Returns:
- maximal value
-
exclusiveMaximum
Maximal exclusive value of the number. Cannot be lower than minimal configured value. Mutually exclusive tomaximum().- Returns:
- maximal exclusive value
-
exclusiveMinimum
Minimal exclusive value of the number. Cannot be higher than maximal configured value. Mutually exclusive tominimum().- Returns:
- minimal exclusive value
-
schemaType
SchemaType schemaType() -
generate
-