Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions instances/latest/contentTypes/text_x-r.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"@context": {
"@vocab": "https://openminds.om-i.org/props/"
},
"@id": "https://openminds.om-i.org/instances/contentTypes/text_x-r",
"@type": "https://openminds.om-i.org/types/ContentType",
"dataType": null,
"definingSource": null,
"description": "An R script is a text file that stores the R commands you would normally type at the R command prompt.",
"displayLabel": "R script",
"fileExtension": [
".R",
".r"
],
"isBasedOn": null,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

text/plain (if we don't have it we should register it)

"name": "text/x-r",

@lzehl lzehl Aug 24, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

According to RFC 6838 Section 3.2, the Vendor Tree is intended for media types associated with a commercially or legally recognized entity.

The R language is owned, copyright-held, and officially governed by The R Foundation for Statistical Computing.

The standard domain and naming authority for this group is r-project.org.

Therefore, namespacing the content type under their official entity designation yields: text/vnd.r-project.r-source

Furthermore R has two versions that are not compatible with each other:

  • Legacy R 3.x
  • Modern R 4.x

so we may want to include the version information here as well.

"specification": "https://cran.r-project.org/doc/contrib/Lemon-kickstart/kr_scrpt.html",
"synonym": null
}
22 changes: 22 additions & 0 deletions instances/latest/contentTypes/text_x-stan.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"@context": {
"@vocab": "https://openminds.om-i.org/props/"
},
"@id": "https://openminds.om-i.org/instances/contentTypes/text_x-stan",
"@type": "https://openminds.om-i.org/types/ContentType",
"dataType": null,
"definingSource": null,
"description": "A text file containing a program written in the Stan modeling language.",
"displayLabel": "Stan model file",
"fileExtension": [
".stan"
],
"isBasedOn": [

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

don't understand this relation. I don't think this is correct. should be text/plain

{
"@id": "https://openminds.om-i.org/instances/contentTypes/text_x-r"
}
],
"name": "text/x-stan",

@lzehl lzehl Aug 24, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

According to RFC 6838 Section 3.3, the Personal/Vanity Tree is explicitly reserved for non-commercial, community-driven, experimental, or open-source software spaces that do not belong to a single centralized corporate entity but are publicly developed.

Stan is an open-source probabilistic programming language managed collectively by its community and developer committees without a singular commercial parent company.

Therefore, utilizing the personal/vanity tree to denote its public, community-standard status yields: text/prs.stan

Furthermore stan has two versions that are not compatible with each other:

  • Legacy Stan 2.x
  • Modern Stan 3.x

So we may want to include the version information here as well.

"specification": "https://mc-stan.org/docs/stan-users-guide/style-guide.html#file-extensions",
"synonym": null
}
22 changes: 22 additions & 0 deletions instances/latest/contentTypes/text_x-stanfunctions.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"@context": {
"@vocab": "https://openminds.om-i.org/props/"
},
"@id": "https://openminds.om-i.org/instances/contentTypes/text_x-stanfunctions",
"@type": "https://openminds.om-i.org/types/ContentType",
"dataType": null,
"definingSource": null,
"description": "A text file containing function definitions written in the Stan modeling language.",
"displayLabel": "Stan function definitions",
"fileExtension": [
".stanfunctions"
],
"isBasedOn": [

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't think this is correct. This should be text/plain

{
"@id": "https://openminds.om-i.org/instances/contentTypes/text_x-r"
}
],
"name": "text/x-stanfunctions",

@lzehl lzehl Aug 24, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

According to RFC 6838 Section 3.3, the Personal/Vanity Tree is explicitly reserved for non-commercial, community-driven, experimental, or open-source software spaces that do not belong to a single centralized corporate entity but are publicly developed.

Stan is an open-source probabilistic programming language managed collectively by its community and developer committees without a singular commercial parent company.

Therefore, utilizing the personal/vanity tree to denote its public, community-standard status yields: text/prs.stanfunctions

Furthermore stan has two versions that are not compatible with each other:

  • Legacy Stan 2.x
  • Modern Stan 3.x

stanfunctions seem to only exist for Stan 3.x (for now); so we may want to include the version information here to be specific.

"specification": "https://mc-stan.org/docs/stan-users-guide/style-guide.html#file-extensions",
"synonym": null
}
Loading