Skip to content

Fix #67 - Stan ContentTypes and R - #508

Open
Raphael-Gazzotti wants to merge 4 commits into
openMetadataInitiative:mainfrom
Raphael-Gazzotti:Stan-ContentType-#67
Open

Fix #67 - Stan ContentTypes and R#508
Raphael-Gazzotti wants to merge 4 commits into
openMetadataInitiative:mainfrom
Raphael-Gazzotti:Stan-ContentType-#67

Conversation

@Raphael-Gazzotti

@Raphael-Gazzotti Raphael-Gazzotti commented Jul 29, 2026

Copy link
Copy Markdown
Member
  • Add R ContentType (we may want to add .Rda/.RData/.data.R, .Rds, and .Rmd).
  • Add Stan ContentTypes.

- Add R ContentType (we may want to add .Rda/.RData/.data.R and .Rds).
- Add Stan ContentTypes.
@Raphael-Gazzotti Raphael-Gazzotti self-assigned this Jul 29, 2026
@Raphael-Gazzotti Raphael-Gazzotti added the ContentType ContentType instances - addition of new or update of existing ones label Jul 29, 2026

@lzehl lzehl left a comment

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.

Additional notes we should discuss:

Vendor Tree (vnd.): This tree is strictly reserved for media types associated with a commercially or legally recognized corporate entity, foundation, or trademarked software producer.

Personal/Vanity Tree (prs.): This tree is designed for non-commercial, community-driven open-source projects, public experimental formats, and validation schemas not bound to a centralized organization.

Experimental Tree (x.): This tree is explicitly restricted to private, internal software ecosystems or closed development pipelines, and it is never intended for public ecosystem distribution.

Legacy Prefix (x-): This historical, hyphenated notation was the original universal standard for all unregistered formats before it was officially deprecated by the IETF to prevent accidental standardization and structural naming collisions.

https://datatracker.ietf.org/doc/html/rfc6838
https://datatracker.ietf.org/doc/html/rfc6648

".r"
],
"isBasedOn": null,
"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.

".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)

"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.

"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.

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.

2 participants