Details
-
Task
-
Resolution: Done
-
P1: Critical
-
None
-
None
-
None
-
5
-
QDS Oulu - 2024 Week 5/6
Description
- JSON model should be an object which contains all the collections as properties
- Each collection should be an object containing two properties
- "columns" which is an array of column objects. Each column object has two properties:
- "name", which specifies the column name
- "type", which specifies the column data type
- "data" which is an array of row data. Each row data is an array of JSON values which should be mapped to columns.
- "columns" which is an array of column objects. Each column object has two properties:
Example:
{ "Collection 1": { "columns": [ { "name": "Column 1", "type": "int" }, { "name": "Column 2", "type": "string" } ], "data": [ [1 , "Value 1"], [2 , "Value 2"], [3 , "Value 3"] ] }, "Cars": { "columns": [ { "name": "id", "type": "int" }, { "name": "Brand", "type": "string" }, { "name": "Model", "type": "string" }, { "name": "Year Model", "type": "int" } ], "data": [ [1 , "BMW", "i3", "2019"], [1 , "Audi", "Q8", "2017"], [1 , "Hyundai", "Santa Fe", "2008"], [1 , "Toyota", "Yaris", "2018"] ] } }