With heal-sdk==1.1.1, I tried to transform a CSV data dictionary with the following field:
| name |
description |
enum |
| total_modules_qrt |
Total modules |
Q1=0|Q2=1-9|Q3=10-31|Q4=>=32 |
Which produced the following JSON output:
{
"name": "total_modules_qrt",
"description": "Total modules",
"constraints": {
"enum": [
"Q1=0",
"Q2=1-9",
"Q3=10-31",
"Q4=>=32"
]
}
}
However, as per the VLMD schema examples, I would expect to see:
{
"name": "total_modules_qrt",
"description": "Total modules",
"constraints": {
"enum": [
"Q1",
"Q2",
"Q3",
"Q4"
]
},
"enumLabels": {
"Q1": "0",
"Q2": "1-9",
"Q3": "10-31",
"Q4": ">=32"
}
}
With heal-sdk==1.1.1, I tried to transform a CSV data dictionary with the following field:
Which produced the following JSON output:
{ "name": "total_modules_qrt", "description": "Total modules", "constraints": { "enum": [ "Q1=0", "Q2=1-9", "Q3=10-31", "Q4=>=32" ] } }However, as per the VLMD schema examples, I would expect to see:
{ "name": "total_modules_qrt", "description": "Total modules", "constraints": { "enum": [ "Q1", "Q2", "Q3", "Q4" ] }, "enumLabels": { "Q1": "0", "Q2": "1-9", "Q3": "10-31", "Q4": ">=32" } }