color-picker.schema.json
7 months ago
date-picker.schema.json
7 months ago
date-time-picker.schema.json
7 months ago
google-map.schema.json
7 months ago
icon-picker.schema.json
7 months ago
time-picker.schema.json
7 months ago
color-picker.schema.json
38 lines
| 1 | { |
| 2 | "title": "SCF Color Picker Field Fragment", |
| 3 | "description": "Type-specific properties for color picker fields", |
| 4 | "type": "object", |
| 5 | "properties": { |
| 6 | "type": { |
| 7 | "enum": [ "color_picker" ] |
| 8 | }, |
| 9 | "default_value": { "$ref": "#/definitions/default_value" }, |
| 10 | "enable_opacity": { |
| 11 | "type": [ "boolean", "integer" ], |
| 12 | "default": false, |
| 13 | "description": "Enable alpha/opacity selector for RGBA colors" |
| 14 | }, |
| 15 | "custom_palette_source": { |
| 16 | "type": "string", |
| 17 | "default": "", |
| 18 | "description": "Source for custom color palette (empty for default)" |
| 19 | }, |
| 20 | "palette_colors": { |
| 21 | "type": "string", |
| 22 | "default": "", |
| 23 | "description": "Custom palette colors as comma-separated hex values" |
| 24 | }, |
| 25 | "show_color_wheel": { |
| 26 | "type": [ "boolean", "integer" ], |
| 27 | "default": true, |
| 28 | "description": "Display the color wheel picker interface" |
| 29 | }, |
| 30 | "return_format": { |
| 31 | "type": "string", |
| 32 | "enum": [ "string", "array" ], |
| 33 | "default": "string", |
| 34 | "description": "Value returned (hex string or RGBA array)" |
| 35 | } |
| 36 | } |
| 37 | } |
| 38 |