Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix example 8 in schema document #856

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions syntax/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ <h2>Processing Tables</h2>
</p>
<pre class="example highlight" title="Metadata file referencing multiple tabular data files sharing a schema">
{
"tableSchema": "government-spending.csv",
"tableSchema": "government-spending.json",
"tables": [{
"url": "http://example.org/east-sussex-2015-03.csv",
}, {
Expand All @@ -596,7 +596,7 @@ <h2>Processing Tables</h2>
}
</pre>
<p>
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.
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.
</p>
<p>
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.
Expand Down