From ddf12323e00a30d8142e099356b346c369267e6d Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Sat, 19 Aug 2017 16:13:31 -0600 Subject: [PATCH] Fix example 8 in schema document to reference government-spending.json instead of government-spending.csv. Fixes #854. --- syntax/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syntax/index.html b/syntax/index.html index c4428170..24185ba2 100644 --- a/syntax/index.html +++ b/syntax/index.html @@ -586,7 +586,7 @@

Processing Tables

 {
-  "tableSchema": "government-spending.csv",
+  "tableSchema": "government-spending.json",
   "tables": [{
     "url": "http://example.org/east-sussex-2015-03.csv",
   }, {
@@ -596,7 +596,7 @@ 

Processing Tables

}

- the validator would validate all the listed tables, using the locally defined schema at government-spending.csv. It would also use the metadata embedded in the referenced CSV files; for example, when processing http://example.org/east-sussex-2015-03.csv, it would use embedded metadata within that file to verify that the CSV is compatible with the metadata. + the validator would validate all the listed tables, using the locally defined schema at government-spending.json. It would also use the metadata embedded in the referenced CSV files; for example, when processing http://example.org/east-sussex-2015-03.csv, it would use embedded metadata within that file to verify that the CSV is compatible with the metadata.

If a validator is passed a tabular data file http://example.org/east-sussex-2015-03.csv, the validator would use the metadata located from the CSV file: the first metadata file found through the Link headers found when retrieving that file, or located through a site-wide location configuration.