Class: NumericIntegerValidationSchema
Extends schema to define a integer-specific set of validation rules that can be used.
classDiagram
class NumericIntegerValidationSchema
click NumericIntegerValidationSchema href "../NumericIntegerValidationSchema/"
Schema <|-- NumericIntegerValidationSchema
click Schema href "../Schema/"
NumericIntegerValidationSchema : allowEmpty
NumericIntegerValidationSchema : dataType
NumericIntegerValidationSchema : maxValue
NumericIntegerValidationSchema : minValue
NumericIntegerValidationSchema : name
Inheritance
- Schema
- NumericIntegerValidationSchema
Attributes
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| allowEmpty | 0..1 boolean |
If true, indicates a value must be provided | direct |
| minValue | 0..1 integer |
If set, indicates the minimum allowed integer value the value must have to be... | direct |
| maxValue | 0..1 integer |
If set, indicates the maximum allowed integer value the value must have to be... | direct |
| name | 1 string |
The name of the schema rule | Schema |
| dataType | 1 string |
Indicates the expected data type for the user provided value | Schema |
This section is only relevant for contributors of the specification
LinkML Source
Direct
Details
name: NumericIntegerValidationSchema
description: Extends schema to define a integer-specific set of validation rules that
can be used.
from_schema: https://specification.margo.org/data-model
is_a: Schema
attributes:
allowEmpty:
name: allowEmpty
description: If true, indicates a value must be provided. Default is false if
not provided.
from_schema: https://specification.margo.org/application-schema
domain_of:
- TextValidationSchema
- BooleanValidationSchema
- NumericIntegerValidationSchema
- NumericDoubleValidationSchema
- SelectValidationSchema
range: boolean
required: false
minValue:
name: minValue
description: If set, indicates the minimum allowed integer value the value must
have to be considered valid.
from_schema: https://specification.margo.org/application-schema
domain_of:
- NumericIntegerValidationSchema
- NumericDoubleValidationSchema
range: integer
required: false
maxValue:
name: maxValue
description: If set, indicates the maximum allowed integer value the value must
have to be considered valid.
from_schema: https://specification.margo.org/application-schema
domain_of:
- NumericIntegerValidationSchema
- NumericDoubleValidationSchema
range: integer
required: false
Induced
Details
name: NumericIntegerValidationSchema
description: Extends schema to define a integer-specific set of validation rules that
can be used.
from_schema: https://specification.margo.org/data-model
is_a: Schema
attributes:
allowEmpty:
name: allowEmpty
description: If true, indicates a value must be provided. Default is false if
not provided.
from_schema: https://specification.margo.org/application-schema
alias: allowEmpty
owner: NumericIntegerValidationSchema
domain_of:
- TextValidationSchema
- BooleanValidationSchema
- NumericIntegerValidationSchema
- NumericDoubleValidationSchema
- SelectValidationSchema
range: boolean
required: false
minValue:
name: minValue
description: If set, indicates the minimum allowed integer value the value must
have to be considered valid.
from_schema: https://specification.margo.org/application-schema
alias: minValue
owner: NumericIntegerValidationSchema
domain_of:
- NumericIntegerValidationSchema
- NumericDoubleValidationSchema
range: integer
required: false
maxValue:
name: maxValue
description: If set, indicates the maximum allowed integer value the value must
have to be considered valid.
from_schema: https://specification.margo.org/application-schema
alias: maxValue
owner: NumericIntegerValidationSchema
domain_of:
- NumericIntegerValidationSchema
- NumericDoubleValidationSchema
range: integer
required: false
name:
name: name
description: The name of the schema rule. This used in the [setting](#setting-attributes)
to link the setting to the schema rule.
from_schema: https://specification.margo.org/application-schema
identifier: true
alias: name
owner: NumericIntegerValidationSchema
domain_of:
- Component
- Parameter
- DeploymentMetadata
- ApplicationMetadata
- Author
- Organization
- Section
- Setting
- Schema
- ComponentStatus
range: string
required: true
dataType:
name: dataType
description: Indicates the expected data type for the user provided value. Accepted
values are string, integer, double, boolean, array[string], array[integer],
array[double], array[boolean]. At a minimum, the provided parameter value MUST
match the schema's data type if no other validation rules are provided.
from_schema: https://specification.margo.org/application-schema
alias: dataType
owner: NumericIntegerValidationSchema
domain_of:
- Schema
range: string
required: true