50 lines
1.4 KiB
JSON
50 lines
1.4 KiB
JSON
{
|
|
"_comment": "INVALID DOCUMENT — intentionally fails schema validation. Do not use as a template.",
|
|
"_errors": [
|
|
"Missing required top-level field: 'schemaVersion'",
|
|
"project.id is missing (required)",
|
|
"project.pages is missing (required)",
|
|
"project.actions is missing (required)",
|
|
"project.bindings is missing (required)",
|
|
"project.variables is missing (required)",
|
|
"project.settings is missing (required)",
|
|
"project.pages[0].components is missing (required)",
|
|
"project.pages[0].components[0].position is missing (required)",
|
|
"project.pages[0].components[0].size is missing (required)",
|
|
"project.pages[0].components[0].type uses a value not in the allowed enum",
|
|
"project.actions[0].method uses a value not in the allowed enum",
|
|
"project.actions[0].url is missing (required)",
|
|
"project.actions[0].authenticationType is missing (required)"
|
|
],
|
|
|
|
"project": {
|
|
"name": "Broken Project",
|
|
|
|
"pages": [
|
|
{
|
|
"id": "page_1",
|
|
"name": "Page One",
|
|
|
|
"components": [
|
|
{
|
|
"id": "cmp_bad",
|
|
"type": "UnknownWidget",
|
|
"name": "badWidget"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
|
|
"actions": [
|
|
{
|
|
"id": "action_bad",
|
|
"name": "Bad Action",
|
|
"method": "FETCH"
|
|
}
|
|
],
|
|
"bindings": [],
|
|
"variables": {},
|
|
"settings": {}
|
|
}
|
|
}
|