Event:

cQube adopts below event specification.

{
"type": "object",
"properties": {
<COLUMN NAME>: {
"type": "string || number",
"shouldnotnull": true
}
}
}

Ex:

1{ 2 "properties": { 3 "date": { 4 "type": "string", 5 "format": "date" 6 }, 7 "grade_state": { 8 "type": "string", 9 "unique": true 10 }, 11 "total_teachers": { 12 "type": "integer", 13 "unique": true 14 } 15 } 16}


Dimension:

cQube adopts below Dimension specification.

{
"title": <NAME OF THE DIMENSION TABLE>,
"indexes": [
{
"columns": [
[
<COLUMN NAME TO BE INDEXED>
]
]
}
],
"properties": {
<COLUMN NAME>: {
"type": "string || number",
"unique": true
}
},
"psql_schema": "dimensions"
}

Example:

1{ 2 "title": "sch_att_teachers_marked_Weekly_cluster", 3 "properties": { 4 "sum": { 5 "type": "number" 6 }, 7 "count": { 8 "type": "number" 9 }, 10 "cluster_id": { 11 "type": "string" 12 } 13 }, 14 "psql_schema": "datasets" 15}


Datasets

Below is the Dataset specification for Datasets

{
"title": <NAME OF THE DATASET TABLE>,
"properties": {
<COLUMN NAME>: {
"type": "string || number"
}
},
"psql_schema": "datasets"
}


1{ 2 "title": "subject", 3 "indexes": [ 4 { 5 "columns": [ 6 [ 7 "subject_nas", 8 "subject_diksha", 9 "subject_state" 10 ] 11 ] 12 } 13 ], 14 "properties": { 15 "subject_id": { 16 "type": "string", 17 "unique": true 18 }, 19 "subject_nas": { 20 "type": "string", 21 "unique": true 22 }, 23 "subject_state": { 24 "type": "string", 25 "unique": true 26 }, 27 "subject_diksha": { 28 "type": "string", 29 "unique": true 30 } 31 }, 32 "psql_schema": "dimensions" 33}