Skip to content

Commit ddf1232

Browse files
committed
Fix example 8 in schema document to reference government-spending.json instead of government-spending.csv.
Fixes #854.
1 parent afd086a commit ddf1232

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syntax/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ <h2>Processing Tables</h2>
586586
</p>
587587
<pre class="example highlight" title="Metadata file referencing multiple tabular data files sharing a schema">
588588
{
589-
"tableSchema": "government-spending.csv",
589+
"tableSchema": "government-spending.json",
590590
"tables": [{
591591
"url": "http://example.org/east-sussex-2015-03.csv",
592592
}, {
@@ -596,7 +596,7 @@ <h2>Processing Tables</h2>
596596
}
597597
</pre>
598598
<p>
599-
the validator would validate all the listed tables, using the locally defined schema at <code>government-spending.csv</code>. It would also use the metadata embedded in the referenced CSV files; for example, when processing <code>http://example.org/east-sussex-2015-03.csv</code>, it would use <a>embedded metadata</a> within that file to verify that the CSV is <a href="http://w3c.github.io/csvw/metadata/#table-group-description-compatibility" class="externalDFN">compatible</a> with the metadata.
599+
the validator would validate all the listed tables, using the locally defined schema at <code>government-spending.json</code>. It would also use the metadata embedded in the referenced CSV files; for example, when processing <code>http://example.org/east-sussex-2015-03.csv</code>, it would use <a>embedded metadata</a> within that file to verify that the CSV is <a href="http://w3c.github.io/csvw/metadata/#table-group-description-compatibility" class="externalDFN">compatible</a> with the metadata.
600600
</p>
601601
<p>
602602
If a validator is passed a <a>tabular data file</a> <code>http://example.org/east-sussex-2015-03.csv</code>, the validator would use the metadata located from the CSV file: the first metadata file found through the <code>Link</code> headers found when retrieving that file, or located through a site-wide location configuration.

0 commit comments

Comments
 (0)