-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from co-cddo/mediatype
Improved guidance for the mediaType property
- Loading branch information
Showing
5 changed files
with
46 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Example CSV Distribution description | ||
# The example corresponds to the CSV distribution of the OS CodePoint data | ||
--- | ||
identifier: https://api.os.uk/downloads/v1/products/CodePointOpen/downloads?area=GB&format=CSV&redirect | ||
type: dcat:Distribution | ||
title: Code-Point Open - CSV GB | ||
licence: http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/ | ||
mediaType: CSV |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Example CSV Distribution description | ||
# The example corresponds to the CSV distribution of the OS CodePoint data | ||
--- | ||
identifier: https://api.os.uk/downloads/v1/products/CodePointOpen/downloads?area=GB&format=CSV&redirect | ||
type: dcat:Distribution | ||
title: Code-Point Open - CSV GB | ||
licence: http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/ | ||
mediaType: https://w3id.org/uri4uri/mime/text/csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Example CSV Distribution description | ||
# The example corresponds to the CSV distribution of the OS CodePoint data | ||
--- | ||
identifier: https://api.os.uk/downloads/v1/products/CodePointOpen/downloads?area=GB&format=CSV&redirect | ||
type: dcat:Distribution | ||
title: Code-Point Open - CSV GB | ||
licence: http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/ | ||
mediaType: | ||
- text/csv | ||
- application/geopackage+sqlite3 |
8 changes: 8 additions & 0 deletions
8
src/data/Distribution/valid/Distribution-os-postcodes-excel-distribution-minimal.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Example Excel (.xlsx) Distribution description | ||
# The example is based on CSV distribution of the OS CodePoint data | ||
--- | ||
identifier: https://api.os.uk/downloads/v1/products/CodePointOpen/downloads?area=GB&format=EXCEL&redirect | ||
type: dcat:Distribution | ||
title: Code-Point Open - Excel GB | ||
licence: http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/ | ||
mediaType: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters