email.schema.json
7 months ago
number.schema.json
7 months ago
password.schema.json
7 months ago
range.schema.json
7 months ago
text.schema.json
7 months ago
textarea.schema.json
7 months ago
url.schema.json
7 months ago
range.schema.json
30 lines
| 1 | { |
| 2 | "title": "SCF Range Field Fragment", |
| 3 | "description": "Type-specific properties for range slider fields", |
| 4 | "type": "object", |
| 5 | "properties": { |
| 6 | "type": { |
| 7 | "enum": [ "range" ] |
| 8 | }, |
| 9 | "default_value": { "$ref": "#/definitions/default_value_numeric" }, |
| 10 | "min": { |
| 11 | "type": [ "integer", "number", "string" ], |
| 12 | "default": "", |
| 13 | "description": "Minimum value (empty string for unlimited)" |
| 14 | }, |
| 15 | "max": { |
| 16 | "type": [ "integer", "number", "string" ], |
| 17 | "default": "", |
| 18 | "description": "Maximum value (empty string for unlimited)" |
| 19 | }, |
| 20 | "step": { |
| 21 | "type": [ "integer", "number", "string" ], |
| 22 | "default": "", |
| 23 | "description": "Step increment (empty string for default, 'any' for no restriction)" |
| 24 | }, |
| 25 | "placeholder": { "$ref": "#/definitions/placeholder" }, |
| 26 | "prepend": { "$ref": "#/definitions/prepend" }, |
| 27 | "append": { "$ref": "#/definitions/append" } |
| 28 | } |
| 29 | } |
| 30 |