@lessonkit/react 1.3.1 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -9
- package/block-catalog.v3.json +1530 -219
- package/dist/AssessmentLessonGuard-BzNPbjaV.d.cts +21 -0
- package/dist/AssessmentLessonGuard-BzNPbjaV.d.ts +21 -0
- package/dist/blocks-entry.cjs +6085 -0
- package/dist/blocks-entry.d.cts +471 -0
- package/dist/blocks-entry.d.ts +471 -0
- package/dist/blocks-entry.js +79 -0
- package/dist/chunk-5P23C2W3.js +5535 -0
- package/dist/chunk-7TJQJFYR.js +1982 -0
- package/dist/chunk-ELGQ4XI3.js +271 -0
- package/dist/index.cjs +4597 -740
- package/dist/index.d.cts +118 -282
- package/dist/index.d.ts +118 -282
- package/dist/index.js +550 -4292
- package/dist/testing.cjs +576 -0
- package/dist/testing.d.cts +16 -0
- package/dist/testing.d.ts +16 -0
- package/dist/testing.js +18 -0
- package/package.json +41 -27
package/block-catalog.v3.json
CHANGED
|
@@ -91,7 +91,11 @@
|
|
|
91
91
|
"InteractiveBook",
|
|
92
92
|
"Slide",
|
|
93
93
|
"SlideDeck",
|
|
94
|
-
"
|
|
94
|
+
"TimedCue",
|
|
95
|
+
"InteractiveVideo",
|
|
96
|
+
"AssessmentSequence",
|
|
97
|
+
"BranchingScenario",
|
|
98
|
+
"BranchNode"
|
|
95
99
|
],
|
|
96
100
|
"a11y": {
|
|
97
101
|
"element": "article",
|
|
@@ -139,7 +143,11 @@
|
|
|
139
143
|
"InteractiveBook",
|
|
140
144
|
"Slide",
|
|
141
145
|
"SlideDeck",
|
|
142
|
-
"
|
|
146
|
+
"TimedCue",
|
|
147
|
+
"InteractiveVideo",
|
|
148
|
+
"AssessmentSequence",
|
|
149
|
+
"BranchingScenario",
|
|
150
|
+
"BranchNode"
|
|
143
151
|
],
|
|
144
152
|
"a11y": {
|
|
145
153
|
"element": "section",
|
|
@@ -211,7 +219,11 @@
|
|
|
211
219
|
"InteractiveBook",
|
|
212
220
|
"Slide",
|
|
213
221
|
"SlideDeck",
|
|
214
|
-
"
|
|
222
|
+
"TimedCue",
|
|
223
|
+
"InteractiveVideo",
|
|
224
|
+
"AssessmentSequence",
|
|
225
|
+
"BranchingScenario",
|
|
226
|
+
"BranchNode"
|
|
215
227
|
],
|
|
216
228
|
"a11y": {
|
|
217
229
|
"element": "section",
|
|
@@ -280,7 +292,11 @@
|
|
|
280
292
|
"InteractiveBook",
|
|
281
293
|
"Slide",
|
|
282
294
|
"SlideDeck",
|
|
283
|
-
"
|
|
295
|
+
"TimedCue",
|
|
296
|
+
"InteractiveVideo",
|
|
297
|
+
"AssessmentSequence",
|
|
298
|
+
"BranchingScenario",
|
|
299
|
+
"BranchNode"
|
|
284
300
|
],
|
|
285
301
|
"a11y": {
|
|
286
302
|
"element": "section",
|
|
@@ -324,7 +340,11 @@
|
|
|
324
340
|
"InteractiveBook",
|
|
325
341
|
"Slide",
|
|
326
342
|
"SlideDeck",
|
|
327
|
-
"
|
|
343
|
+
"TimedCue",
|
|
344
|
+
"InteractiveVideo",
|
|
345
|
+
"AssessmentSequence",
|
|
346
|
+
"BranchingScenario",
|
|
347
|
+
"BranchNode"
|
|
328
348
|
],
|
|
329
349
|
"a11y": {
|
|
330
350
|
"element": "aside",
|
|
@@ -400,7 +420,11 @@
|
|
|
400
420
|
"Page",
|
|
401
421
|
"InteractiveBook",
|
|
402
422
|
"Slide",
|
|
403
|
-
"SlideDeck"
|
|
423
|
+
"SlideDeck",
|
|
424
|
+
"TimedCue",
|
|
425
|
+
"InteractiveVideo",
|
|
426
|
+
"BranchingScenario",
|
|
427
|
+
"BranchNode"
|
|
404
428
|
],
|
|
405
429
|
"a11y": {
|
|
406
430
|
"element": "section",
|
|
@@ -484,7 +508,11 @@
|
|
|
484
508
|
"Page",
|
|
485
509
|
"InteractiveBook",
|
|
486
510
|
"Slide",
|
|
487
|
-
"SlideDeck"
|
|
511
|
+
"SlideDeck",
|
|
512
|
+
"TimedCue",
|
|
513
|
+
"InteractiveVideo",
|
|
514
|
+
"BranchingScenario",
|
|
515
|
+
"BranchNode"
|
|
488
516
|
],
|
|
489
517
|
"a11y": {
|
|
490
518
|
"element": "section",
|
|
@@ -567,7 +595,11 @@
|
|
|
567
595
|
"Page",
|
|
568
596
|
"InteractiveBook",
|
|
569
597
|
"Slide",
|
|
570
|
-
"SlideDeck"
|
|
598
|
+
"SlideDeck",
|
|
599
|
+
"TimedCue",
|
|
600
|
+
"InteractiveVideo",
|
|
601
|
+
"BranchingScenario",
|
|
602
|
+
"BranchNode"
|
|
571
603
|
],
|
|
572
604
|
"a11y": {
|
|
573
605
|
"element": "section",
|
|
@@ -650,7 +682,11 @@
|
|
|
650
682
|
"Page",
|
|
651
683
|
"InteractiveBook",
|
|
652
684
|
"Slide",
|
|
653
|
-
"SlideDeck"
|
|
685
|
+
"SlideDeck",
|
|
686
|
+
"TimedCue",
|
|
687
|
+
"InteractiveVideo",
|
|
688
|
+
"BranchingScenario",
|
|
689
|
+
"BranchNode"
|
|
654
690
|
],
|
|
655
691
|
"a11y": {
|
|
656
692
|
"element": "section",
|
|
@@ -733,7 +769,11 @@
|
|
|
733
769
|
"Page",
|
|
734
770
|
"InteractiveBook",
|
|
735
771
|
"Slide",
|
|
736
|
-
"SlideDeck"
|
|
772
|
+
"SlideDeck",
|
|
773
|
+
"TimedCue",
|
|
774
|
+
"InteractiveVideo",
|
|
775
|
+
"BranchingScenario",
|
|
776
|
+
"BranchNode"
|
|
737
777
|
],
|
|
738
778
|
"a11y": {
|
|
739
779
|
"element": "section",
|
|
@@ -801,7 +841,11 @@
|
|
|
801
841
|
"InteractiveBook",
|
|
802
842
|
"Slide",
|
|
803
843
|
"SlideDeck",
|
|
804
|
-
"
|
|
844
|
+
"TimedCue",
|
|
845
|
+
"InteractiveVideo",
|
|
846
|
+
"AssessmentSequence",
|
|
847
|
+
"BranchingScenario",
|
|
848
|
+
"BranchNode"
|
|
805
849
|
],
|
|
806
850
|
"a11y": {
|
|
807
851
|
"element": "section",
|
|
@@ -827,231 +871,1315 @@
|
|
|
827
871
|
"Quiz",
|
|
828
872
|
"KnowledgeCheck",
|
|
829
873
|
"FindHotspot",
|
|
830
|
-
"FindMultipleHotspots"
|
|
874
|
+
"FindMultipleHotspots",
|
|
875
|
+
"Summary",
|
|
876
|
+
"ImagePairing",
|
|
877
|
+
"ImageSequencing",
|
|
878
|
+
"ArithmeticQuiz",
|
|
879
|
+
"Essay"
|
|
831
880
|
],
|
|
832
881
|
"maxNestingDepth": 1
|
|
833
882
|
},
|
|
834
883
|
{
|
|
835
|
-
"type": "
|
|
836
|
-
"category": "
|
|
837
|
-
"
|
|
884
|
+
"type": "Summary",
|
|
885
|
+
"category": "assessment",
|
|
886
|
+
"assessmentContract": true,
|
|
887
|
+
"h5pMachineName": "H5P.Summary",
|
|
888
|
+
"h5pAlias": "Summary",
|
|
889
|
+
"description": "Construct a summary from a statement bank in correct order.",
|
|
838
890
|
"props": [
|
|
839
891
|
{
|
|
840
|
-
"name": "
|
|
841
|
-
"type": "
|
|
842
|
-
"required":
|
|
843
|
-
"description": "Stable
|
|
892
|
+
"name": "checkId",
|
|
893
|
+
"type": "CheckId",
|
|
894
|
+
"required": true,
|
|
895
|
+
"description": "Stable check id."
|
|
844
896
|
},
|
|
845
897
|
{
|
|
846
|
-
"name": "
|
|
847
|
-
"type": "
|
|
898
|
+
"name": "statements",
|
|
899
|
+
"type": "string[]",
|
|
848
900
|
"required": true,
|
|
849
|
-
"description": "
|
|
901
|
+
"description": "Available statements."
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
"name": "correct",
|
|
905
|
+
"type": "string[]",
|
|
906
|
+
"required": true,
|
|
907
|
+
"description": "Correct ordered summary."
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
"name": "enableRetry",
|
|
911
|
+
"type": "boolean",
|
|
912
|
+
"required": false,
|
|
913
|
+
"description": "Allow retry after completion."
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
"name": "enableSolutionsButton",
|
|
917
|
+
"type": "boolean",
|
|
918
|
+
"required": false,
|
|
919
|
+
"description": "Show solution control."
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
"name": "autoCheck",
|
|
923
|
+
"type": "boolean",
|
|
924
|
+
"required": false,
|
|
925
|
+
"description": "Check answers automatically when possible."
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"name": "passingScore",
|
|
929
|
+
"type": "number",
|
|
930
|
+
"required": false,
|
|
931
|
+
"description": "Minimum score to pass."
|
|
850
932
|
}
|
|
851
933
|
],
|
|
852
|
-
"requiredIds": [
|
|
934
|
+
"requiredIds": [
|
|
935
|
+
"checkId"
|
|
936
|
+
],
|
|
853
937
|
"parentConstraints": [
|
|
854
938
|
"Lesson",
|
|
939
|
+
"AssessmentSequence",
|
|
940
|
+
"TimedCue",
|
|
855
941
|
"Page",
|
|
856
942
|
"InteractiveBook",
|
|
857
943
|
"Slide",
|
|
858
944
|
"SlideDeck",
|
|
859
|
-
"
|
|
945
|
+
"InteractiveVideo",
|
|
946
|
+
"BranchingScenario",
|
|
947
|
+
"BranchNode"
|
|
860
948
|
],
|
|
861
949
|
"a11y": {
|
|
862
|
-
"element": "
|
|
863
|
-
"ariaLabel": "
|
|
864
|
-
"keyboard": "
|
|
865
|
-
"notes": "
|
|
950
|
+
"element": "section",
|
|
951
|
+
"ariaLabel": "Summary",
|
|
952
|
+
"keyboard": "Select statements in order.",
|
|
953
|
+
"notes": "H5P Summary equivalent."
|
|
866
954
|
},
|
|
867
955
|
"theming": {
|
|
868
956
|
"surface": "global-inherit",
|
|
869
|
-
"
|
|
957
|
+
"dataAttributes": [
|
|
958
|
+
"data-lk-check-id"
|
|
959
|
+
],
|
|
960
|
+
"stylingNotes": "Uses data-lk-check-id."
|
|
870
961
|
},
|
|
871
962
|
"telemetry": {
|
|
872
|
-
"emits": [
|
|
963
|
+
"emits": [
|
|
964
|
+
"assessment_answered",
|
|
965
|
+
"assessment_completed"
|
|
966
|
+
],
|
|
967
|
+
"requiresActiveLesson": true
|
|
873
968
|
}
|
|
874
969
|
},
|
|
875
970
|
{
|
|
876
|
-
"type": "
|
|
877
|
-
"category": "
|
|
878
|
-
"
|
|
971
|
+
"type": "ImagePairing",
|
|
972
|
+
"category": "assessment",
|
|
973
|
+
"assessmentContract": true,
|
|
974
|
+
"h5pMachineName": "H5P.ImagePair",
|
|
975
|
+
"h5pAlias": "Image Pairing",
|
|
976
|
+
"description": "Match image pairs in a memory-style task.",
|
|
879
977
|
"props": [
|
|
880
978
|
{
|
|
881
|
-
"name": "
|
|
882
|
-
"type": "
|
|
883
|
-
"required":
|
|
884
|
-
"description": "Stable
|
|
979
|
+
"name": "checkId",
|
|
980
|
+
"type": "CheckId",
|
|
981
|
+
"required": true,
|
|
982
|
+
"description": "Stable check id."
|
|
885
983
|
},
|
|
886
984
|
{
|
|
887
|
-
"name": "
|
|
888
|
-
"type": "
|
|
985
|
+
"name": "pairs",
|
|
986
|
+
"type": "ImagePair[]",
|
|
889
987
|
"required": true,
|
|
890
|
-
"description": "
|
|
988
|
+
"description": "Image pairs to match."
|
|
891
989
|
},
|
|
892
990
|
{
|
|
893
|
-
"name": "
|
|
894
|
-
"type": "
|
|
895
|
-
"required":
|
|
896
|
-
"description": "
|
|
991
|
+
"name": "enableRetry",
|
|
992
|
+
"type": "boolean",
|
|
993
|
+
"required": false,
|
|
994
|
+
"description": "Allow retry after completion."
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"name": "enableSolutionsButton",
|
|
998
|
+
"type": "boolean",
|
|
999
|
+
"required": false,
|
|
1000
|
+
"description": "Show solution control."
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
"name": "autoCheck",
|
|
1004
|
+
"type": "boolean",
|
|
1005
|
+
"required": false,
|
|
1006
|
+
"description": "Check answers automatically when possible."
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
"name": "passingScore",
|
|
1010
|
+
"type": "number",
|
|
1011
|
+
"required": false,
|
|
1012
|
+
"description": "Minimum score to pass."
|
|
897
1013
|
}
|
|
898
1014
|
],
|
|
899
|
-
"requiredIds": [
|
|
1015
|
+
"requiredIds": [
|
|
1016
|
+
"checkId"
|
|
1017
|
+
],
|
|
900
1018
|
"parentConstraints": [
|
|
901
1019
|
"Lesson",
|
|
1020
|
+
"AssessmentSequence",
|
|
1021
|
+
"TimedCue",
|
|
902
1022
|
"Page",
|
|
903
1023
|
"InteractiveBook",
|
|
904
1024
|
"Slide",
|
|
905
1025
|
"SlideDeck",
|
|
906
|
-
"
|
|
1026
|
+
"InteractiveVideo",
|
|
1027
|
+
"BranchingScenario",
|
|
1028
|
+
"BranchNode"
|
|
907
1029
|
],
|
|
908
1030
|
"a11y": {
|
|
909
|
-
"element": "
|
|
910
|
-
"ariaLabel": "
|
|
911
|
-
"keyboard": "
|
|
912
|
-
"notes": "
|
|
1031
|
+
"element": "section",
|
|
1032
|
+
"ariaLabel": "Image Pairing",
|
|
1033
|
+
"keyboard": "Select two cards to match.",
|
|
1034
|
+
"notes": "H5P Image Pairing equivalent."
|
|
913
1035
|
},
|
|
914
1036
|
"theming": {
|
|
915
1037
|
"surface": "global-inherit",
|
|
916
|
-
"
|
|
1038
|
+
"dataAttributes": [
|
|
1039
|
+
"data-lk-check-id"
|
|
1040
|
+
],
|
|
1041
|
+
"stylingNotes": "Uses data-lk-check-id."
|
|
917
1042
|
},
|
|
918
1043
|
"telemetry": {
|
|
919
|
-
"emits": [
|
|
1044
|
+
"emits": [
|
|
1045
|
+
"assessment_answered",
|
|
1046
|
+
"assessment_completed"
|
|
1047
|
+
],
|
|
1048
|
+
"requiresActiveLesson": true
|
|
920
1049
|
}
|
|
921
1050
|
},
|
|
922
1051
|
{
|
|
923
|
-
"type": "
|
|
924
|
-
"category": "
|
|
925
|
-
"
|
|
1052
|
+
"type": "ImageSequencing",
|
|
1053
|
+
"category": "assessment",
|
|
1054
|
+
"assessmentContract": true,
|
|
1055
|
+
"h5pMachineName": "H5P.ImageSequencing",
|
|
1056
|
+
"h5pAlias": "Image Sequencing",
|
|
1057
|
+
"description": "Order images in the correct sequence.",
|
|
926
1058
|
"props": [
|
|
927
1059
|
{
|
|
928
|
-
"name": "
|
|
929
|
-
"type": "
|
|
930
|
-
"required":
|
|
931
|
-
"description": "Stable
|
|
1060
|
+
"name": "checkId",
|
|
1061
|
+
"type": "CheckId",
|
|
1062
|
+
"required": true,
|
|
1063
|
+
"description": "Stable check id."
|
|
932
1064
|
},
|
|
933
1065
|
{
|
|
934
|
-
"name": "
|
|
935
|
-
"type": "
|
|
1066
|
+
"name": "images",
|
|
1067
|
+
"type": "SequencingImage[]",
|
|
936
1068
|
"required": true,
|
|
937
|
-
"description": "
|
|
1069
|
+
"description": "Images to order."
|
|
938
1070
|
},
|
|
939
1071
|
{
|
|
940
|
-
"name": "
|
|
941
|
-
"type": "string",
|
|
1072
|
+
"name": "correctOrder",
|
|
1073
|
+
"type": "string[]",
|
|
942
1074
|
"required": true,
|
|
943
|
-
"description": "
|
|
1075
|
+
"description": "Correct id order."
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
"name": "enableRetry",
|
|
1079
|
+
"type": "boolean",
|
|
1080
|
+
"required": false,
|
|
1081
|
+
"description": "Allow retry after completion."
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
"name": "enableSolutionsButton",
|
|
1085
|
+
"type": "boolean",
|
|
1086
|
+
"required": false,
|
|
1087
|
+
"description": "Show solution control."
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
"name": "autoCheck",
|
|
1091
|
+
"type": "boolean",
|
|
1092
|
+
"required": false,
|
|
1093
|
+
"description": "Check answers automatically when possible."
|
|
1094
|
+
},
|
|
1095
|
+
{
|
|
1096
|
+
"name": "passingScore",
|
|
1097
|
+
"type": "number",
|
|
1098
|
+
"required": false,
|
|
1099
|
+
"description": "Minimum score to pass."
|
|
944
1100
|
}
|
|
945
1101
|
],
|
|
946
|
-
"requiredIds": [
|
|
1102
|
+
"requiredIds": [
|
|
1103
|
+
"checkId"
|
|
1104
|
+
],
|
|
947
1105
|
"parentConstraints": [
|
|
948
1106
|
"Lesson",
|
|
1107
|
+
"AssessmentSequence",
|
|
1108
|
+
"TimedCue",
|
|
949
1109
|
"Page",
|
|
950
1110
|
"InteractiveBook",
|
|
951
1111
|
"Slide",
|
|
952
1112
|
"SlideDeck",
|
|
953
|
-
"
|
|
1113
|
+
"InteractiveVideo",
|
|
1114
|
+
"BranchingScenario",
|
|
1115
|
+
"BranchNode"
|
|
954
1116
|
],
|
|
955
1117
|
"a11y": {
|
|
956
|
-
"element": "
|
|
957
|
-
"ariaLabel": "Image",
|
|
958
|
-
"keyboard": "
|
|
959
|
-
"notes": "
|
|
1118
|
+
"element": "section",
|
|
1119
|
+
"ariaLabel": "Image Sequencing",
|
|
1120
|
+
"keyboard": "Reorder with up/down.",
|
|
1121
|
+
"notes": "H5P Image Sequencing equivalent."
|
|
960
1122
|
},
|
|
961
1123
|
"theming": {
|
|
962
1124
|
"surface": "global-inherit",
|
|
963
|
-
"
|
|
1125
|
+
"dataAttributes": [
|
|
1126
|
+
"data-lk-check-id"
|
|
1127
|
+
],
|
|
1128
|
+
"stylingNotes": "Uses data-lk-check-id."
|
|
964
1129
|
},
|
|
965
1130
|
"telemetry": {
|
|
966
|
-
"emits": [
|
|
1131
|
+
"emits": [
|
|
1132
|
+
"assessment_answered",
|
|
1133
|
+
"assessment_completed"
|
|
1134
|
+
],
|
|
1135
|
+
"requiresActiveLesson": true
|
|
967
1136
|
}
|
|
968
1137
|
},
|
|
969
1138
|
{
|
|
970
|
-
"type": "
|
|
971
|
-
"category": "
|
|
972
|
-
"
|
|
973
|
-
"h5pMachineName": "H5P.
|
|
974
|
-
"h5pAlias": "
|
|
975
|
-
"description": "
|
|
976
|
-
"allowedChildTypes": [
|
|
977
|
-
"Text",
|
|
978
|
-
"Heading",
|
|
979
|
-
"Image",
|
|
980
|
-
"Scenario",
|
|
981
|
-
"Reflection",
|
|
982
|
-
"Quiz",
|
|
983
|
-
"KnowledgeCheck",
|
|
984
|
-
"TrueFalse",
|
|
985
|
-
"FillInTheBlanks",
|
|
986
|
-
"DragAndDrop",
|
|
987
|
-
"DragTheWords",
|
|
988
|
-
"MarkTheWords",
|
|
989
|
-
"Accordion",
|
|
990
|
-
"DialogCards",
|
|
991
|
-
"Flashcards",
|
|
992
|
-
"ImageHotspots",
|
|
993
|
-
"FindHotspot",
|
|
994
|
-
"FindMultipleHotspots",
|
|
995
|
-
"ImageSlider",
|
|
996
|
-
"ProgressTracker"
|
|
997
|
-
],
|
|
998
|
-
"maxNestingDepth": 1,
|
|
1139
|
+
"type": "ArithmeticQuiz",
|
|
1140
|
+
"category": "assessment",
|
|
1141
|
+
"assessmentContract": true,
|
|
1142
|
+
"h5pMachineName": "H5P.ArithmeticQuiz",
|
|
1143
|
+
"h5pAlias": "Arithmetic Quiz",
|
|
1144
|
+
"description": "Timed arithmetic problems with optional timer.",
|
|
999
1145
|
"props": [
|
|
1000
1146
|
{
|
|
1001
|
-
"name": "
|
|
1002
|
-
"type": "
|
|
1147
|
+
"name": "checkId",
|
|
1148
|
+
"type": "CheckId",
|
|
1003
1149
|
"required": true,
|
|
1004
|
-
"description": "Stable
|
|
1150
|
+
"description": "Stable check id."
|
|
1005
1151
|
},
|
|
1006
1152
|
{
|
|
1007
|
-
"name": "
|
|
1008
|
-
"type": "
|
|
1153
|
+
"name": "problems",
|
|
1154
|
+
"type": "ArithmeticProblem[]",
|
|
1155
|
+
"required": true,
|
|
1156
|
+
"description": "Math problems."
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
"name": "timeLimitSeconds",
|
|
1160
|
+
"type": "number",
|
|
1009
1161
|
"required": false,
|
|
1010
|
-
"description": "
|
|
1162
|
+
"description": "Optional time limit."
|
|
1011
1163
|
},
|
|
1012
1164
|
{
|
|
1013
|
-
"name": "
|
|
1165
|
+
"name": "enableRetry",
|
|
1166
|
+
"type": "boolean",
|
|
1167
|
+
"required": false,
|
|
1168
|
+
"description": "Allow retry after completion."
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
"name": "enableSolutionsButton",
|
|
1172
|
+
"type": "boolean",
|
|
1173
|
+
"required": false,
|
|
1174
|
+
"description": "Show solution control."
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
"name": "autoCheck",
|
|
1178
|
+
"type": "boolean",
|
|
1179
|
+
"required": false,
|
|
1180
|
+
"description": "Check answers automatically when possible."
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
"name": "passingScore",
|
|
1184
|
+
"type": "number",
|
|
1185
|
+
"required": false,
|
|
1186
|
+
"description": "Minimum score to pass."
|
|
1187
|
+
}
|
|
1188
|
+
],
|
|
1189
|
+
"requiredIds": [
|
|
1190
|
+
"checkId"
|
|
1191
|
+
],
|
|
1192
|
+
"parentConstraints": [
|
|
1193
|
+
"Lesson",
|
|
1194
|
+
"AssessmentSequence",
|
|
1195
|
+
"TimedCue",
|
|
1196
|
+
"Page",
|
|
1197
|
+
"InteractiveBook",
|
|
1198
|
+
"Slide",
|
|
1199
|
+
"SlideDeck",
|
|
1200
|
+
"InteractiveVideo",
|
|
1201
|
+
"BranchingScenario",
|
|
1202
|
+
"BranchNode"
|
|
1203
|
+
],
|
|
1204
|
+
"a11y": {
|
|
1205
|
+
"element": "section",
|
|
1206
|
+
"ariaLabel": "Arithmetic Quiz",
|
|
1207
|
+
"keyboard": "Text input per problem.",
|
|
1208
|
+
"notes": "H5P Arithmetic Quiz equivalent."
|
|
1209
|
+
},
|
|
1210
|
+
"theming": {
|
|
1211
|
+
"surface": "global-inherit",
|
|
1212
|
+
"dataAttributes": [
|
|
1213
|
+
"data-lk-check-id"
|
|
1214
|
+
],
|
|
1215
|
+
"stylingNotes": "Uses data-lk-check-id."
|
|
1216
|
+
},
|
|
1217
|
+
"telemetry": {
|
|
1218
|
+
"emits": [
|
|
1219
|
+
"assessment_answered",
|
|
1220
|
+
"assessment_completed"
|
|
1221
|
+
],
|
|
1222
|
+
"requiresActiveLesson": true
|
|
1223
|
+
}
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
"type": "Essay",
|
|
1227
|
+
"category": "assessment",
|
|
1228
|
+
"assessmentContract": true,
|
|
1229
|
+
"h5pMachineName": "H5P.Essay",
|
|
1230
|
+
"h5pAlias": "Essay",
|
|
1231
|
+
"description": "Open text response; manual or plugin grading.",
|
|
1232
|
+
"props": [
|
|
1233
|
+
{
|
|
1234
|
+
"name": "checkId",
|
|
1235
|
+
"type": "CheckId",
|
|
1236
|
+
"required": true,
|
|
1237
|
+
"description": "Stable check id."
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
"name": "question",
|
|
1241
|
+
"type": "string",
|
|
1242
|
+
"required": true,
|
|
1243
|
+
"description": "Essay prompt."
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
"name": "minLength",
|
|
1247
|
+
"type": "number",
|
|
1248
|
+
"required": false,
|
|
1249
|
+
"description": "Minimum character length."
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
"name": "enableRetry",
|
|
1253
|
+
"type": "boolean",
|
|
1254
|
+
"required": false,
|
|
1255
|
+
"description": "Allow retry after completion."
|
|
1256
|
+
},
|
|
1257
|
+
{
|
|
1258
|
+
"name": "enableSolutionsButton",
|
|
1259
|
+
"type": "boolean",
|
|
1260
|
+
"required": false,
|
|
1261
|
+
"description": "Show solution control."
|
|
1262
|
+
},
|
|
1263
|
+
{
|
|
1264
|
+
"name": "autoCheck",
|
|
1265
|
+
"type": "boolean",
|
|
1266
|
+
"required": false,
|
|
1267
|
+
"description": "Check answers automatically when possible."
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
"name": "passingScore",
|
|
1271
|
+
"type": "number",
|
|
1272
|
+
"required": false,
|
|
1273
|
+
"description": "Minimum score to pass."
|
|
1274
|
+
}
|
|
1275
|
+
],
|
|
1276
|
+
"requiredIds": [
|
|
1277
|
+
"checkId"
|
|
1278
|
+
],
|
|
1279
|
+
"parentConstraints": [
|
|
1280
|
+
"Lesson",
|
|
1281
|
+
"AssessmentSequence",
|
|
1282
|
+
"TimedCue",
|
|
1283
|
+
"Page",
|
|
1284
|
+
"InteractiveBook",
|
|
1285
|
+
"Slide",
|
|
1286
|
+
"SlideDeck",
|
|
1287
|
+
"InteractiveVideo",
|
|
1288
|
+
"BranchingScenario",
|
|
1289
|
+
"BranchNode"
|
|
1290
|
+
],
|
|
1291
|
+
"a11y": {
|
|
1292
|
+
"element": "section",
|
|
1293
|
+
"ariaLabel": "Essay",
|
|
1294
|
+
"keyboard": "Textarea input.",
|
|
1295
|
+
"notes": "H5P Essay equivalent."
|
|
1296
|
+
},
|
|
1297
|
+
"theming": {
|
|
1298
|
+
"surface": "global-inherit",
|
|
1299
|
+
"dataAttributes": [
|
|
1300
|
+
"data-lk-check-id"
|
|
1301
|
+
],
|
|
1302
|
+
"stylingNotes": "Uses data-lk-check-id."
|
|
1303
|
+
},
|
|
1304
|
+
"telemetry": {
|
|
1305
|
+
"emits": [
|
|
1306
|
+
"assessment_answered",
|
|
1307
|
+
"assessment_completed"
|
|
1308
|
+
],
|
|
1309
|
+
"requiresActiveLesson": true
|
|
1310
|
+
}
|
|
1311
|
+
},
|
|
1312
|
+
{
|
|
1313
|
+
"type": "Text",
|
|
1314
|
+
"category": "content",
|
|
1315
|
+
"description": "Paragraph text content.",
|
|
1316
|
+
"props": [
|
|
1317
|
+
{
|
|
1318
|
+
"name": "blockId",
|
|
1319
|
+
"type": "BlockId",
|
|
1320
|
+
"required": false,
|
|
1321
|
+
"description": "Stable block id."
|
|
1322
|
+
},
|
|
1323
|
+
{
|
|
1324
|
+
"name": "children",
|
|
1325
|
+
"type": "ReactNode",
|
|
1326
|
+
"required": true,
|
|
1327
|
+
"description": "Text body."
|
|
1328
|
+
}
|
|
1329
|
+
],
|
|
1330
|
+
"requiredIds": [],
|
|
1331
|
+
"parentConstraints": [
|
|
1332
|
+
"Lesson",
|
|
1333
|
+
"Page",
|
|
1334
|
+
"InteractiveBook",
|
|
1335
|
+
"Slide",
|
|
1336
|
+
"SlideDeck",
|
|
1337
|
+
"TimedCue",
|
|
1338
|
+
"InteractiveVideo",
|
|
1339
|
+
"AssessmentSequence",
|
|
1340
|
+
"BranchingScenario",
|
|
1341
|
+
"BranchNode"
|
|
1342
|
+
],
|
|
1343
|
+
"a11y": {
|
|
1344
|
+
"element": "p",
|
|
1345
|
+
"ariaLabel": "Text",
|
|
1346
|
+
"keyboard": "N/A",
|
|
1347
|
+
"notes": "Semantic paragraph."
|
|
1348
|
+
},
|
|
1349
|
+
"theming": {
|
|
1350
|
+
"surface": "global-inherit",
|
|
1351
|
+
"stylingNotes": "Inherits theme."
|
|
1352
|
+
},
|
|
1353
|
+
"telemetry": {
|
|
1354
|
+
"emits": []
|
|
1355
|
+
}
|
|
1356
|
+
},
|
|
1357
|
+
{
|
|
1358
|
+
"type": "Heading",
|
|
1359
|
+
"category": "content",
|
|
1360
|
+
"description": "Heading levels 1–3.",
|
|
1361
|
+
"props": [
|
|
1362
|
+
{
|
|
1363
|
+
"name": "blockId",
|
|
1364
|
+
"type": "BlockId",
|
|
1365
|
+
"required": false,
|
|
1366
|
+
"description": "Stable block id."
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
"name": "level",
|
|
1370
|
+
"type": "1 | 2 | 3",
|
|
1371
|
+
"required": true,
|
|
1372
|
+
"description": "Heading level."
|
|
1373
|
+
},
|
|
1374
|
+
{
|
|
1375
|
+
"name": "children",
|
|
1376
|
+
"type": "ReactNode",
|
|
1377
|
+
"required": true,
|
|
1378
|
+
"description": "Heading text."
|
|
1379
|
+
}
|
|
1380
|
+
],
|
|
1381
|
+
"requiredIds": [],
|
|
1382
|
+
"parentConstraints": [
|
|
1383
|
+
"Lesson",
|
|
1384
|
+
"Page",
|
|
1385
|
+
"InteractiveBook",
|
|
1386
|
+
"Slide",
|
|
1387
|
+
"SlideDeck",
|
|
1388
|
+
"TimedCue",
|
|
1389
|
+
"InteractiveVideo",
|
|
1390
|
+
"AssessmentSequence",
|
|
1391
|
+
"BranchingScenario",
|
|
1392
|
+
"BranchNode"
|
|
1393
|
+
],
|
|
1394
|
+
"a11y": {
|
|
1395
|
+
"element": "h1-h3",
|
|
1396
|
+
"ariaLabel": "Heading",
|
|
1397
|
+
"keyboard": "N/A",
|
|
1398
|
+
"notes": "Use one level per outline."
|
|
1399
|
+
},
|
|
1400
|
+
"theming": {
|
|
1401
|
+
"surface": "global-inherit",
|
|
1402
|
+
"stylingNotes": "Inherits theme."
|
|
1403
|
+
},
|
|
1404
|
+
"telemetry": {
|
|
1405
|
+
"emits": []
|
|
1406
|
+
}
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"type": "Image",
|
|
1410
|
+
"category": "content",
|
|
1411
|
+
"description": "Image with required alt text.",
|
|
1412
|
+
"props": [
|
|
1413
|
+
{
|
|
1414
|
+
"name": "blockId",
|
|
1415
|
+
"type": "BlockId",
|
|
1416
|
+
"required": false,
|
|
1417
|
+
"description": "Stable block id."
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
"name": "src",
|
|
1421
|
+
"type": "string",
|
|
1422
|
+
"required": true,
|
|
1423
|
+
"description": "Image URL."
|
|
1424
|
+
},
|
|
1425
|
+
{
|
|
1426
|
+
"name": "alt",
|
|
1427
|
+
"type": "string",
|
|
1428
|
+
"required": true,
|
|
1429
|
+
"description": "Alt text."
|
|
1430
|
+
}
|
|
1431
|
+
],
|
|
1432
|
+
"requiredIds": [],
|
|
1433
|
+
"parentConstraints": [
|
|
1434
|
+
"Lesson",
|
|
1435
|
+
"Page",
|
|
1436
|
+
"InteractiveBook",
|
|
1437
|
+
"Slide",
|
|
1438
|
+
"SlideDeck",
|
|
1439
|
+
"TimedCue",
|
|
1440
|
+
"InteractiveVideo",
|
|
1441
|
+
"AssessmentSequence",
|
|
1442
|
+
"BranchingScenario",
|
|
1443
|
+
"BranchNode"
|
|
1444
|
+
],
|
|
1445
|
+
"a11y": {
|
|
1446
|
+
"element": "img",
|
|
1447
|
+
"ariaLabel": "Image",
|
|
1448
|
+
"keyboard": "N/A",
|
|
1449
|
+
"notes": "Requires alt."
|
|
1450
|
+
},
|
|
1451
|
+
"theming": {
|
|
1452
|
+
"surface": "global-inherit",
|
|
1453
|
+
"stylingNotes": "Responsive max-width."
|
|
1454
|
+
},
|
|
1455
|
+
"telemetry": {
|
|
1456
|
+
"emits": []
|
|
1457
|
+
}
|
|
1458
|
+
},
|
|
1459
|
+
{
|
|
1460
|
+
"type": "Video",
|
|
1461
|
+
"category": "content",
|
|
1462
|
+
"description": "Self-hosted video with native controls and optional captions.",
|
|
1463
|
+
"props": [
|
|
1464
|
+
{
|
|
1465
|
+
"name": "blockId",
|
|
1466
|
+
"type": "BlockId",
|
|
1467
|
+
"required": true,
|
|
1468
|
+
"description": "Stable block id."
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
"name": "src",
|
|
1472
|
+
"type": "string",
|
|
1473
|
+
"required": true,
|
|
1474
|
+
"description": "Video URL."
|
|
1475
|
+
},
|
|
1476
|
+
{
|
|
1477
|
+
"name": "poster",
|
|
1478
|
+
"type": "string",
|
|
1479
|
+
"required": false,
|
|
1480
|
+
"description": "Poster image URL."
|
|
1481
|
+
},
|
|
1482
|
+
{
|
|
1483
|
+
"name": "captions",
|
|
1484
|
+
"type": "string",
|
|
1485
|
+
"required": false,
|
|
1486
|
+
"description": "WebVTT captions URL."
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
"name": "title",
|
|
1490
|
+
"type": "string",
|
|
1491
|
+
"required": false,
|
|
1492
|
+
"description": "Accessible title."
|
|
1493
|
+
}
|
|
1494
|
+
],
|
|
1495
|
+
"requiredIds": [
|
|
1496
|
+
"blockId"
|
|
1497
|
+
],
|
|
1498
|
+
"parentConstraints": [
|
|
1499
|
+
"Lesson",
|
|
1500
|
+
"Page",
|
|
1501
|
+
"InteractiveBook",
|
|
1502
|
+
"Slide",
|
|
1503
|
+
"SlideDeck",
|
|
1504
|
+
"TimedCue",
|
|
1505
|
+
"InteractiveVideo",
|
|
1506
|
+
"AssessmentSequence",
|
|
1507
|
+
"BranchingScenario",
|
|
1508
|
+
"BranchNode"
|
|
1509
|
+
],
|
|
1510
|
+
"a11y": {
|
|
1511
|
+
"element": "video",
|
|
1512
|
+
"ariaLabel": "Video",
|
|
1513
|
+
"keyboard": "Native video controls.",
|
|
1514
|
+
"notes": "No autoplay with sound."
|
|
1515
|
+
},
|
|
1516
|
+
"theming": {
|
|
1517
|
+
"surface": "global-inherit",
|
|
1518
|
+
"stylingNotes": "Responsive video."
|
|
1519
|
+
},
|
|
1520
|
+
"telemetry": {
|
|
1521
|
+
"emits": []
|
|
1522
|
+
}
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
"type": "Page",
|
|
1526
|
+
"category": "container",
|
|
1527
|
+
"compoundContract": true,
|
|
1528
|
+
"h5pMachineName": "H5P.Column",
|
|
1529
|
+
"h5pAlias": "Column",
|
|
1530
|
+
"description": "Column layout container (H5P Column / Page).",
|
|
1531
|
+
"allowedChildTypes": [
|
|
1532
|
+
"Text",
|
|
1533
|
+
"Heading",
|
|
1534
|
+
"Image",
|
|
1535
|
+
"Video",
|
|
1536
|
+
"Scenario",
|
|
1537
|
+
"Reflection",
|
|
1538
|
+
"Quiz",
|
|
1539
|
+
"KnowledgeCheck",
|
|
1540
|
+
"TrueFalse",
|
|
1541
|
+
"FillInTheBlanks",
|
|
1542
|
+
"DragAndDrop",
|
|
1543
|
+
"DragTheWords",
|
|
1544
|
+
"MarkTheWords",
|
|
1545
|
+
"Summary",
|
|
1546
|
+
"ImagePairing",
|
|
1547
|
+
"ImageSequencing",
|
|
1548
|
+
"MemoryGame",
|
|
1549
|
+
"InformationWall",
|
|
1550
|
+
"ParallaxSlideshow",
|
|
1551
|
+
"Questionnaire",
|
|
1552
|
+
"Essay",
|
|
1553
|
+
"ArithmeticQuiz",
|
|
1554
|
+
"Accordion",
|
|
1555
|
+
"DialogCards",
|
|
1556
|
+
"Flashcards",
|
|
1557
|
+
"ImageHotspots",
|
|
1558
|
+
"FindHotspot",
|
|
1559
|
+
"FindMultipleHotspots",
|
|
1560
|
+
"ImageSlider",
|
|
1561
|
+
"Embed",
|
|
1562
|
+
"Chart",
|
|
1563
|
+
"ProgressTracker"
|
|
1564
|
+
],
|
|
1565
|
+
"maxNestingDepth": 1,
|
|
1566
|
+
"props": [
|
|
1567
|
+
{
|
|
1568
|
+
"name": "blockId",
|
|
1569
|
+
"type": "BlockId",
|
|
1570
|
+
"required": true,
|
|
1571
|
+
"description": "Stable block id."
|
|
1572
|
+
},
|
|
1573
|
+
{
|
|
1574
|
+
"name": "title",
|
|
1575
|
+
"type": "string",
|
|
1576
|
+
"required": false,
|
|
1577
|
+
"description": "Page title."
|
|
1578
|
+
},
|
|
1579
|
+
{
|
|
1580
|
+
"name": "children",
|
|
1581
|
+
"type": "ReactNode",
|
|
1582
|
+
"required": true,
|
|
1583
|
+
"description": "Page content."
|
|
1584
|
+
}
|
|
1585
|
+
],
|
|
1586
|
+
"requiredIds": [],
|
|
1587
|
+
"optionalIds": [
|
|
1588
|
+
"blockId"
|
|
1589
|
+
],
|
|
1590
|
+
"parentConstraints": [
|
|
1591
|
+
"Lesson",
|
|
1592
|
+
"InteractiveBook"
|
|
1593
|
+
],
|
|
1594
|
+
"a11y": {
|
|
1595
|
+
"element": "section",
|
|
1596
|
+
"ariaLabel": "Page",
|
|
1597
|
+
"keyboard": "N/A",
|
|
1598
|
+
"notes": "H5P Column equivalent."
|
|
1599
|
+
},
|
|
1600
|
+
"theming": {
|
|
1601
|
+
"surface": "global-inherit",
|
|
1602
|
+
"stylingNotes": "Container."
|
|
1603
|
+
},
|
|
1604
|
+
"telemetry": {
|
|
1605
|
+
"emits": [
|
|
1606
|
+
"compound_page_viewed"
|
|
1607
|
+
],
|
|
1608
|
+
"requiresActiveLesson": true
|
|
1609
|
+
}
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
"type": "InteractiveBook",
|
|
1613
|
+
"category": "container",
|
|
1614
|
+
"compoundContract": true,
|
|
1615
|
+
"h5pMachineName": "H5P.InteractiveBook",
|
|
1616
|
+
"h5pAlias": "Interactive Book",
|
|
1617
|
+
"description": "Multi-page book with chapter navigation.",
|
|
1618
|
+
"allowedChildTypes": [
|
|
1619
|
+
"Page"
|
|
1620
|
+
],
|
|
1621
|
+
"maxNestingDepth": 2,
|
|
1622
|
+
"props": [
|
|
1623
|
+
{
|
|
1624
|
+
"name": "blockId",
|
|
1625
|
+
"type": "BlockId",
|
|
1626
|
+
"required": true,
|
|
1627
|
+
"description": "Stable block id."
|
|
1628
|
+
},
|
|
1629
|
+
{
|
|
1630
|
+
"name": "title",
|
|
1631
|
+
"type": "string",
|
|
1632
|
+
"required": true,
|
|
1633
|
+
"description": "Book title."
|
|
1634
|
+
},
|
|
1635
|
+
{
|
|
1636
|
+
"name": "showBookScore",
|
|
1637
|
+
"type": "boolean",
|
|
1638
|
+
"required": false,
|
|
1639
|
+
"description": "Show aggregate score."
|
|
1640
|
+
},
|
|
1641
|
+
{
|
|
1642
|
+
"name": "children",
|
|
1643
|
+
"type": "Page[]",
|
|
1644
|
+
"required": true,
|
|
1645
|
+
"description": "Page chapters."
|
|
1646
|
+
}
|
|
1647
|
+
],
|
|
1648
|
+
"requiredIds": [
|
|
1649
|
+
"blockId"
|
|
1650
|
+
],
|
|
1651
|
+
"parentConstraints": [
|
|
1652
|
+
"Lesson"
|
|
1653
|
+
],
|
|
1654
|
+
"a11y": {
|
|
1655
|
+
"element": "section",
|
|
1656
|
+
"ariaLabel": "Interactive book",
|
|
1657
|
+
"keyboard": "Previous/Next chapter navigation.",
|
|
1658
|
+
"notes": "H5P Interactive Book equivalent."
|
|
1659
|
+
},
|
|
1660
|
+
"theming": {
|
|
1661
|
+
"surface": "global-inherit",
|
|
1662
|
+
"stylingNotes": "Book chrome."
|
|
1663
|
+
},
|
|
1664
|
+
"telemetry": {
|
|
1665
|
+
"emits": [
|
|
1666
|
+
"book_page_viewed"
|
|
1667
|
+
],
|
|
1668
|
+
"requiresActiveLesson": true
|
|
1669
|
+
}
|
|
1670
|
+
},
|
|
1671
|
+
{
|
|
1672
|
+
"type": "Slide",
|
|
1673
|
+
"category": "container",
|
|
1674
|
+
"compoundContract": true,
|
|
1675
|
+
"h5pMachineName": "H5P.CoursePresentation",
|
|
1676
|
+
"h5pAlias": "Course Presentation slide",
|
|
1677
|
+
"description": "Single slide row in a SlideDeck. Supports Video, Summary, and 1.4 blocks.",
|
|
1678
|
+
"allowedChildTypes": [
|
|
1679
|
+
"Text",
|
|
1680
|
+
"Heading",
|
|
1681
|
+
"Image",
|
|
1682
|
+
"Video",
|
|
1683
|
+
"Scenario",
|
|
1684
|
+
"Reflection",
|
|
1685
|
+
"Quiz",
|
|
1686
|
+
"KnowledgeCheck",
|
|
1687
|
+
"TrueFalse",
|
|
1688
|
+
"FillInTheBlanks",
|
|
1689
|
+
"DragAndDrop",
|
|
1690
|
+
"DragTheWords",
|
|
1691
|
+
"MarkTheWords",
|
|
1692
|
+
"Summary",
|
|
1693
|
+
"ImagePairing",
|
|
1694
|
+
"ImageSequencing",
|
|
1695
|
+
"MemoryGame",
|
|
1696
|
+
"InformationWall",
|
|
1697
|
+
"ParallaxSlideshow",
|
|
1698
|
+
"Questionnaire",
|
|
1699
|
+
"Essay",
|
|
1700
|
+
"ArithmeticQuiz",
|
|
1701
|
+
"Accordion",
|
|
1702
|
+
"DialogCards",
|
|
1703
|
+
"Flashcards",
|
|
1704
|
+
"ImageHotspots",
|
|
1705
|
+
"FindHotspot",
|
|
1706
|
+
"FindMultipleHotspots",
|
|
1707
|
+
"ImageSlider",
|
|
1708
|
+
"Embed",
|
|
1709
|
+
"Chart"
|
|
1710
|
+
],
|
|
1711
|
+
"maxNestingDepth": 1,
|
|
1712
|
+
"props": [
|
|
1713
|
+
{
|
|
1714
|
+
"name": "blockId",
|
|
1715
|
+
"type": "BlockId",
|
|
1716
|
+
"required": true,
|
|
1717
|
+
"description": "Stable block id."
|
|
1718
|
+
},
|
|
1719
|
+
{
|
|
1720
|
+
"name": "title",
|
|
1721
|
+
"type": "string",
|
|
1722
|
+
"required": false,
|
|
1723
|
+
"description": "Slide title."
|
|
1724
|
+
},
|
|
1725
|
+
{
|
|
1726
|
+
"name": "children",
|
|
1727
|
+
"type": "ReactNode",
|
|
1728
|
+
"required": true,
|
|
1729
|
+
"description": "Slide content."
|
|
1730
|
+
}
|
|
1731
|
+
],
|
|
1732
|
+
"requiredIds": [],
|
|
1733
|
+
"optionalIds": [
|
|
1734
|
+
"blockId"
|
|
1735
|
+
],
|
|
1736
|
+
"parentConstraints": [
|
|
1737
|
+
"SlideDeck"
|
|
1738
|
+
],
|
|
1739
|
+
"a11y": {
|
|
1740
|
+
"element": "section",
|
|
1741
|
+
"ariaLabel": "Slide",
|
|
1742
|
+
"keyboard": "N/A",
|
|
1743
|
+
"notes": "H5P Course Presentation slide row."
|
|
1744
|
+
},
|
|
1745
|
+
"theming": {
|
|
1746
|
+
"surface": "global-inherit",
|
|
1747
|
+
"stylingNotes": "Container."
|
|
1748
|
+
},
|
|
1749
|
+
"telemetry": {
|
|
1750
|
+
"emits": [
|
|
1751
|
+
"compound_page_viewed"
|
|
1752
|
+
],
|
|
1753
|
+
"requiresActiveLesson": true
|
|
1754
|
+
}
|
|
1755
|
+
},
|
|
1756
|
+
{
|
|
1757
|
+
"type": "SlideDeck",
|
|
1758
|
+
"category": "container",
|
|
1759
|
+
"compoundContract": true,
|
|
1760
|
+
"h5pMachineName": "H5P.CoursePresentation",
|
|
1761
|
+
"h5pAlias": "Course Presentation",
|
|
1762
|
+
"description": "Multi-slide presentation with keyboard navigation.",
|
|
1763
|
+
"allowedChildTypes": [
|
|
1764
|
+
"Slide"
|
|
1765
|
+
],
|
|
1766
|
+
"maxNestingDepth": 2,
|
|
1767
|
+
"props": [
|
|
1768
|
+
{
|
|
1769
|
+
"name": "blockId",
|
|
1770
|
+
"type": "BlockId",
|
|
1771
|
+
"required": true,
|
|
1772
|
+
"description": "Stable block id."
|
|
1773
|
+
},
|
|
1774
|
+
{
|
|
1775
|
+
"name": "title",
|
|
1776
|
+
"type": "string",
|
|
1777
|
+
"required": true,
|
|
1778
|
+
"description": "Deck title."
|
|
1779
|
+
},
|
|
1780
|
+
{
|
|
1781
|
+
"name": "showDeckScore",
|
|
1782
|
+
"type": "boolean",
|
|
1783
|
+
"required": false,
|
|
1784
|
+
"description": "Show aggregate score."
|
|
1785
|
+
},
|
|
1786
|
+
{
|
|
1787
|
+
"name": "children",
|
|
1788
|
+
"type": "Slide[]",
|
|
1789
|
+
"required": true,
|
|
1790
|
+
"description": "Slides."
|
|
1791
|
+
}
|
|
1792
|
+
],
|
|
1793
|
+
"requiredIds": [
|
|
1794
|
+
"blockId"
|
|
1795
|
+
],
|
|
1796
|
+
"parentConstraints": [
|
|
1797
|
+
"Lesson"
|
|
1798
|
+
],
|
|
1799
|
+
"a11y": {
|
|
1800
|
+
"element": "section",
|
|
1801
|
+
"ariaLabel": "Slide deck",
|
|
1802
|
+
"keyboard": "Arrow keys, Home, End, Previous/Next slide buttons.",
|
|
1803
|
+
"notes": "H5P Course Presentation equivalent."
|
|
1804
|
+
},
|
|
1805
|
+
"theming": {
|
|
1806
|
+
"surface": "global-inherit",
|
|
1807
|
+
"stylingNotes": "Deck chrome."
|
|
1808
|
+
},
|
|
1809
|
+
"telemetry": {
|
|
1810
|
+
"emits": [
|
|
1811
|
+
"slide_viewed"
|
|
1812
|
+
],
|
|
1813
|
+
"requiresActiveLesson": true
|
|
1814
|
+
}
|
|
1815
|
+
},
|
|
1816
|
+
{
|
|
1817
|
+
"type": "TimedCue",
|
|
1818
|
+
"category": "container",
|
|
1819
|
+
"compoundContract": true,
|
|
1820
|
+
"h5pMachineName": "H5P.InteractiveVideo",
|
|
1821
|
+
"h5pAlias": "Interactive Video timed cue",
|
|
1822
|
+
"description": "Timed overlay cue within InteractiveVideo.",
|
|
1823
|
+
"allowedChildTypes": [
|
|
1824
|
+
"Text",
|
|
1825
|
+
"Heading",
|
|
1826
|
+
"Image",
|
|
1827
|
+
"Quiz",
|
|
1828
|
+
"TrueFalse",
|
|
1829
|
+
"FillInTheBlanks",
|
|
1830
|
+
"Summary",
|
|
1831
|
+
"ImagePairing",
|
|
1832
|
+
"ImageSequencing",
|
|
1833
|
+
"MemoryGame",
|
|
1834
|
+
"Questionnaire",
|
|
1835
|
+
"Essay",
|
|
1836
|
+
"ArithmeticQuiz"
|
|
1837
|
+
],
|
|
1838
|
+
"maxNestingDepth": 1,
|
|
1839
|
+
"props": [
|
|
1840
|
+
{
|
|
1841
|
+
"name": "atSeconds",
|
|
1842
|
+
"type": "number",
|
|
1843
|
+
"required": true,
|
|
1844
|
+
"description": "Cue time in seconds."
|
|
1845
|
+
},
|
|
1846
|
+
{
|
|
1847
|
+
"name": "label",
|
|
1848
|
+
"type": "string",
|
|
1849
|
+
"required": false,
|
|
1850
|
+
"description": "Cue label."
|
|
1851
|
+
},
|
|
1852
|
+
{
|
|
1853
|
+
"name": "mustComplete",
|
|
1854
|
+
"type": "boolean",
|
|
1855
|
+
"required": false,
|
|
1856
|
+
"description": "Block seek until completed."
|
|
1857
|
+
},
|
|
1858
|
+
{
|
|
1859
|
+
"name": "children",
|
|
1860
|
+
"type": "ReactNode",
|
|
1861
|
+
"required": true,
|
|
1862
|
+
"description": "Single allowed child block."
|
|
1863
|
+
}
|
|
1864
|
+
],
|
|
1865
|
+
"requiredIds": [],
|
|
1866
|
+
"parentConstraints": [
|
|
1867
|
+
"InteractiveVideo"
|
|
1868
|
+
],
|
|
1869
|
+
"a11y": {
|
|
1870
|
+
"element": "dialog",
|
|
1871
|
+
"ariaLabel": "Timed cue",
|
|
1872
|
+
"keyboard": "Focus moves to overlay content.",
|
|
1873
|
+
"notes": "Pauses parent video."
|
|
1874
|
+
},
|
|
1875
|
+
"theming": {
|
|
1876
|
+
"surface": "global-inherit",
|
|
1877
|
+
"stylingNotes": "Overlay panel."
|
|
1878
|
+
},
|
|
1879
|
+
"telemetry": {
|
|
1880
|
+
"emits": []
|
|
1881
|
+
}
|
|
1882
|
+
},
|
|
1883
|
+
{
|
|
1884
|
+
"type": "InteractiveVideo",
|
|
1885
|
+
"category": "container",
|
|
1886
|
+
"compoundContract": true,
|
|
1887
|
+
"h5pMachineName": "H5P.InteractiveVideo",
|
|
1888
|
+
"h5pAlias": "Interactive Video",
|
|
1889
|
+
"description": "Video with timed interaction overlays.",
|
|
1890
|
+
"allowedChildTypes": [
|
|
1891
|
+
"TimedCue"
|
|
1892
|
+
],
|
|
1893
|
+
"maxNestingDepth": 2,
|
|
1894
|
+
"props": [
|
|
1895
|
+
{
|
|
1896
|
+
"name": "blockId",
|
|
1897
|
+
"type": "BlockId",
|
|
1898
|
+
"required": true,
|
|
1899
|
+
"description": "Stable block id."
|
|
1900
|
+
},
|
|
1901
|
+
{
|
|
1902
|
+
"name": "title",
|
|
1903
|
+
"type": "string",
|
|
1904
|
+
"required": true,
|
|
1905
|
+
"description": "Video title."
|
|
1906
|
+
},
|
|
1907
|
+
{
|
|
1908
|
+
"name": "src",
|
|
1909
|
+
"type": "string",
|
|
1910
|
+
"required": true,
|
|
1911
|
+
"description": "Video URL."
|
|
1912
|
+
},
|
|
1913
|
+
{
|
|
1914
|
+
"name": "poster",
|
|
1915
|
+
"type": "string",
|
|
1916
|
+
"required": false,
|
|
1917
|
+
"description": "Poster image."
|
|
1918
|
+
},
|
|
1919
|
+
{
|
|
1920
|
+
"name": "captions",
|
|
1921
|
+
"type": "string",
|
|
1922
|
+
"required": false,
|
|
1923
|
+
"description": "WebVTT captions."
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
"name": "showVideoScore",
|
|
1927
|
+
"type": "boolean",
|
|
1928
|
+
"required": false,
|
|
1929
|
+
"description": "Show aggregate score."
|
|
1930
|
+
},
|
|
1931
|
+
{
|
|
1932
|
+
"name": "children",
|
|
1933
|
+
"type": "TimedCue[]",
|
|
1934
|
+
"required": true,
|
|
1935
|
+
"description": "Timed cues."
|
|
1936
|
+
}
|
|
1937
|
+
],
|
|
1938
|
+
"requiredIds": [
|
|
1939
|
+
"blockId"
|
|
1940
|
+
],
|
|
1941
|
+
"parentConstraints": [
|
|
1942
|
+
"Lesson"
|
|
1943
|
+
],
|
|
1944
|
+
"a11y": {
|
|
1945
|
+
"element": "section",
|
|
1946
|
+
"ariaLabel": "Interactive video",
|
|
1947
|
+
"keyboard": "Native video controls; overlay interactions when paused.",
|
|
1948
|
+
"notes": "H5P Interactive Video equivalent."
|
|
1949
|
+
},
|
|
1950
|
+
"theming": {
|
|
1951
|
+
"surface": "global-inherit",
|
|
1952
|
+
"stylingNotes": "Video + overlay."
|
|
1953
|
+
},
|
|
1954
|
+
"telemetry": {
|
|
1955
|
+
"emits": [
|
|
1956
|
+
"video_cue_reached",
|
|
1957
|
+
"video_segment_completed"
|
|
1958
|
+
],
|
|
1959
|
+
"requiresActiveLesson": true
|
|
1960
|
+
}
|
|
1961
|
+
},
|
|
1962
|
+
{
|
|
1963
|
+
"type": "BranchNode",
|
|
1964
|
+
"category": "container",
|
|
1965
|
+
"compoundContract": true,
|
|
1966
|
+
"h5pMachineName": "H5P.BranchingScenario",
|
|
1967
|
+
"h5pAlias": "Branching Scenario node",
|
|
1968
|
+
"description": "Graph node in a BranchingScenario with content and choices.",
|
|
1969
|
+
"allowedChildTypes": [
|
|
1970
|
+
"Text",
|
|
1971
|
+
"Heading",
|
|
1972
|
+
"Image",
|
|
1973
|
+
"Video",
|
|
1974
|
+
"Scenario",
|
|
1975
|
+
"Reflection",
|
|
1976
|
+
"Quiz",
|
|
1977
|
+
"KnowledgeCheck",
|
|
1978
|
+
"TrueFalse",
|
|
1979
|
+
"FillInTheBlanks",
|
|
1980
|
+
"DragAndDrop",
|
|
1981
|
+
"DragTheWords",
|
|
1982
|
+
"MarkTheWords",
|
|
1983
|
+
"Summary",
|
|
1984
|
+
"ImagePairing",
|
|
1985
|
+
"ImageSequencing",
|
|
1986
|
+
"MemoryGame",
|
|
1987
|
+
"InformationWall",
|
|
1988
|
+
"ParallaxSlideshow",
|
|
1989
|
+
"Questionnaire",
|
|
1990
|
+
"Essay",
|
|
1991
|
+
"ArithmeticQuiz",
|
|
1992
|
+
"Accordion",
|
|
1993
|
+
"DialogCards",
|
|
1994
|
+
"Flashcards",
|
|
1995
|
+
"ImageHotspots",
|
|
1996
|
+
"FindHotspot",
|
|
1997
|
+
"FindMultipleHotspots",
|
|
1998
|
+
"ImageSlider",
|
|
1999
|
+
"Embed",
|
|
2000
|
+
"Chart",
|
|
2001
|
+
"BranchChoice"
|
|
2002
|
+
],
|
|
2003
|
+
"maxNestingDepth": 1,
|
|
2004
|
+
"props": [
|
|
2005
|
+
{
|
|
2006
|
+
"name": "nodeId",
|
|
2007
|
+
"type": "string",
|
|
2008
|
+
"required": true,
|
|
2009
|
+
"description": "Unique node id within the scenario."
|
|
2010
|
+
},
|
|
2011
|
+
{
|
|
2012
|
+
"name": "title",
|
|
2013
|
+
"type": "string",
|
|
2014
|
+
"required": false,
|
|
2015
|
+
"description": "Node title."
|
|
2016
|
+
},
|
|
2017
|
+
{
|
|
2018
|
+
"name": "terminal",
|
|
2019
|
+
"type": "boolean",
|
|
2020
|
+
"required": false,
|
|
2021
|
+
"description": "End state node."
|
|
2022
|
+
},
|
|
2023
|
+
{
|
|
2024
|
+
"name": "children",
|
|
1014
2025
|
"type": "ReactNode",
|
|
1015
2026
|
"required": true,
|
|
1016
|
-
"description": "
|
|
2027
|
+
"description": "Content and BranchChoice controls."
|
|
2028
|
+
}
|
|
2029
|
+
],
|
|
2030
|
+
"requiredIds": [],
|
|
2031
|
+
"parentConstraints": [
|
|
2032
|
+
"BranchingScenario"
|
|
2033
|
+
],
|
|
2034
|
+
"a11y": {
|
|
2035
|
+
"element": "section",
|
|
2036
|
+
"ariaLabel": "Branch node",
|
|
2037
|
+
"keyboard": "Branch choices are buttons.",
|
|
2038
|
+
"notes": "H5P Branching Scenario node."
|
|
2039
|
+
},
|
|
2040
|
+
"theming": {
|
|
2041
|
+
"surface": "global-inherit",
|
|
2042
|
+
"stylingNotes": "Node panel."
|
|
2043
|
+
},
|
|
2044
|
+
"telemetry": {
|
|
2045
|
+
"emits": [
|
|
2046
|
+
"branch_node_viewed"
|
|
2047
|
+
],
|
|
2048
|
+
"requiresActiveLesson": true
|
|
2049
|
+
}
|
|
2050
|
+
},
|
|
2051
|
+
{
|
|
2052
|
+
"type": "BranchChoice",
|
|
2053
|
+
"category": "content",
|
|
2054
|
+
"h5pMachineName": "H5P.BranchingScenario",
|
|
2055
|
+
"h5pAlias": "Branching Scenario choice",
|
|
2056
|
+
"description": "Transition control linking to a target BranchNode.",
|
|
2057
|
+
"props": [
|
|
2058
|
+
{
|
|
2059
|
+
"name": "label",
|
|
2060
|
+
"type": "string",
|
|
2061
|
+
"required": true,
|
|
2062
|
+
"description": "Choice label."
|
|
2063
|
+
},
|
|
2064
|
+
{
|
|
2065
|
+
"name": "targetNodeId",
|
|
2066
|
+
"type": "string",
|
|
2067
|
+
"required": true,
|
|
2068
|
+
"description": "Target node id."
|
|
2069
|
+
},
|
|
2070
|
+
{
|
|
2071
|
+
"name": "scoreWeight",
|
|
2072
|
+
"type": "number",
|
|
2073
|
+
"required": false,
|
|
2074
|
+
"description": "Optional choice score weight."
|
|
2075
|
+
},
|
|
2076
|
+
{
|
|
2077
|
+
"name": "disabled",
|
|
2078
|
+
"type": "boolean",
|
|
2079
|
+
"required": false,
|
|
2080
|
+
"description": "Disable choice."
|
|
2081
|
+
}
|
|
2082
|
+
],
|
|
2083
|
+
"requiredIds": [],
|
|
2084
|
+
"parentConstraints": [
|
|
2085
|
+
"BranchNode"
|
|
2086
|
+
],
|
|
2087
|
+
"a11y": {
|
|
2088
|
+
"element": "button",
|
|
2089
|
+
"ariaLabel": "Branch choice",
|
|
2090
|
+
"keyboard": "Activate to follow branch.",
|
|
2091
|
+
"notes": "Radio group pattern."
|
|
2092
|
+
},
|
|
2093
|
+
"theming": {
|
|
2094
|
+
"surface": "global-inherit",
|
|
2095
|
+
"stylingNotes": "Choice button."
|
|
2096
|
+
},
|
|
2097
|
+
"telemetry": {
|
|
2098
|
+
"emits": [
|
|
2099
|
+
"branch_selected"
|
|
2100
|
+
],
|
|
2101
|
+
"requiresActiveLesson": true
|
|
2102
|
+
}
|
|
2103
|
+
},
|
|
2104
|
+
{
|
|
2105
|
+
"type": "BranchingScenario",
|
|
2106
|
+
"category": "container",
|
|
2107
|
+
"compoundContract": true,
|
|
2108
|
+
"h5pMachineName": "H5P.BranchingScenario",
|
|
2109
|
+
"h5pAlias": "Branching Scenario",
|
|
2110
|
+
"description": "Graph-based branching narrative with scored paths.",
|
|
2111
|
+
"allowedChildTypes": [
|
|
2112
|
+
"BranchNode"
|
|
2113
|
+
],
|
|
2114
|
+
"maxNestingDepth": 2,
|
|
2115
|
+
"props": [
|
|
2116
|
+
{
|
|
2117
|
+
"name": "blockId",
|
|
2118
|
+
"type": "BlockId",
|
|
2119
|
+
"required": true,
|
|
2120
|
+
"description": "Stable block id."
|
|
2121
|
+
},
|
|
2122
|
+
{
|
|
2123
|
+
"name": "title",
|
|
2124
|
+
"type": "string",
|
|
2125
|
+
"required": true,
|
|
2126
|
+
"description": "Scenario title."
|
|
2127
|
+
},
|
|
2128
|
+
{
|
|
2129
|
+
"name": "startNodeId",
|
|
2130
|
+
"type": "string",
|
|
2131
|
+
"required": true,
|
|
2132
|
+
"description": "Entry node id."
|
|
2133
|
+
},
|
|
2134
|
+
{
|
|
2135
|
+
"name": "showPathScore",
|
|
2136
|
+
"type": "boolean",
|
|
2137
|
+
"required": false,
|
|
2138
|
+
"description": "Show visited-path score."
|
|
2139
|
+
},
|
|
2140
|
+
{
|
|
2141
|
+
"name": "showPathRecap",
|
|
2142
|
+
"type": "boolean",
|
|
2143
|
+
"required": false,
|
|
2144
|
+
"description": "Show path recap on terminal nodes."
|
|
2145
|
+
},
|
|
2146
|
+
{
|
|
2147
|
+
"name": "children",
|
|
2148
|
+
"type": "BranchNode[]",
|
|
2149
|
+
"required": true,
|
|
2150
|
+
"description": "Branch nodes."
|
|
1017
2151
|
}
|
|
1018
2152
|
],
|
|
1019
|
-
"requiredIds": [
|
|
1020
|
-
"optionalIds": [
|
|
2153
|
+
"requiredIds": [
|
|
1021
2154
|
"blockId"
|
|
1022
2155
|
],
|
|
1023
2156
|
"parentConstraints": [
|
|
1024
|
-
"Lesson"
|
|
1025
|
-
"InteractiveBook"
|
|
2157
|
+
"Lesson"
|
|
1026
2158
|
],
|
|
1027
2159
|
"a11y": {
|
|
1028
2160
|
"element": "section",
|
|
1029
|
-
"ariaLabel": "
|
|
1030
|
-
"keyboard": "
|
|
1031
|
-
"notes": "H5P
|
|
2161
|
+
"ariaLabel": "Branching scenario",
|
|
2162
|
+
"keyboard": "Branch choices; assessments in nodes.",
|
|
2163
|
+
"notes": "H5P Branching Scenario equivalent."
|
|
1032
2164
|
},
|
|
1033
2165
|
"theming": {
|
|
1034
2166
|
"surface": "global-inherit",
|
|
1035
|
-
"stylingNotes": "
|
|
2167
|
+
"stylingNotes": "Scenario chrome."
|
|
1036
2168
|
},
|
|
1037
2169
|
"telemetry": {
|
|
1038
2170
|
"emits": [
|
|
1039
|
-
"
|
|
2171
|
+
"branch_node_viewed",
|
|
2172
|
+
"branch_selected"
|
|
1040
2173
|
],
|
|
1041
2174
|
"requiresActiveLesson": true
|
|
1042
2175
|
}
|
|
1043
2176
|
},
|
|
1044
2177
|
{
|
|
1045
|
-
"type": "
|
|
1046
|
-
"category": "
|
|
1047
|
-
"
|
|
1048
|
-
"
|
|
1049
|
-
"
|
|
1050
|
-
"description": "Multi-page book with chapter navigation.",
|
|
1051
|
-
"allowedChildTypes": [
|
|
1052
|
-
"Page"
|
|
1053
|
-
],
|
|
1054
|
-
"maxNestingDepth": 2,
|
|
2178
|
+
"type": "Embed",
|
|
2179
|
+
"category": "content",
|
|
2180
|
+
"h5pMachineName": "H5P.IFrameEmbed",
|
|
2181
|
+
"h5pAlias": "Iframe Embedder",
|
|
2182
|
+
"description": "Sandboxed iframe embed with restrictive defaults.",
|
|
1055
2183
|
"props": [
|
|
1056
2184
|
{
|
|
1057
2185
|
"name": "blockId",
|
|
@@ -1059,77 +2187,68 @@
|
|
|
1059
2187
|
"required": true,
|
|
1060
2188
|
"description": "Stable block id."
|
|
1061
2189
|
},
|
|
2190
|
+
{
|
|
2191
|
+
"name": "src",
|
|
2192
|
+
"type": "string",
|
|
2193
|
+
"required": true,
|
|
2194
|
+
"description": "Embed URL."
|
|
2195
|
+
},
|
|
1062
2196
|
{
|
|
1063
2197
|
"name": "title",
|
|
1064
2198
|
"type": "string",
|
|
1065
2199
|
"required": true,
|
|
1066
|
-
"description": "
|
|
2200
|
+
"description": "Accessible title."
|
|
1067
2201
|
},
|
|
1068
2202
|
{
|
|
1069
|
-
"name": "
|
|
1070
|
-
"type": "
|
|
2203
|
+
"name": "allow",
|
|
2204
|
+
"type": "string",
|
|
1071
2205
|
"required": false,
|
|
1072
|
-
"description": "
|
|
2206
|
+
"description": "Extra sandbox allow tokens."
|
|
1073
2207
|
},
|
|
1074
2208
|
{
|
|
1075
|
-
"name": "
|
|
1076
|
-
"type": "
|
|
1077
|
-
"required":
|
|
1078
|
-
"description": "
|
|
2209
|
+
"name": "aspectRatio",
|
|
2210
|
+
"type": "string",
|
|
2211
|
+
"required": false,
|
|
2212
|
+
"description": "CSS aspect-ratio."
|
|
1079
2213
|
}
|
|
1080
2214
|
],
|
|
1081
2215
|
"requiredIds": [
|
|
1082
2216
|
"blockId"
|
|
1083
2217
|
],
|
|
1084
2218
|
"parentConstraints": [
|
|
1085
|
-
"Lesson"
|
|
2219
|
+
"Lesson",
|
|
2220
|
+
"Page",
|
|
2221
|
+
"InteractiveBook",
|
|
2222
|
+
"Slide",
|
|
2223
|
+
"SlideDeck",
|
|
2224
|
+
"TimedCue",
|
|
2225
|
+
"InteractiveVideo",
|
|
2226
|
+
"AssessmentSequence",
|
|
2227
|
+
"BranchingScenario",
|
|
2228
|
+
"BranchNode"
|
|
1086
2229
|
],
|
|
1087
2230
|
"a11y": {
|
|
1088
|
-
"element": "
|
|
1089
|
-
"ariaLabel": "
|
|
1090
|
-
"keyboard": "
|
|
1091
|
-
"notes": "
|
|
2231
|
+
"element": "iframe",
|
|
2232
|
+
"ariaLabel": "Embedded content",
|
|
2233
|
+
"keyboard": "Focus enters iframe.",
|
|
2234
|
+
"notes": "Sandboxed; opt-in allow list."
|
|
1092
2235
|
},
|
|
1093
2236
|
"theming": {
|
|
1094
2237
|
"surface": "global-inherit",
|
|
1095
|
-
"stylingNotes": "
|
|
2238
|
+
"stylingNotes": "Responsive iframe."
|
|
1096
2239
|
},
|
|
1097
2240
|
"telemetry": {
|
|
1098
2241
|
"emits": [
|
|
1099
|
-
"
|
|
1100
|
-
]
|
|
1101
|
-
"requiresActiveLesson": true
|
|
2242
|
+
"interaction"
|
|
2243
|
+
]
|
|
1102
2244
|
}
|
|
1103
2245
|
},
|
|
1104
2246
|
{
|
|
1105
|
-
"type": "
|
|
1106
|
-
"category": "
|
|
1107
|
-
"
|
|
1108
|
-
"
|
|
1109
|
-
"
|
|
1110
|
-
"description": "Single slide row in a SlideDeck. Planned allowlist expansion: Video, Summary.",
|
|
1111
|
-
"allowedChildTypes": [
|
|
1112
|
-
"Text",
|
|
1113
|
-
"Heading",
|
|
1114
|
-
"Image",
|
|
1115
|
-
"Scenario",
|
|
1116
|
-
"Reflection",
|
|
1117
|
-
"Quiz",
|
|
1118
|
-
"KnowledgeCheck",
|
|
1119
|
-
"TrueFalse",
|
|
1120
|
-
"FillInTheBlanks",
|
|
1121
|
-
"DragAndDrop",
|
|
1122
|
-
"DragTheWords",
|
|
1123
|
-
"MarkTheWords",
|
|
1124
|
-
"Accordion",
|
|
1125
|
-
"DialogCards",
|
|
1126
|
-
"Flashcards",
|
|
1127
|
-
"ImageHotspots",
|
|
1128
|
-
"FindHotspot",
|
|
1129
|
-
"FindMultipleHotspots",
|
|
1130
|
-
"ImageSlider"
|
|
1131
|
-
],
|
|
1132
|
-
"maxNestingDepth": 1,
|
|
2247
|
+
"type": "Chart",
|
|
2248
|
+
"category": "content",
|
|
2249
|
+
"h5pMachineName": "H5P.Chart",
|
|
2250
|
+
"h5pAlias": "Chart",
|
|
2251
|
+
"description": "Simple bar or pie chart with accessible data table.",
|
|
1133
2252
|
"props": [
|
|
1134
2253
|
{
|
|
1135
2254
|
"name": "blockId",
|
|
@@ -1137,54 +2256,114 @@
|
|
|
1137
2256
|
"required": true,
|
|
1138
2257
|
"description": "Stable block id."
|
|
1139
2258
|
},
|
|
2259
|
+
{
|
|
2260
|
+
"name": "type",
|
|
2261
|
+
"type": "bar | pie",
|
|
2262
|
+
"required": true,
|
|
2263
|
+
"description": "Chart type."
|
|
2264
|
+
},
|
|
2265
|
+
{
|
|
2266
|
+
"name": "data",
|
|
2267
|
+
"type": "ChartDatum[]",
|
|
2268
|
+
"required": true,
|
|
2269
|
+
"description": "Chart data."
|
|
2270
|
+
},
|
|
1140
2271
|
{
|
|
1141
2272
|
"name": "title",
|
|
1142
2273
|
"type": "string",
|
|
1143
2274
|
"required": false,
|
|
1144
|
-
"description": "
|
|
2275
|
+
"description": "Chart title."
|
|
2276
|
+
}
|
|
2277
|
+
],
|
|
2278
|
+
"requiredIds": [
|
|
2279
|
+
"blockId"
|
|
2280
|
+
],
|
|
2281
|
+
"parentConstraints": [
|
|
2282
|
+
"Lesson",
|
|
2283
|
+
"Page",
|
|
2284
|
+
"InteractiveBook",
|
|
2285
|
+
"Slide",
|
|
2286
|
+
"SlideDeck",
|
|
2287
|
+
"TimedCue",
|
|
2288
|
+
"InteractiveVideo",
|
|
2289
|
+
"AssessmentSequence",
|
|
2290
|
+
"BranchingScenario",
|
|
2291
|
+
"BranchNode"
|
|
2292
|
+
],
|
|
2293
|
+
"a11y": {
|
|
2294
|
+
"element": "figure",
|
|
2295
|
+
"ariaLabel": "Chart",
|
|
2296
|
+
"keyboard": "Data table fallback.",
|
|
2297
|
+
"notes": "Table exposes values to screen readers."
|
|
2298
|
+
},
|
|
2299
|
+
"theming": {
|
|
2300
|
+
"surface": "global-inherit",
|
|
2301
|
+
"stylingNotes": "Simple SVG/CSS chart."
|
|
2302
|
+
},
|
|
2303
|
+
"telemetry": {
|
|
2304
|
+
"emits": [
|
|
2305
|
+
"interaction"
|
|
2306
|
+
]
|
|
2307
|
+
}
|
|
2308
|
+
},
|
|
2309
|
+
{
|
|
2310
|
+
"type": "Questionnaire",
|
|
2311
|
+
"category": "content",
|
|
2312
|
+
"h5pMachineName": "H5P.Questionnaire",
|
|
2313
|
+
"h5pAlias": "Questionnaire",
|
|
2314
|
+
"description": "Unscored multi-field survey.",
|
|
2315
|
+
"props": [
|
|
2316
|
+
{
|
|
2317
|
+
"name": "blockId",
|
|
2318
|
+
"type": "BlockId",
|
|
2319
|
+
"required": true,
|
|
2320
|
+
"description": "Stable block id."
|
|
1145
2321
|
},
|
|
1146
2322
|
{
|
|
1147
|
-
"name": "
|
|
1148
|
-
"type": "
|
|
2323
|
+
"name": "fields",
|
|
2324
|
+
"type": "QuestionnaireField[]",
|
|
1149
2325
|
"required": true,
|
|
1150
|
-
"description": "
|
|
2326
|
+
"description": "Form fields."
|
|
1151
2327
|
}
|
|
1152
2328
|
],
|
|
1153
|
-
"requiredIds": [
|
|
1154
|
-
"optionalIds": [
|
|
2329
|
+
"requiredIds": [
|
|
1155
2330
|
"blockId"
|
|
1156
2331
|
],
|
|
1157
2332
|
"parentConstraints": [
|
|
1158
|
-
"
|
|
2333
|
+
"Lesson",
|
|
2334
|
+
"Page",
|
|
2335
|
+
"InteractiveBook",
|
|
2336
|
+
"Slide",
|
|
2337
|
+
"SlideDeck",
|
|
2338
|
+
"TimedCue",
|
|
2339
|
+
"InteractiveVideo",
|
|
2340
|
+
"AssessmentSequence",
|
|
2341
|
+
"BranchingScenario",
|
|
2342
|
+
"BranchNode"
|
|
1159
2343
|
],
|
|
1160
2344
|
"a11y": {
|
|
1161
|
-
"element": "
|
|
1162
|
-
"ariaLabel": "
|
|
1163
|
-
"keyboard": "
|
|
1164
|
-
"notes": "
|
|
2345
|
+
"element": "form",
|
|
2346
|
+
"ariaLabel": "Questionnaire",
|
|
2347
|
+
"keyboard": "Tab through fields.",
|
|
2348
|
+
"notes": "Unscored survey."
|
|
1165
2349
|
},
|
|
1166
2350
|
"theming": {
|
|
1167
2351
|
"surface": "global-inherit",
|
|
1168
|
-
"stylingNotes": "
|
|
2352
|
+
"stylingNotes": "Form layout."
|
|
1169
2353
|
},
|
|
1170
2354
|
"telemetry": {
|
|
1171
2355
|
"emits": [
|
|
1172
|
-
"
|
|
2356
|
+
"questionnaire_submitted"
|
|
1173
2357
|
],
|
|
1174
2358
|
"requiresActiveLesson": true
|
|
1175
2359
|
}
|
|
1176
2360
|
},
|
|
1177
2361
|
{
|
|
1178
|
-
"type": "
|
|
1179
|
-
"category": "
|
|
1180
|
-
"
|
|
1181
|
-
"
|
|
1182
|
-
"
|
|
1183
|
-
"description": "Multi-slide presentation with keyboard navigation.",
|
|
1184
|
-
"allowedChildTypes": [
|
|
1185
|
-
"Slide"
|
|
1186
|
-
],
|
|
1187
|
-
"maxNestingDepth": 2,
|
|
2362
|
+
"type": "MemoryGame",
|
|
2363
|
+
"category": "content",
|
|
2364
|
+
"h5pMachineName": "H5P.MemoryGame",
|
|
2365
|
+
"h5pAlias": "Memory Game",
|
|
2366
|
+
"description": "Card flip memory matching game.",
|
|
1188
2367
|
"props": [
|
|
1189
2368
|
{
|
|
1190
2369
|
"name": "blockId",
|
|
@@ -1193,20 +2372,116 @@
|
|
|
1193
2372
|
"description": "Stable block id."
|
|
1194
2373
|
},
|
|
1195
2374
|
{
|
|
1196
|
-
"name": "
|
|
1197
|
-
"type": "
|
|
2375
|
+
"name": "pairs",
|
|
2376
|
+
"type": "MemoryPair[]",
|
|
1198
2377
|
"required": true,
|
|
1199
|
-
"description": "
|
|
2378
|
+
"description": "Card pairs."
|
|
1200
2379
|
},
|
|
1201
2380
|
{
|
|
1202
|
-
"name": "
|
|
2381
|
+
"name": "selfScore",
|
|
1203
2382
|
"type": "boolean",
|
|
1204
2383
|
"required": false,
|
|
1205
|
-
"description": "
|
|
2384
|
+
"description": "Optional self-score mode."
|
|
2385
|
+
}
|
|
2386
|
+
],
|
|
2387
|
+
"requiredIds": [
|
|
2388
|
+
"blockId"
|
|
2389
|
+
],
|
|
2390
|
+
"parentConstraints": [
|
|
2391
|
+
"Lesson",
|
|
2392
|
+
"Page",
|
|
2393
|
+
"InteractiveBook",
|
|
2394
|
+
"Slide",
|
|
2395
|
+
"SlideDeck",
|
|
2396
|
+
"TimedCue",
|
|
2397
|
+
"InteractiveVideo",
|
|
2398
|
+
"AssessmentSequence",
|
|
2399
|
+
"BranchingScenario",
|
|
2400
|
+
"BranchNode"
|
|
2401
|
+
],
|
|
2402
|
+
"a11y": {
|
|
2403
|
+
"element": "section",
|
|
2404
|
+
"ariaLabel": "Memory game",
|
|
2405
|
+
"keyboard": "Flip cards with buttons.",
|
|
2406
|
+
"notes": "Reduced motion safe."
|
|
2407
|
+
},
|
|
2408
|
+
"theming": {
|
|
2409
|
+
"surface": "global-inherit",
|
|
2410
|
+
"stylingNotes": "Card grid."
|
|
2411
|
+
},
|
|
2412
|
+
"telemetry": {
|
|
2413
|
+
"emits": [
|
|
2414
|
+
"memory_card_flipped"
|
|
2415
|
+
]
|
|
2416
|
+
}
|
|
2417
|
+
},
|
|
2418
|
+
{
|
|
2419
|
+
"type": "InformationWall",
|
|
2420
|
+
"category": "content",
|
|
2421
|
+
"h5pMachineName": "H5P.InformationWall",
|
|
2422
|
+
"h5pAlias": "Information Wall",
|
|
2423
|
+
"description": "Searchable information panels.",
|
|
2424
|
+
"props": [
|
|
2425
|
+
{
|
|
2426
|
+
"name": "blockId",
|
|
2427
|
+
"type": "BlockId",
|
|
2428
|
+
"required": true,
|
|
2429
|
+
"description": "Stable block id."
|
|
1206
2430
|
},
|
|
1207
2431
|
{
|
|
1208
|
-
"name": "
|
|
1209
|
-
"type": "
|
|
2432
|
+
"name": "panels",
|
|
2433
|
+
"type": "InformationPanel[]",
|
|
2434
|
+
"required": true,
|
|
2435
|
+
"description": "Content panels."
|
|
2436
|
+
}
|
|
2437
|
+
],
|
|
2438
|
+
"requiredIds": [
|
|
2439
|
+
"blockId"
|
|
2440
|
+
],
|
|
2441
|
+
"parentConstraints": [
|
|
2442
|
+
"Lesson",
|
|
2443
|
+
"Page",
|
|
2444
|
+
"InteractiveBook",
|
|
2445
|
+
"Slide",
|
|
2446
|
+
"SlideDeck",
|
|
2447
|
+
"TimedCue",
|
|
2448
|
+
"InteractiveVideo",
|
|
2449
|
+
"AssessmentSequence",
|
|
2450
|
+
"BranchingScenario",
|
|
2451
|
+
"BranchNode"
|
|
2452
|
+
],
|
|
2453
|
+
"a11y": {
|
|
2454
|
+
"element": "section",
|
|
2455
|
+
"ariaLabel": "Information wall",
|
|
2456
|
+
"keyboard": "Search and browse panels.",
|
|
2457
|
+
"notes": "Filterable grid."
|
|
2458
|
+
},
|
|
2459
|
+
"theming": {
|
|
2460
|
+
"surface": "global-inherit",
|
|
2461
|
+
"stylingNotes": "Panel grid."
|
|
2462
|
+
},
|
|
2463
|
+
"telemetry": {
|
|
2464
|
+
"emits": [
|
|
2465
|
+
"information_wall_search"
|
|
2466
|
+
]
|
|
2467
|
+
}
|
|
2468
|
+
},
|
|
2469
|
+
{
|
|
2470
|
+
"type": "ParallaxSlideshow",
|
|
2471
|
+
"category": "content",
|
|
2472
|
+
"h5pMachineName": "H5P.ImpressivePresentation",
|
|
2473
|
+
"h5pAlias": "Slideshow (parallax)",
|
|
2474
|
+
"description": "Slideshow with parallax; static fallback when reduced motion.",
|
|
2475
|
+
"props": [
|
|
2476
|
+
{
|
|
2477
|
+
"name": "blockId",
|
|
2478
|
+
"type": "BlockId",
|
|
2479
|
+
"required": true,
|
|
2480
|
+
"description": "Stable block id."
|
|
2481
|
+
},
|
|
2482
|
+
{
|
|
2483
|
+
"name": "slides",
|
|
2484
|
+
"type": "ParallaxSlide[]",
|
|
1210
2485
|
"required": true,
|
|
1211
2486
|
"description": "Slides."
|
|
1212
2487
|
}
|
|
@@ -1215,23 +2490,31 @@
|
|
|
1215
2490
|
"blockId"
|
|
1216
2491
|
],
|
|
1217
2492
|
"parentConstraints": [
|
|
1218
|
-
"Lesson"
|
|
2493
|
+
"Lesson",
|
|
2494
|
+
"Page",
|
|
2495
|
+
"InteractiveBook",
|
|
2496
|
+
"Slide",
|
|
2497
|
+
"SlideDeck",
|
|
2498
|
+
"TimedCue",
|
|
2499
|
+
"InteractiveVideo",
|
|
2500
|
+
"AssessmentSequence",
|
|
2501
|
+
"BranchingScenario",
|
|
2502
|
+
"BranchNode"
|
|
1219
2503
|
],
|
|
1220
2504
|
"a11y": {
|
|
1221
2505
|
"element": "section",
|
|
1222
|
-
"ariaLabel": "
|
|
1223
|
-
"keyboard": "
|
|
1224
|
-
"notes": "
|
|
2506
|
+
"ariaLabel": "Slideshow",
|
|
2507
|
+
"keyboard": "Previous/next slide.",
|
|
2508
|
+
"notes": "prefers-reduced-motion fallback."
|
|
1225
2509
|
},
|
|
1226
2510
|
"theming": {
|
|
1227
2511
|
"surface": "global-inherit",
|
|
1228
|
-
"stylingNotes": "
|
|
2512
|
+
"stylingNotes": "Slide deck."
|
|
1229
2513
|
},
|
|
1230
2514
|
"telemetry": {
|
|
1231
2515
|
"emits": [
|
|
1232
|
-
"
|
|
1233
|
-
]
|
|
1234
|
-
"requiresActiveLesson": true
|
|
2516
|
+
"parallax_slide_viewed"
|
|
2517
|
+
]
|
|
1235
2518
|
}
|
|
1236
2519
|
},
|
|
1237
2520
|
{
|
|
@@ -1263,7 +2546,11 @@
|
|
|
1263
2546
|
"InteractiveBook",
|
|
1264
2547
|
"Slide",
|
|
1265
2548
|
"SlideDeck",
|
|
1266
|
-
"
|
|
2549
|
+
"TimedCue",
|
|
2550
|
+
"InteractiveVideo",
|
|
2551
|
+
"AssessmentSequence",
|
|
2552
|
+
"BranchingScenario",
|
|
2553
|
+
"BranchNode"
|
|
1267
2554
|
],
|
|
1268
2555
|
"a11y": {
|
|
1269
2556
|
"element": "section",
|
|
@@ -1310,7 +2597,11 @@
|
|
|
1310
2597
|
"InteractiveBook",
|
|
1311
2598
|
"Slide",
|
|
1312
2599
|
"SlideDeck",
|
|
1313
|
-
"
|
|
2600
|
+
"TimedCue",
|
|
2601
|
+
"InteractiveVideo",
|
|
2602
|
+
"AssessmentSequence",
|
|
2603
|
+
"BranchingScenario",
|
|
2604
|
+
"BranchNode"
|
|
1314
2605
|
],
|
|
1315
2606
|
"a11y": {
|
|
1316
2607
|
"element": "section",
|
|
@@ -1361,7 +2652,11 @@
|
|
|
1361
2652
|
"InteractiveBook",
|
|
1362
2653
|
"Slide",
|
|
1363
2654
|
"SlideDeck",
|
|
1364
|
-
"
|
|
2655
|
+
"TimedCue",
|
|
2656
|
+
"InteractiveVideo",
|
|
2657
|
+
"AssessmentSequence",
|
|
2658
|
+
"BranchingScenario",
|
|
2659
|
+
"BranchNode"
|
|
1365
2660
|
],
|
|
1366
2661
|
"a11y": {
|
|
1367
2662
|
"element": "section",
|
|
@@ -1420,7 +2715,11 @@
|
|
|
1420
2715
|
"InteractiveBook",
|
|
1421
2716
|
"Slide",
|
|
1422
2717
|
"SlideDeck",
|
|
1423
|
-
"
|
|
2718
|
+
"TimedCue",
|
|
2719
|
+
"InteractiveVideo",
|
|
2720
|
+
"AssessmentSequence",
|
|
2721
|
+
"BranchingScenario",
|
|
2722
|
+
"BranchNode"
|
|
1424
2723
|
],
|
|
1425
2724
|
"a11y": {
|
|
1426
2725
|
"element": "section",
|
|
@@ -1467,7 +2766,11 @@
|
|
|
1467
2766
|
"InteractiveBook",
|
|
1468
2767
|
"Slide",
|
|
1469
2768
|
"SlideDeck",
|
|
1470
|
-
"
|
|
2769
|
+
"TimedCue",
|
|
2770
|
+
"InteractiveVideo",
|
|
2771
|
+
"AssessmentSequence",
|
|
2772
|
+
"BranchingScenario",
|
|
2773
|
+
"BranchNode"
|
|
1471
2774
|
],
|
|
1472
2775
|
"a11y": {
|
|
1473
2776
|
"element": "section",
|
|
@@ -1557,7 +2860,11 @@
|
|
|
1557
2860
|
"InteractiveBook",
|
|
1558
2861
|
"Slide",
|
|
1559
2862
|
"SlideDeck",
|
|
1560
|
-
"
|
|
2863
|
+
"TimedCue",
|
|
2864
|
+
"InteractiveVideo",
|
|
2865
|
+
"AssessmentSequence",
|
|
2866
|
+
"BranchingScenario",
|
|
2867
|
+
"BranchNode"
|
|
1561
2868
|
],
|
|
1562
2869
|
"a11y": {
|
|
1563
2870
|
"element": "section",
|
|
@@ -1652,7 +2959,11 @@
|
|
|
1652
2959
|
"InteractiveBook",
|
|
1653
2960
|
"Slide",
|
|
1654
2961
|
"SlideDeck",
|
|
1655
|
-
"
|
|
2962
|
+
"TimedCue",
|
|
2963
|
+
"InteractiveVideo",
|
|
2964
|
+
"AssessmentSequence",
|
|
2965
|
+
"BranchingScenario",
|
|
2966
|
+
"BranchNode"
|
|
1656
2967
|
],
|
|
1657
2968
|
"a11y": {
|
|
1658
2969
|
"element": "section",
|