Skip to content

Instantly share code, notes, and snippets.

@isc-rsingh
Last active March 28, 2018 19:20
Show Gist options
  • Save isc-rsingh/134c73343077a883c1cf7004ae318267 to your computer and use it in GitHub Desktop.
Save isc-rsingh/134c73343077a883c1cf7004ae318267 to your computer and use it in GitHub Desktop.
Metadata sample conforming to https://project-open-data.cio.gov/v1.1/schema/
{
"type": "DataCatalog",
"title": "My Data Catalog",
"modified": "2018-02-02",
"accessLevel": "public",
"conformsTo": "https://project-open-data.cio.gov/v1.1/schema",
"datasets": [
{
"@context": "http://schema.org/",
"@type": "dcat:Dataset",
"identifier": "homes-1m-redfin-2016",
"title": "Million Dollar Home Sales",
"description": "Homes that sold for over a million USD in northeastern Massachusetts in a 3-month period in late 2016.",
"modified": "2017-10-03",
"distribution": [{
"downloadURL": "http://s3-api.us-geo.objectstorage.softlayer.net/opendata/misc/milliondollarhomes.csv",
"format": "CSV",
"mediaType": "text/csv",
"sizeInBytes": "102092"
},
{
"downloadURL": "http://s3-api.us-geo.objectstorage.softlayer.net/opendata/misc/milliondollarhomes.geojson",
"format": "GeoJSON",
"mediaType": "application/json",
"sizeInBytes": "358400"
}],
"keyword": ["housing","income"],
"spatial": "Massachusetts, United States",
"publisher": {
"@type": "org:Organization",
"name": "Raj Singh"
},
"contactPoint": {
"@type": "vcard:Contact",
"fn": "Raj Singh",
"hasEmail": "[email protected]"
},
"accessLevel": "public"
},
{
"@context": "http://schema.org/",
"@type": "dcat:Dataset",
"identifier": "sales-jan-2009",
"title": "Sample POS data",
"description": "Sample point of sale data for 3 products. This data set has been floating around the Internet for years",
"modified": "2009-12-31",
"distribution": [{
"downloadURL": "http://s3-api.us-geo.objectstorage.softlayer.net/opendata/retail/salesjan2009.csv",
"format": "CSV",
"mediaType": "text/csv",
"sizeInBytes": "125655"
}],
"keyword": ["retail","sales","pos","transactions"],
"spatial": "World",
"publisher": {
"@type": "org:Organization",
"name": "Raj Singh"
},
"contactPoint": {
"@type": "vcard:Contact",
"fn": "Raj Singh",
"hasEmail": "[email protected]"
},
"accessLevel": "public"
},
{
"@context": "http://schema.org/",
"@type": "dcat:Dataset",
"identifier": "us-president-election-2016",
"title": "US Presidential Election Results by County 2016",
"description": "US Presidential Election Results by County. Copied from https://github.com/benradford/electiogeddon",
"modified": "2017-06-03",
"distribution": [{
"downloadURL": "http://s3-api.us-geo.objectstorage.softlayer.net/opendata/election/county_election_results.csv",
"format": "CSV",
"mediaType": "text/csv",
"sizeInBytes": "3316200"
}],
"keyword": ["election","president","democracy"],
"spatial": "United States",
"publisher": {
"@type": "org:Organization",
"name": "Raj Singh"
},
"contactPoint": {
"@type": "vcard:Contact",
"fn": "Raj Singh",
"hasEmail": "[email protected]"
},
"accessLevel": "public",
"license": "https://opensource.org/licenses/MIT"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment