Skip to main content
Version: Next

FileUpdateDto

originalFileNamestringrequired
Example: file.csv
mediaTypestringrequired
Example: text/csv
csvw objectrequired
@contextstring[]required
Example: ["http://example.com/csvw.json"]
tables object
urlstringrequired
Example: http://example.com/table.csv
tableSchema 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
}
}
}
}