FileUpdateDto
originalFileNamestringrequired
Example:
file.csvmediaTypestringrequired
Example:
text/csvcsvw objectrequired
@contextstring[]required
Example:
["http://example.com/csvw.json"]tables object
urlstringrequired
Example:
http://example.com/table.csvtableSchema object
columnsstring[]
Example:
[{"name":"http://example.com/tableSchema.json"}]dialectobject
Example:
{"header":true}FileUpdateDto
{
"originalFileName": "file.csv",
"mediaType": "text/csv",
"csvw": {
"@context": [
"http://example.com/csvw.json"
],
"tables": {
"url": "http://example.com/table.csv",
"tableSchema": {
"columns": [
{
"name": "http://example.com/tableSchema.json"
}
]
},
"dialect": {
"header": true
}
}
}
}