Extended by Simple Data Format, using JSON Table Schema and CSV Dialect Description Format.
Last active
August 29, 2015 13:56
-
-
Save hubgit/8852687 to your computer and use it in GitHub Desktop.
Data Package JSON experiments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "a-unique-human-readable-and-url-usable-identifier", | |
"title": "A nice title", | |
"resources": [ | |
{ | |
"path": "file-one.csv", | |
"format": "csv", | |
"hash": "md5hash", | |
"modified": "2014-02-01", | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "a-unique-human-readable-and-url-usable-identifier", | |
"title": "A nice title", | |
"resources": [ | |
{ | |
"path": "file-one.csv", | |
"schema": { | |
"fields": [ | |
{ | |
"name": "id", | |
"type": "string" | |
} | |
{ | |
"name": "title", | |
"type": "string" | |
}, | |
{ | |
"name": "volume", | |
"type": "integer" | |
}, | |
{ | |
"name": "datePublished", | |
"type": "date", | |
"title": "publication date", | |
"description": "the date the item was published" | |
} | |
], | |
"primaryKey": "id" | |
}, | |
"dialect": { | |
"delimiter": ",", | |
"doubleQuote": false, | |
"lineTerminator": "\n", | |
"quoteChar": "\"", | |
"skipInitialSpace": false | |
} | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "a-unique-human-readable-and-url-usable-identifier", | |
"title": "A nice title", | |
"resources": [ | |
{ | |
"path": "file-one.csv", | |
"schema": { | |
"fields": [ | |
{ | |
"name": "id", | |
"type": "string" | |
} | |
{ | |
"name": "title", | |
"type": "string" | |
}, | |
{ | |
"name": "volume", | |
"type": "integer" | |
}, | |
{ | |
"name": "datePublished", | |
"type": "date", | |
"title": "publication date", | |
"description": "the date the item was published" | |
} | |
], | |
"primaryKey": "id" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment