File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,10 @@ type SchemaField struct {
39
39
Name string `json:"name,omitempty" validate:"required_for=datetime dropdown location locationbased onoff radio text typeahead png"`
40
40
Description string `json:"description,omitempty"`
41
41
Icon string `json:"icon,omitempty" validate:"forbidden_for=generated"`
42
- Visibility * SchemaVisibility `json:"visibility,omitempty" validate:"omitempty,dive "`
42
+ Visibility * SchemaVisibility `json:"visibility,omitempty" validate:"omitempty"`
43
43
44
44
Default string `json:"default,omitempty" validate:"required_for=dropdown onoff radio"`
45
- Options []SchemaOption `json:"options,omitempty" validate:"required_for=dropdown radio"`
45
+ Options []SchemaOption `json:"options,omitempty" validate:"required_for=dropdown radio,dive "`
46
46
Palette []string `json:"palette,omitempty"`
47
47
48
48
Source string `json:"source,omitempty" validate:"required_for=generated"`
You can’t perform that action at this time.
0 commit comments