Skip to content

Write and Submit RFCs of nmrium file format #3708

@tpoisseau

Description

@tpoisseau

Refs: #2523

Theses RFCs would describe each file format.

Today I consider we have 3 format (the last one is not finished yet) of nmrium files, I "invented" their mimetype (open to discussion):

  • application/nmrium+json a text file with .nmrium extension. plain json compatible withSerializedNmriumState interface.
  • application/nmrium+json+zip an application/nmrium+json in a zip file, also with .nmrium extension
  • application/nmrium+zip an archive with .nmrium.zip containing
    • state.json file (plain json compatible withSerializedNmriumState interface, with no data but potential external sources reference)
    • .sdf files to be compatible with NMReData format (molecules) referencing files containing their related spectrum
    • index.json from ium archive format referencing sources (local in archive with ium:/ protocol and potentially external with https:// or http:// protocols)
    • data folder containing any files format supported by nmrium to extract nmr spectra (zip, nmredata, jcamp, bruker and so on)

I choose .nmrium.zip as extension to for better discoverability of our file format, It will be simplier for scientist to open a zip file a look at nmr spectra files included in it. But i'm open to discussion.

I wonder if we really need to do RFC and register our mimetypes at IANA or if mimetypes registery have some namespace or naming format available to define and use what we want with potential risk of conflicts without need to register them.

Refs: https://www.iana.org/assignments/media-types/media-types.xhtml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions