Update schema to make label and type optional
All checks were successful
Tests / test (push) Successful in 28s

This commit is contained in:
Tobias Kunze 2025-11-10 14:33:41 +01:00
parent f3e14b4c85
commit 45f17cabaa

View file

@ -23,12 +23,12 @@
"minItems": 1, "minItems": 1,
"items": { "items": {
"type": "object", "type": "object",
"required": ["type", "label", "controlplane_field_mapping"], "required": ["controlplane_field_mapping"],
"properties": { "properties": {
"type": { "type": {
"type": "string", "type": "string",
"description": "Field type", "description": "Field type",
"enum": ["text", "email", "textarea", "number", "choice", "checkbox", "array"] "enum": ["", "text", "email", "textarea", "number", "choice", "checkbox", "array"]
}, },
"label": { "label": {
"type": "string", "type": "string",