diff --git a/unittests/table_json_conversion/data/error_simple_data.json b/unittests/table_json_conversion/data/error_simple_data.json index bfea88b675ab2a6e0c1787fc401afec5c564c006..4d57b0335b4685ea82f1668d50b52a9d30ef1759 100644 --- a/unittests/table_json_conversion/data/error_simple_data.json +++ b/unittests/table_json_conversion/data/error_simple_data.json @@ -1,11 +1,11 @@ { - "Training": { + "Training": [{ "duration": 1.0, "participants": 0.5 - }, - "Person": { + }], + "Person": [{ "family_name": "Auric", "given_name": "Goldfinger", "Organisation": "Federal Reserve" - } + }] } diff --git a/unittests/table_json_conversion/data/indirect_data.json b/unittests/table_json_conversion/data/indirect_data.json index c77dd1ff2a703af6b6b2a0db19f450ac10616d9b..76db75d97e1dafff223ea2b27ecca1086d6bc4af 100644 --- a/unittests/table_json_conversion/data/indirect_data.json +++ b/unittests/table_json_conversion/data/indirect_data.json @@ -1,5 +1,5 @@ { - "Wrapper": { + "Wrapper": [{ "Results": [ { "year": 2022, @@ -14,5 +14,5 @@ "name": "Basic Training", "url": "www.example.com/training/basic" } - } + }] } diff --git a/unittests/table_json_conversion/data/multiple_choice_data.json b/unittests/table_json_conversion/data/multiple_choice_data.json index 1f14911ea79e8d78a452bb221f693d1a01cce744..ee24ef7adbd61abf22d47bb3d49f43f3e1e26501 100644 --- a/unittests/table_json_conversion/data/multiple_choice_data.json +++ b/unittests/table_json_conversion/data/multiple_choice_data.json @@ -1,5 +1,5 @@ { - "Training": { + "Training": [{ "name": "Super Skill Training", "date": "2024-04-17", "skills": [ @@ -7,5 +7,5 @@ "Evaluation" ], "exam_types": [] - } + }] } diff --git a/unittests/table_json_conversion/data/multiple_refs_data.json b/unittests/table_json_conversion/data/multiple_refs_data.json index 5b8ce9136635832111abb2206d8afe1bc7c58444..fa7c7af8e25096d15683bc924a41fb9572db3eb5 100644 --- a/unittests/table_json_conversion/data/multiple_refs_data.json +++ b/unittests/table_json_conversion/data/multiple_refs_data.json @@ -1,5 +1,5 @@ { - "Training": { + "Training": [{ "trainer": [], "participant": [ { @@ -44,5 +44,5 @@ "date": "2024-03-21T14:12:00.000Z", "url": "www.indiscale.com", "name": "Example training with multiple organizations." - } + }] } diff --git a/unittests/table_json_conversion/data/simple_data.json b/unittests/table_json_conversion/data/simple_data.json index 9997f17e76a46d5e97d842fdee40626047e7a347..92a1661a7e975747fa346997c0a3309e740c7324 100644 --- a/unittests/table_json_conversion/data/simple_data.json +++ b/unittests/table_json_conversion/data/simple_data.json @@ -1,5 +1,5 @@ { - "Training": { + "Training": [{ "date": "2023-01-01", "url": "www.indiscale.com", "coach": [ @@ -23,10 +23,10 @@ "participants": 1, "subjects": ["Math", "Physics"], "remote": false - }, - "Person": { + }], + "Person": [{ "family_name": "Steve", "given_name": "Stevie", "Organisation": "IMF" - } + }] } diff --git a/unittests/table_json_conversion/data/simple_data_ascii_chars.json b/unittests/table_json_conversion/data/simple_data_ascii_chars.json index b1d13ebee5d6e3949fa606a130e6f5819bfc4bc8..84e22b9bcbf3b5c053d955ed398b442379a99395 100644 --- a/unittests/table_json_conversion/data/simple_data_ascii_chars.json +++ b/unittests/table_json_conversion/data/simple_data_ascii_chars.json @@ -1,5 +1,5 @@ { - "Training": { + "Training": [{ "date": "2023-01-01", "url": "char: >\u0001\u0002\u0003\u0004\u0005\u0006\u0007\u0008\u0009<", "subjects": [ @@ -9,10 +9,10 @@ ">\u0020\u0021\u0022\u0023\u0024\u0025\u0026\u0027<", ">\u0028\u0029\u002a\u002b\u002c\u002d\u002e\u002f<" ] - }, - "Person": { + }], + "Person": [{ "family_name": "Steve", "given_name": "Stevie", "Organisation": "IMF" - } + }] }