{
"id": "1",
"name": "ChinookModel",
"connection": {
"id": "2",
"name": "Chinook",
"host": "localhost",
"port": 5432,
"user": "postgres",
"password": "test",
"database": "chinook",
"type": "POSTGRES"
},
"tables": [
{
"id": "1",
"dbName": "album",
"name": "Album",
"columns": [
{
"id": "title",
"dbName": "title",
"name": "Album Title",
"dataType": "STRING"
}
]
}
],
"joins": [],
"formulas": [],
"filters": []
}
curl -X POST http://localhost:3000/validate \
-H "Content-Type: application/json" \
-d '{
"id": "1",
"name": "ChinookModel",
"connection": {
"id": "2",
"name": "Chinook",
"host": "localhost",
"port": 5432,
"user": "postgres",
"password": "test",
"database": "chinook",
"type": "POSTGRES"
},
"tables": [
{
"id": "1",
"dbName": "album",
"name": "Album",
"columns": [
{
"id": "title",
"dbName": "title",
"name": "Album Title",
"dataType": "STRING"
}
]
}
],
"joins": [],
"formulas": [],
"filters": []
}'