Skip to content

Instantly share code, notes, and snippets.

@philipashlock
Last active May 16, 2017 12:16
Show Gist options
  • Save philipashlock/21ff607527863fba200b to your computer and use it in GitHub Desktop.
Save philipashlock/21ff607527863fba200b to your computer and use it in GitHub Desktop.
Project Open Data schema example - v1.1 draft
{
"$ref": "http://project-open-data.github.io/schema/1.1/catalog.json",
"$schema": "http://project-open-data.github.io/schema/1.1/",
"dataset": [
{
"accessLevel": "public",
"accrualPeriodicity": "R/P1Y",
"bureauCode": [
"018:10"
],
"contactPoint": "Jane Doe",
"dataDictionary": "http://www.agency.gov/datasets/widgets-dictionary.html",
"dataQuality": true,
"description": "This dataset provides national statistics on the production of widgets",
"distribution": [
{
"description": "Widgets data as a CSV file",
"downloadURL": "https://data.agency.gov/datasets/widgets-statistics/widgets.csv",
"format": "CSV",
"mediaType": "text/csv",
"title": "widgets.csv"
},
{
"description": "Widgets data as a zipped CSV file with attached data dictionary",
"downloadURL": "https://data.agency.gov/datasets/widgets-statistics/widgets-all.zip",
"format": "Zipped CSV",
"mediaType": "application/zip",
"title": "widgets-all.zip"
},
{
"accessURL": "https://data.agency.gov/api/widgets-statistics/",
"description": "A fully queryable REST API with JSON and XML output",
"format": "API",
"title": "Widgets REST API"
}
],
"identifier": "widgets-0001",
"issued": "2011-11-22",
"keyword": [
"widget",
"manufacturing",
"factory"
],
"landingPage": "http://agency.gov/widgets/data",
"language": [
"en-US"
],
"license": "Creative Commons Zero",
"mbox": "Jane.doe@agency.gov",
"modified": "2011-11-19T12:00:00Z",
"primaryITInvestmentUII": "021-006227212",
"programCode": [
"018:001"
],
"publisher": {
"name": "Widget Services",
"subOrganizationOf": {
"name": "Office of Citizen Services and Innovative Technologies",
"subOrganizationOf": {
"name": "General Services Administration",
"subOrganizationOf": {
"name": "U.S. Government"
}
}
}
},
"references": [
"http://agency.gov/docs/widgets-1.html",
"http://agency.gov/docs/widgets-2.html"
],
"rights": "This dataset has been given an international public domain dedication for worldwide reuse",
"spatial": "United States",
"systemOfRecords": "http://www.agency.gov/widgets/sorn/",
"temporal": "2009-09-01T12:00:00Z/2010-05-31T12:00:00Z",
"theme": [
"manufacturing"
],
"title": "U.S. Widget Manufacturing Statistics"
},
{
"accessLevel": "public",
"accrualPeriodicity": "R/P1Y",
"bureauCode": [
"018:10"
],
"contactPoint": "James Doe",
"description": "This dataset provides ranges on widget phase modulation",
"identifier": "widget-modulators",
"issued": "2011-11-22",
"keyword": [
"widget",
"modulation"
],
"landingPage": "http://agency.gov/widgets/data",
"language": [
"en-US"
],
"license": "Public Domain",
"mbox": "james.doe@agency.gov",
"modified": "2011-11-19T12:00:00Z",
"primaryITInvestmentUII": "021-006227212",
"programCode": [
"018:001"
],
"publisher": {
"name": "Widget Modulation Program",
"subOrganizationOf": {
"name": "Office of Citizen Services and Innovative Technologies",
"subOrganizationOf": {
"name": "General Services Administration",
"subOrganizationOf": {
"name": "U.S. Government"
}
}
}
},
"references": [
"http://agency.gov/docs/widgets-1.html",
"http://agency.gov/docs/widgets-2.html"
],
"rights": "This dataset is a U.S. Government Work and is not covered by copyright in the United States of America",
"spatial": "United States",
"systemOfRecords": "http://www.agency.gov/widgets/sorn/",
"temporal": "2009-09-01T12:00:00Z/2010-05-31T12:00:00Z",
"theme": [
"manufacturing"
],
"title": "U.S. Widget Phase Modulation Ranges"
},
{
"accessLevel": "public",
"accrualPeriodicity": "R/P1Y",
"bureauCode": [
"018:10"
],
"contactPoint": "James Doe",
"dataDictionary": "http://www.agency.gov/datasets/widget-modulation-dictionary.html",
"dataQuality": true,
"description": "This dataset provides ranges on widget phase modulators for 2011",
"distribution": [
{
"description": "Widget modulator data as a CSV file",
"downloadURL": "https://data.agency.gov/datasets/widgets-modulator-ranges.csv",
"format": "CSV",
"mediaType": "text/csv",
"title": "widgets.csv"
}
],
"identifier": "widget-modulation-2011",
"isPartOf": "widget-modulators",
"issued": "2011-11-22",
"keyword": [
"widget",
"modulation"
],
"landingPage": "http://agency.gov/widgets/data",
"language": [
"en-US"
],
"license": "Public Domain",
"mbox": "Jane.doe@agency.gov",
"modified": "2011-11-19T12:00:00Z",
"primaryITInvestmentUII": "021-006227212",
"programCode": [
"018:001"
],
"publisher": {
"name": "Widget Modulation Program",
"subOrganizationOf": {
"name": "Office of Citizen Services and Innovative Technologies",
"subOrganizationOf": {
"name": "General Services Administration",
"subOrganizationOf": {
"name": "U.S. Government"
}
}
}
},
"references": [
"http://agency.gov/docs/widgets-1.html",
"http://agency.gov/docs/widgets-2.html"
],
"rights": "This dataset is a U.S. Government Work and is not covered by copyright in the United States of America",
"spatial": "United States",
"systemOfRecords": "http://www.agency.gov/widgets/sorn/",
"temporal": "2009-09-01T12:00:00Z/2010-05-31T12:00:00Z",
"theme": [
"manufacturing"
],
"title": "U.S. Widget Phase Modulation Ranges for 2011"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment