Skip to content

Commit

Permalink
[#490,meta][s]: remove jsonschema meta property and generate json sch…
Browse files Browse the repository at this point in the history
…ema link in meta directly from the slug - fixes #490.

Reverts addition of jsonschema in f662605 (erroneously added by me when I did not realize we had json schemas for all files and how we were doing this in rc1).
  • Loading branch information
rufuspollock committed Jul 30, 2017
1 parent f1f4e91 commit 6518399
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 15 deletions.
2 changes: 0 additions & 2 deletions content/data-package/contents.lr
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ title: Data Package
---
mediatype: application/vnd.datapackage+json
---
jsonschema: https://schemas.frictionlessdata.io/data-package.json
---
descriptor: datapackage.json
---
created: 12 November 2007
Expand Down
6 changes: 2 additions & 4 deletions content/data-resource/contents.lr
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@ mediatype: application/vnd.dataresource+json
---
descriptor: dataresource.json
---
version: 1.0-rc.2
created: 11 December 2016
---
updated: 2 May 2017
---
created: 11 December 2016
---
descriptor: dataresource.json
version: 1.0-rc.2
---
abstract:

Expand Down
2 changes: 0 additions & 2 deletions content/fiscal-data-package/contents.lr
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ slug: fiscal-data-package
---
version: 0.3.0
---
jsonschema: https://schemas.frictionlessdata.io/fiscal-data-package.json
---
updated: 28 January 2016
---
created: 14 March 2014
Expand Down
2 changes: 0 additions & 2 deletions content/table-schema/contents.lr
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ mediatype: application/vnd.tableschema+json
---
version: 1.0.0-rc.2
---
jsonschema: https://github.com/frictionlessdata/specs/blob/master/sources/table-schema.json
---
updated: 22 June 2017
---
created: 12 November 2012
Expand Down
2 changes: 0 additions & 2 deletions content/tabular-data-package/contents.lr
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ slug: tabular-data-package
---
mediatype: application/vnd.datapackage+json
---
jsonschema: https://schemas.frictionlessdata.io/tabular-data-package.json
---
version: 1.0.0-rc.2
---
updated: 2 May 2017
Expand Down
4 changes: 1 addition & 3 deletions templates/partials/meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@
{{ this.mediatype}}
</td>
</tr>
{% if this.jsonschema %}
<tr>
<td>JSON Schema<br />(for spec)</td>
<td><a href="{{this.jsonschema}}">{{ this.jsonschema }}</a></td>
<td><a href="https://specs.frictionlessdata.io/schemas/{{this.slug}}.json">specs.frictionlessdata.io/schemas/{{this.slug}}.json</a></td>
</tr>
{% endif %}
{% if this.version %}
<tr>
<td>Version</td>
Expand Down

0 comments on commit 6518399

Please sign in to comment.