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

Commit 1b53820

Browse files
committed
Fixing syntax of distribution json example
1 parent cd7a527 commit 1b53820

File tree

1 file changed

+26
-23
lines changed

1 file changed

+26
-23
lines changed

Diff for: v1.1/schema.md

+26-23
Original file line numberDiff line numberDiff line change
@@ -198,29 +198,32 @@ Further Metadata Field Guidance (alphabetical by field)
198198
**Required** | Yes, if the dataset has an **accessURL** or **downloadURL**.
199199
**Accepted Values** | Array of Objects
200200
**Usage Notes** | Distribution is a concatenation, as appropriate, of the following elements: **accessURL**, **downloadURL**, **description**, **format**, **mediaType**, and **title**. If an entry has only one form, enter details for that one; if it has multiple forms (such as a bulk download and an API), separate entries as seen below:
201-
**Example** |
202-
"distribution": [
203-
{
204-
"description": "Vegetable data as a CSV file",
205-
"downloadURL": "http://www.agency.gov/vegetables/listofvegetables.csv",
206-
"format": "CSV",
207-
"mediaType": "text/csv",
208-
"title": "vegetables.csv"
209-
},
210-
{
211-
"description": "Vegetable data as a zipped CSV file with attached data dictionary",
212-
"downloadURL": "http://www.agency.gov/vegetables/vegetables-all.zip",
213-
"format": "Zipped CSV",
214-
"mediaType": "application/zip",
215-
"title": "vegetables-all.zip"
216-
},
217-
{
218-
"accessURL": "http://www.agency.gov/api/vegetables/",
219-
"description": "A fully queryable REST API with JSON and XML output",
220-
"format": "API",
221-
"title": "Vegetables REST API"
222-
}
223-
]
201+
**Example** | See below
202+
203+
~~~
204+
"distribution": [
205+
{
206+
"description": "Vegetable data as a CSV file",
207+
"downloadURL": "http://www.agency.gov/vegetables/listofvegetables.csv",
208+
"format": "CSV",
209+
"mediaType": "text/csv",
210+
"title": "vegetables.csv"
211+
},
212+
{
213+
"description": "Vegetable data as a zipped CSV file with attached data dictionary",
214+
"downloadURL": "http://www.agency.gov/vegetables/vegetables-all.zip",
215+
"format": "Zipped CSV",
216+
"mediaType": "application/zip",
217+
"title": "vegetables-all.zip"
218+
},
219+
{
220+
"accessURL": "http://www.agency.gov/api/vegetables/",
221+
"description": "A fully queryable REST API with JSON and XML output",
222+
"format": "API",
223+
"title": "Vegetables REST API"
224+
}
225+
]
226+
~~~
224227

225228
{: .table .table-striped .child-field #distribution-accessURL}
226229
**Field [#](#distribution-accessURL){: .permalink}** | **distribution → accessURL**

0 commit comments

Comments
 (0)