diff --git a/example_data/iqb-aspect-definition@1.1.0_cloze.json b/example_data/iqb-aspect-definition@1.1.0_cloze.json new file mode 100644 index 0000000000000000000000000000000000000000..998870cf8e7fb174d2ebe0eeba13c122dd3e1bd5 --- /dev/null +++ b/example_data/iqb-aspect-definition@1.1.0_cloze.json @@ -0,0 +1,137 @@ +{ + "unitDefinitionType": "iqb-aspect-definition@1.1.0", + "pages": [ + { + "sections": [ + { + "elements": [ + { + "id": "cloze_1", + "width": 450, + "height": 200, + "type": "cloze", + "positionProps": { + "dynamicPositioning": false, + "fixedSize": false, + "xPosition": 0, + "yPosition": 0, + "useMinHeight": false, + "gridColumnStart": 1, + "gridColumnEnd": 2, + "gridRowStart": 1, + "gridRowEnd": 2, + "marginLeft": 0, + "marginRight": 0, + "marginTop": 0, + "marginBottom": 0, + "zIndex": 0 + }, + "document": { + "type": "doc", + "content": [ + { + "type": "paragraph", + "attrs": { + "textAlign": "left", + "indent": null, + "indentSize": 20, + "hangingIndent": false, + "margin": 10 + }, + "content": [ + { + "type": "text", + "text": "dsas" + }, + { + "type": "TextField", + "attrs": { + "model": { + "id": "text-field_1", + "width": 190, + "height": 25, + "type": "text-field", + "readOnly": false, + "value": null, + "required": false, + "requiredWarnMessage": "Eingabe erforderlich", + "fontProps": { + "fontColor": "#000000", + "font": "Roboto", + "fontSize": 20, + "lineHeight": 120, + "bold": false, + "italic": false, + "underline": false + }, + "surfaceProps": { + "backgroundColor": "#d3d3d3" + } + } + } + }, + { + "type": "text", + "text": "dasda" + }, + { + "type": "TextField", + "attrs": { + "model": { + "id": "text-field_2", + "width": 190, + "height": 25, + "type": "text-field", + "readOnly": false, + "value": null, + "required": false, + "requiredWarnMessage": "Eingabe erforderlich", + "fontProps": { + "fontColor": "#000000", + "font": "Roboto", + "fontSize": 20, + "lineHeight": 120, + "bold": false, + "italic": false, + "underline": false + }, + "surfaceProps": { + "backgroundColor": "#d3d3d3" + } + } + } + } + ] + } + ] + }, + "fontProps": { + "fontColor": "#000000", + "font": "Roboto", + "fontSize": 20, + "lineHeight": 120, + "bold": false, + "italic": false, + "underline": false + } + } + ], + "height": 400, + "backgroundColor": "white", + "dynamicPositioning": false, + "autoColumnSize": true, + "autoRowSize": true, + "gridColumnSizes": "1fr 1fr", + "gridRowSizes": "1fr" + } + ], + "hasMaxWidth": false, + "maxWidth": 900, + "margin": 30, + "backgroundColor": "#ffffff", + "alwaysVisible": false, + "alwaysVisiblePagePosition": "left", + "alwaysVisibleAspectRatio": 50 + } + ] +}