tps/database/templates/srce.json

82 lines
2.3 KiB
JSON
Raw Permalink Normal View History

2018-05-23 00:31:45 -04:00
{
2018-05-25 10:25:09 -04:00
"name": "dcard",
"source": "client_file",
"loading_function": "csv",
"constraint": [
2018-05-23 00:31:45 -04:00
"{Trans. Date}",
2018-05-25 02:25:36 -04:00
"{Post Date}",
"{Description}"
2018-05-23 00:31:45 -04:00
],
2018-12-02 01:10:34 -05:00
"schemas": [
{
"name": "default",
"columns": [
{
"path": "{Trans. Date}",
"type": "date",
"column_name": "Trans. Date"
},
{
"path": "{Post Date}",
"type": "date",
"column_name": "Post Date"
},
{
"path": "{Description}",
"type": "text",
"column_name": "Description"
},
{
"path": "{Amount}",
"type": "numeric",
"column_name": "Amount"
},
{
"path": "{Category}",
"type": "text",
"column_name": "Category"
}
]
},
{
"name": "mapped",
"columns": [
{
"path": "{Trans. Date}",
"type": "date",
"column_name": "Trans. Date"
},
{
"path": "{Post Date}",
"type": "date",
"column_name": "Post Date"
},
{
"path": "{Description}",
"type": "text",
"column_name": "Description"
},
{
"path": "{Amount}",
"type": "numeric",
"column_name": "Amount"
},
{
"path": "{Category}",
"type": "text",
"column_name": "Category"
},
{
"path": "{party}",
"type": "text",
"column_name": "Party"
},
{
"path": "{reason}",
"type": "text",
"column_name": "Reason"
}
]
}
]
2018-05-23 00:31:45 -04:00
}