-
Notifications
You must be signed in to change notification settings - Fork 8
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
YAML LD media type and profiles #14
Comments
I need some feedback from all of you on the yaml fragment identifier registration If the YAML fragid definition works for yaml-ld, then we can just reference the IETF document. Otherwise there will be some work to do to define a specific fragment identifier for yaml-ld. About the media type registration, I think that if we have something that is highly compatible with ld+json, it's ok to register yaml-ld as |
I think we're going to need to consider different profiles. YAML provides a number of facilities that JSON does not (datatypes and fragment identifiers, for example). A "Base" level profile should restrict itself to strict JSON transcoding capability. We may consider an "extended" profile that allows for more use of these features, but the consequences for transcoding to JSON and maybe CBOR can get intense. I'd say that the group should focus on the "Base" level and consider an extended profile subsequently. |
I will need to read up on those YAML features because, though I've been using YAML for a while both for work and hobby projects, I hadn't really needed them... I would argue that most users will stick to the most naive version of the language. @ioggstream YAML fragments. Had it been considered to use Fragments create another naming system, in addition to the one natively defined to the document. Another example: I understand the pros of using a global name instead of a lengthy path, but in an arbitrary YAML document where anchors are not set nothing can be referenced, if I understand the idea correctly. |
@anatoly-scherbakov about YAML fragments, the current PR proposal supports the following patterns
YAML alias nodes are identified according to YAML spec and YAML media types document aims at not creating inconsistencies or constraints on how YAML works, nor how it can evolve.
This the reason for ietf-wg-httpapi/mediatypes#47 that arose after discussing with CBOR folks. |
Oh I see. Thank you for the clarification! This looks interesting. @ioggstream |
I think you all can be interested in the associated discussion ietf-wg-httpapi/mediatypes#41 cc: @anatoly-scherbakov @VladimirAlexiev |
hi @ioggstream YAML fragment identifiers is an important topic, but is too technical for me to give meaningful feedback without a briefing from you (which you could do in the first telco or shortly thereafter). Also, it is a different topic from media type and profiles. Please, when you post an important topic, do it as a separate issue, else your concerns get lost in the stream of other concerns. Some concrete considerations:
|
@gkellogg thanks for the PR! I commented in just 1 place. @ioggstream Given your ietf-wg-httpapi/mediatypes#47, are you happy with closing this issue? It also talks about fragment identifiers, but we better move this to another issue. |
@VladimirAlexiev the question on namespace deserves its own issue. I'm coming around to having a /ns/yaml-ld namespace for YAML-LD specific profile IRIs as being the least surprise, but we should track that as a CG decision. |
We need to apply for
application/ld+yaml
media type.@ioggstream "I'm working on the YAML media type registration https://ietf-wg-httpapi.github.io/mediatypes/draft-ietf-httpapi-yaml-mediatypes.html and we already have an issue related to the registration of ietf-wg-httpapi/mediatypes#8".
In addition, it seems clear to me that we'll need various YAML-LD profiles, eg as per #6 by @pchampin . See https://www.w3.org/TR/dx-prof-conneg/
The text was updated successfully, but these errors were encountered: