Interface: NumberPropertyValidationSchema
Validation rules for numbers
Hierarchy​
↳
NumberPropertyValidationSchema
Properties​
integer​
• Optional
integer: boolean
Defined in​
lib/src/types/properties.ts:653
lessThan​
• Optional
lessThan: number
Defined in​
lib/src/types/properties.ts:649
max​
• Optional
max: number
Defined in​
lib/src/types/properties.ts:648
min​
• Optional
min: number
Defined in​
lib/src/types/properties.ts:647
moreThan​
• Optional
moreThan: number
Defined in​
lib/src/types/properties.ts:650
negative​
• Optional
negative: boolean
Defined in​
lib/src/types/properties.ts:652
positive​
• Optional
positive: boolean
Defined in​
lib/src/types/properties.ts:651
required​
• Optional
required: boolean
Is this field required
Inherited from​
PropertyValidationSchema.required
Defined in​
lib/src/types/properties.ts:620
requiredMessage​
• Optional
requiredMessage: string
Customize the required message when the property is not set
Inherited from​
PropertyValidationSchema.requiredMessage
Defined in​
lib/src/types/properties.ts:625
unique​
• Optional
unique: boolean
If the unique flag is set to true
, you can only have one entity in the
collection with this value.
Inherited from​
PropertyValidationSchema.unique
Defined in​
lib/src/types/properties.ts:631
uniqueInArray​
• Optional
uniqueInArray: boolean
If the uniqueInArray flag is set to true
, you can only have this value
once per entry in the parent ArrayProperty
. It has no effect if this
property is not a child of an ArrayProperty
. It works on direct
children of an ArrayProperty
or first level children of MapProperty
Inherited from​
PropertyValidationSchema.uniqueInArray