Skip to content

Commit

Permalink
Deployed 3287148 with MkDocs version: 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Oct 30, 2023
1 parent ce7a6e8 commit d51daed
Show file tree
Hide file tree
Showing 6 changed files with 120 additions and 75 deletions.
19 changes: 18 additions & 1 deletion Distribution/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ <h3 id="mandatory-properties">Mandatory Properties</h3>
</tr>
<tr>
<td><a href="../mediaType/">mediaType</a></td>
<td><a href="../Uri/">Uri</a></td>
<td><a href="../String/">String</a><br/>Regex pattern: <code>^application/\S+|^audio/\S+|^font/\S+|^image/\S+|^message/\S+|^model/\S+|^multipart/\S+|^text/\S+|^video/\S+</code></td>
<td>The file format or encoding method of the item (file) being described</td>
<td>One</td>
</tr>
Expand Down Expand Up @@ -492,6 +492,23 @@ <h2 id="mappings">Mappings</h2>
</table>
<h2 id="examples">Examples</h2>
<ul>
<li><a href="assets/examples/Distribution-os-postcodes-excel-distribution-minimal.yaml.json">Distribution-os-postcodes-excel-distribution-minimal</a></li>
</ul>
<!-- Commenting out code that displays example inline as a yaml block
### Example: Distribution-os-postcodes-excel-distribution-minimal
<pre><code class="language-yaml"># 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&amp;format=EXCEL&amp;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
</code></pre>
-->
<ul>
<li><a href="../assets/examples/Distribution-os-postcodes-csv-distribution.yaml.json">Distribution-os-postcodes-csv-distribution</a></li>
</ul>
<!-- Commenting out code that displays example inline as a yaml block
Expand Down
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
26 changes: 23 additions & 3 deletions mediaType/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ <h2 id="obligation-and-cardinality">Obligation and Cardinality</h2>
<tbody>
<tr>
<td><a href="http://www.w3.org/ns/dcat#mediaType">dcat:mediaType</a></td>
<td><a href="../Uri/">Uri</a></td>
<td><a href="../String/">String</a> <br/>Regex pattern: <code>^application/\S+|^audio/\S+|^font/\S+|^image/\S+|^message/\S+|^model/\S+|^multipart/\S+|^text/\S+|^video/\S+</code></td>
<td>Mandatory</td>
<td>One</td>
</tr>
Expand All @@ -521,8 +521,28 @@ <h3 id="do-not-confuse-with">Do not confuse with</h3>
</li>
</ul>
<h3 id="guidelines">Guidelines</h3>
<p><code>mediaType</code> refers to the encoding method used to store digital resource and convert it into human-accessible form.</p>
<p>A resource with identical or near-identical intellectual content may have multiple formats. For example, a resource may be available for download in html, pdf and docx formats.</p>
<p><code>mediaType</code> refers to the encoding method used to store the digital resource and convert it into human-accessible form. The value should be provided as per the Template column provided in the <a href="https://www.iana.org/assignments/media-types/media-types.xhtml">IANA pages</a>. Below are some examples:</p>
<ul>
<li>
<p>CSV: <code>text/csv</code></p>
</li>
<li>
<p>Excel (<code>.xlsx</code>): <code>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</code></p>
</li>
<li>
<p>Geopackage: <code>application/geopackage+sqlite3</code></p>
</li>
<li>
<p>HTML: <code>text/html</code></p>
</li>
<li>
<p>PDF: <code>application/pdf</code></p>
</li>
<li>
<p>Word (<code>.docx</code>): <code>application/vnd.openxmlformats-officedocument.wordprocessingml.document</code></p>
</li>
</ul>
<p>A resource with identical or near-identical intellectual content may be available in multiple formats. For example, a resource may be available for download in html, pdf and docx formats. These should be captured as separate <a href="/ukgov-metadata-exchange-model/Distribution">distributions</a> of the Dataset with each distribution having a different mediatype value.</p>
<!-- no inheritance hierarchy -->

<h2 id="applicable-classes">Applicable Classes</h2>
Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

Loading

0 comments on commit d51daed

Please sign in to comment.