Commit fc7cd79a authored by alexpott's avatar alexpott

Issue #1973450 by AjitS, vijaycs85, yched: Provide config schema to field...

Issue #1973450 by AjitS, vijaycs85, yched: Provide config schema to field types and storage in number module.
parent f1ce57ce
# Schema for configuration files of the number module.
field.number_integer.settings:
type: sequence
label: 'Integer settings'
sequence:
- type: string
label: 'setting'
field.number_integer.instance_settings:
type: mapping
label: 'Integer'
mapping:
min:
type: integer
label: 'Minimum'
max:
type: integer
label: 'Maximum'
prefix:
type: string
label: 'Prefix'
suffix:
type: string
label: 'Suffix'
field.number_integer.value:
type: sequence
label: 'Default value'
sequence:
- type: mapping
label: 'Default value'
mapping:
value:
type: integer
label: 'Value'
field.number_decimal.settings:
type: mapping
label: 'Decimal settings'
mapping:
precision:
type: integer
label: 'Precision'
scale:
type: integer
label: 'Scale'
field.number_decimal.instance_settings:
type: mapping
label: 'Decimal'
mapping:
min:
type: integer
label: 'Minimum'
max:
type: integer
label: 'Maximum'
prefix:
type: string
label: 'Prefix'
suffix:
type: string
label: 'Suffix'
field.number_decimal.value:
type: sequence
label: 'Default value'
sequence:
- type: mapping
label: 'Default value'
mapping:
value:
type: integer
label: 'Value'
field.number_float.settings:
type: sequence
label: 'Float settings'
sequence:
- type: string
label: 'setting'
field.number_float.instance_settings:
type: mapping
label: 'Float'
mapping:
min:
type: integer
label: 'Minimum'
max:
type: integer
label: 'Maximum'
prefix:
type: string
label: 'Prefix'
suffix:
type: string
label: 'Suffix'
field.number_float.value:
type: sequence
label: 'Default value'
sequence:
- type: mapping
label: 'Default value'
mapping:
value:
type: integer
label: 'Value'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment