Skip to content

Conversation

@apdavison
Copy link
Member

(as produced by NESTML, for example)

@apdavison apdavison requested a review from lzehl March 12, 2025 14:45
@lzehl
Copy link
Member

lzehl commented Mar 14, 2025

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

@apdavison apdavison added the ContentType ContentType instances - addition of new or update of existing ones label Mar 14, 2025
],
"name": "application/vnd.nest-simulator.model+cpp",
"relatedMediaType": "text/x-c",
"relatedMediaType": "https://mimetype.io/text/x-c",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mh... this seems not be an official media type registered in iana.org

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would probably then not provide this relation at all. Could you double check?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this might be point for v5.0. could you raise this in an issue please?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a more human readable name?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ContentType ContentType instances - addition of new or update of existing ones

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants