48 lines
1.3 KiB
JSON
48 lines
1.3 KiB
JSON
{
|
|
"_comment": "INVALID DOCUMENT — intentionally fails schema validation. Do not use as a template.",
|
|
"_errors": [
|
|
"project.pages[0].components[0].properties.options[0]: missing required property 'value'",
|
|
"project.pages[0].components[0].properties.options[1]: 'label' must be a string (got integer)"
|
|
],
|
|
|
|
"$schema": "../../shared/schemas/conductor-project.schema.json",
|
|
"schemaVersion": "0.1.0",
|
|
"project": {
|
|
"id": "proj_invalid_dropdown_option",
|
|
"name": "Invalid Dropdown Option Shape",
|
|
|
|
"pages": [
|
|
{
|
|
"id": "page_main",
|
|
"name": "Main Page",
|
|
"components": [
|
|
{
|
|
"id": "dropdown_bad",
|
|
"type": "Dropdown",
|
|
"name": "badDropdown",
|
|
"position": { "x": 40, "y": 40 },
|
|
"size": { "width": 260, "height": 72 },
|
|
"properties": {
|
|
"label": "Broken Dropdown",
|
|
"placeholder": "Select",
|
|
"options": [
|
|
{ "label": "Only label, no value" },
|
|
{ "label": 42, "value": "prod" }
|
|
],
|
|
"value": "",
|
|
"visible": true,
|
|
"disabled": false
|
|
},
|
|
"events": []
|
|
}
|
|
]
|
|
}
|
|
],
|
|
|
|
"actions": [],
|
|
"bindings": [],
|
|
"variables": {},
|
|
"settings": {}
|
|
}
|
|
}
|