Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The media type used doesn't meet the OCI artifact spec #100

Open
ywk253100 opened this issue Feb 22, 2020 · 5 comments
Open

The media type used doesn't meet the OCI artifact spec #100

ywk253100 opened this issue Feb 22, 2020 · 5 comments

Comments

@ywk253100
Copy link

The media type of CNAB config artifact is application/vnd.cnab.config.v1+json which doesn't meet the OCI artifact spec standard for the unique type: application/vnd.[org|company].[objectType].[optionalSubType].config.[version]+json

How about add a cncf section: application/vnd.cncf.cnab.config.v1+json?

@technosophos
Copy link
Member

The organization that owns CNAB-to-OCI is the CNAB Foundation, which is an official foundation from JDF. (For those keeping track... LF has both CNCF and JDF under it, and CNAB Foundation is under JDF, but CNAB itself is not under CNCF.)

I suppose we could make it application/vnd.cnab.bundle.config.v1+json?

@ywk253100
Copy link
Author

ywk253100 commented Feb 25, 2020

The CNAB is also the artifact type, is it correct? If it it, maybe application/vnd.cnab.cnab.config.v1+json makes more sense?

@carolynvs
Copy link
Collaborator

I like @technosophos's suggestion. CNAB is the spec/foundation, and bundle is one of the artifacts in the spec (for example another artifact would be a claim). The double cnab would be confusing. 😀

@technosophos
Copy link
Member

Just to clarify something that came up in Slack: CNAB Foundation is the foundation that maintains the CNAB specification. JDF is NOT the foundation that maintains the spec. So vnd.jdf.... is not correct. The IP for CNAB belongs to the CNAB Foundation.

@chris-crone
Copy link
Contributor

I'm +1 to @technosophos's proposal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants