Skip to content
This repository was archived by the owner on Jun 18, 2024. It is now read-only.

Commit fa42040

Browse files
committed
Clarified "distribution" guidance
Addressing Issue #16.
1 parent 26b771a commit fa42040

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

Diff for: schema.md

+16-2
Original file line numberDiff line numberDiff line change
@@ -306,9 +306,23 @@ Field | title
306306
**Cardinality** | (0,n)
307307
**Required** | No
308308
**Accepted Values** | See Usage Notes
309-
**Usage Notes** | Distribution is a concatenation, as appropriate, of the following elements: download url, format, endpoint, language, size. An example of this this model is:
309+
**Usage Notes** | Distribution is a concatenation, as appropriate, of the following elements: Download URL, Format, Size. If an entry has only one dataset, enter details for that one; if it has multiple datasets (such as a bulk download and an API), separate entry with a comma, as seen below:
310310

311-
"distribution": [`{"accessURL": "http://data.mcc.gov/example_resource/data.json", "format":"JSON", "size":"22mb"}`,`{"accessURL":"http://data.mcc.gov/example_/data.xml", "format":"XML", "size":"24mb"}`]
311+
"distribution": [
312+
{
313+
"accessURL": "https://explore.data.gov/views/ykv5-fn9t/rows.csv?accessType=DOWNLOAD",
314+
"format": "csv",
315+
"size": "200MB"
316+
},
317+
{
318+
"accessURL": "https://explore.data.gov/views/ykv5-fn9t/rows.json?accessType=DOWNLOAD",
319+
"format": "json"
320+
},
321+
{
322+
"accessURL": "https://explore.data.gov/views/ykv5-fn9t/rows.xml?accessType=DOWNLOAD",
323+
"format": "xml"
324+
}
325+
]
312326

313327
**Example** | -
314328

0 commit comments

Comments
 (0)