Update schema to make label and type optional
All checks were successful
Tests / test (push) Successful in 28s
All checks were successful
Tests / test (push) Successful in 28s
This commit is contained in:
parent
f3e14b4c85
commit
45f17cabaa
1 changed files with 2 additions and 2 deletions
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue