From 02c71ec5aef77ea0ea0f14627d1af6466d7e7608 Mon Sep 17 00:00:00 2001 From: Philip Ashlock Date: Fri, 8 Nov 2013 20:01:46 -0500 Subject: [PATCH 1/3] Fix language example to actually be an array of strings --- schema.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema.md b/schema.md index 43479452..c362e909 100644 --- a/schema.md +++ b/schema.md @@ -255,7 +255,7 @@ Further Metadata Field Guidance **Required** | No **Accepted Values** | Array of strings **Usage Notes** | This should adhere to the [RFC 5646](http://tools.ietf.org/html/rfc5646) standard. http://rishida.net/utils/subtags/ provides a good tool for checking and verifying language codes. A language tag is comprised of either one or two parts, the language subtag (such as en for English, sp for Spanish, wo for Wolof) and the regional subtag (such as US for United States, GB for Great Britain, MX for Mexico), separated by a hyphen. Regional subtags should only be provided when needed to distinguish a language tag from another one (such as American vs. British English). -**Examples** | `{"language":["es-MX"], ["wo"], ["nv"], ["en-US"]}` +**Examples** | `{"language":["es-MX", "wo", "nv", "en-US"]}` {: .table .table-striped} **Field** | **license** From 80038bbc13887349b4ddbe503eb50761b687ce43 Mon Sep 17 00:00:00 2001 From: Philip Ashlock Date: Fri, 8 Nov 2013 20:06:52 -0500 Subject: [PATCH 2/3] Fixing description of multiple listings as a distribution --- schema.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/schema.md b/schema.md index c362e909..274ddb77 100644 --- a/schema.md +++ b/schema.md @@ -183,23 +183,23 @@ Further Metadata Field Guidance {: .table .table-striped} **Field** | **distribution** ----- | ----- -**Cardinality** | (0,1) +**Cardinality** | (0,n) **Required** | No **Accepted Values** | See Usage Notes -**Usage Notes** | Distribution is a concatenation, as appropriate, of the following elements: **accessURL** and **format**. 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 entries with a comma, as seen below: +**Usage Notes** | Distribution is a concatenation, as appropriate, of the following elements: **accessURL** and **format**. 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 entries as seen below: "distribution": [ { "accessURL": "https://explore.data.gov/views/ykv5-fn9t/rows.csv?accessType=DOWNLOAD", - "format": "csv" + "format": "text/csv" }, { "accessURL": "https://explore.data.gov/views/ykv5-fn9t/rows.json?accessType=DOWNLOAD", - "format": "json" + "format": "application/json" }, { "accessURL": "https://explore.data.gov/views/ykv5-fn9t/rows.xml?accessType=DOWNLOAD", - "format": "xml" + "format": "text/xml" } ] From 9ff524bb107b80a177914955d581aa06610a87f4 Mon Sep 17 00:00:00 2001 From: Philip Ashlock Date: Fri, 22 Nov 2013 15:19:42 -0500 Subject: [PATCH 3/3] Removing direct links to data in example of references field These links should only be for documentation --- schema.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema.md b/schema.md index 274ddb77..6e6d7e50 100644 --- a/schema.md +++ b/schema.md @@ -318,7 +318,7 @@ Further Metadata Field Guidance **Required** | No **Accepted Values** | Array of strings (URLs) **Usage Notes** | Enclose each URL within strings. Separate multiple URLs with a comma. -**Example** | `{"references":["http://www.agency.gov/fruits/fruits.csv", "http://www.agency.gov/legumes/legumes_directions.html", "http://www.agency.gov/fruits/fruits.csv,http://www.agency.gov/fruits/fruits_directions.html"]}` +**Example** | `{"references":["http://www.agency.gov/legumes/legumes_data_documentation.html", "http://www.agency.gov/fruits/fruit_data_documentation.html"]}` {: .table .table-striped} **Field** | **spatial**