question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Mimetype for datapackage.json

See original GitHub issue

Propose to add a section “MediaType and File Extensions” to Data Package spec containing the following:

The MediaType [RFC4288] for Data Package JSON SHOULD be application/x-datapackage.

We could look also to register an official mimetype e.g.

 application/datapackage

/cc @rossjones

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:13 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
amercadercommented, Feb 22, 2016

Is this referring to just the datapackage.json file (eg is that what the rel links would point to)? If it’s the Media type for the JSON file then it probably makes more sense to use a JSON vendor media type, eg:

application/vnd.datapackage+json

If it’s a zip or some other resource, then a custom one would make sense, but note that x. or x- media types are frown upon.

0reactions
pwalshcommented, Dec 11, 2016
Read more comments on GitHub >

github_iconTop Results From Across the Web

Media Types - Internet Assigned Numbers Authority
[RFC2046] specifies that Media Types (formerly known as MIME types) and Media Subtypes will be assigned and listed by the IANA.
Read more >
Media Types - Dataset - DataHub - Frictionless Data
This dataset lists all the Media Types (MIME types), Media Subtypes, ... Includes normalized CSV and JSON data with original data and datapackage.json....
Read more >
Correct MIME type for returning JSON entity - Stack Overflow
The *right* JSON content type? I am using Java for the server side programming, and I want to return JSON data from the...
Read more >
Data Packages - Data Protocols - Open Knowledge Foundation
datapackage.json is the central file in a Data Package. It provides: ... mediatype : the mediatype/mimetype of the resource e.g. 'text/csv', ...
Read more >
All known MIME types
There are 2868 known MIME types. ... application/ld+json;profile="http://www.w3.org/ns/anno.jsonld" ... Whirlwind game data Package (v2.1) wikidata
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found