Add a content-type for the source code for NEST extension modules#272
Add a content-type for the source code for NEST extension modules#272
Conversation
… produced by NESTML, for example)
|
Note : if the auto population is not merged yet by time of merging this PR we need to provide this CT also for the other versions |
| ], | ||
| "name": "application/vnd.nest-simulator.model+cpp", | ||
| "relatedMediaType": "text/x-c", | ||
| "relatedMediaType": "https://mimetype.io/text/x-c", |
There was a problem hiding this comment.
mh... this seems not be an official media type registered in iana.org
There was a problem hiding this comment.
I would probably then not provide this relation at all. Could you double check?
There was a problem hiding this comment.
I couldn't find an entry at iana.org - the initial "x-" generally indicates a non-standard (but widely used) media type.
Since the number of media types registered in iana.org is so small, I would like to propose relaxing our requirements for this property. mimetype.io seems like quite a comprehensive resource; I think we should also allow putting other openMINDS content types here.
There was a problem hiding this comment.
this might be point for v5.0. could you raise this in an issue please?
| "name": "application/vnd.nest-simulator.model+cpp", | ||
| "relatedMediaType": "https://mimetype.io/text/x-c", | ||
| "specification": "https://nest-extension-module.readthedocs.io/en/latest/extension_modules.html", | ||
| "synonym": null |
There was a problem hiding this comment.
is there a more human readable name?
There was a problem hiding this comment.
I can't think of anything that isn't just rephrasing the description, i.e. "Source code for an extension module for the NEST simulator"
(as produced by NESTML, for example)