tps/sample_discovercard/srce.json

76 lines
1.9 KiB
JSON
Raw 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-05-25 10:25:09 -04:00
"schemas": {
"default": [
2018-05-23 00:31:45 -04:00
{
2018-05-25 10:25:09 -04:00
"path": "{Trans. Date}",
"type": "date",
"column_name": "Trans. Date"
2018-05-23 00:31:45 -04:00
},
{
2018-05-25 10:25:09 -04:00
"path": "{Post Date}",
"type": "date",
"column_name": "Post Date"
2018-05-23 00:31:45 -04:00
},
{
2018-05-25 10:25:09 -04:00
"path": "{Description}",
"type": "text",
"column_name": "Description"
2018-05-23 00:31:45 -04:00
},
{
2018-05-25 10:25:09 -04:00
"path": "{Amount}",
"type": "numeric",
"column_name": "Amount"
2018-05-23 00:31:45 -04:00
},
{
2018-05-25 10:25:09 -04:00
"path": "{Category}",
"type": "text",
"column_name": "Category"
2018-05-23 00:31:45 -04:00
}
],
2018-05-25 10:25:09 -04:00
"mapped": [
{
2018-05-25 10:25:09 -04:00
"path": "{Trans. Date}",
"type": "date",
"column_name": "Trans. Date"
},
{
2018-05-25 10:25:09 -04:00
"path": "{Post Date}",
"type": "date",
"column_name": "Post Date"
},
{
2018-05-25 10:25:09 -04:00
"path": "{Description}",
"type": "text",
"column_name": "Description"
},
{
2018-05-25 10:25:09 -04:00
"path": "{Amount}",
"type": "numeric",
"column_name": "Amount"
},
{
2018-05-25 10:25:09 -04:00
"path": "{Category}",
"type": "text",
"column_name": "Category"
},
{
2018-05-25 10:25:09 -04:00
"path": "{party}",
"type": "text",
"column_name": "Party"
},
{
2018-05-25 10:25:09 -04:00
"path": "{reason}",
"type": "text",
"column_name": "Reason"
}
]
2018-05-23 00:31:45 -04:00
}
}