ietf-wg-httpapi / linkset

Media Types and a Link Relation Type for Link Sets
https://datatracker.ietf.org/doc/draft-ietf-httpapi-linkset/
7 stars 8 forks source link

AD review of draft-ietf-httpapi-linkset-06 #62

Closed fpalombini closed 2 years ago

fpalombini commented 2 years ago

FP: s/uses/use

FP: s/combine/to combine

FP: Although not a strong requirement since ABNF is referenced by 8288, I suggest to add a reference to RFC 5234 to this document as well, since it appears in the text here.

FP: I am not sure I understand how newline characters improve usability. Maybe some text could be added to explain that (or if you don't think it is necessary, I'd appreciate your answer to know what I am missing).

FP: Is "interoperable" the right term here? should it not be "allowed" instead?

Section 4.2

FP: It would have been nice to use CDDL (RFC 8610) to defined the structures not only in text. I usually recommend it for specifications defining JSON (or CBOR) structures, because writing that down often uncovers imprecisions and questions about the definitions that don't come up otherwise.

FP: It would be useful to add the reference to JSON-LD [W3C.REC-json-ld-20140116] that is already present in the appendix. I would also appreciate a reference to the RDF specifications. Also, the RFC editor will most likely ask you to expand those terms on first use, so I encourage you to do that already (see https://www.rfc-editor.org/materials/abbrev.expansion.txt)

Section 4.2.2

FP: nit - I would use "contain" instead of "have" when talking about members in JSON objects. A couple of examples in the text:

...

FP: I will fw this document to the I18n directorate mailing list, to see if anybody is interested to take a look at section 4.2.4.2 during Last Call. I don't think this should have many I18n comments, since this does not define new concepts but rather defines serialization for existing ones, but if anybody with I18n expertise can take another look it can't hurt.

FP: It would be good to clarify why this is only a SHOULD and not a MUST: I expect the reason for it is that there are existing cases where other forms are in fact used. In this case, it would be good to give an example and motivate the "SHOULD".

FP: This text in section 7.3 seems redundant to me, as the reader will have already read 7.2, and IMO this text is not really needed, so I would suggest to remove it.

FP: missing a "<"

FP: I think this should point to Section 4.2 of 8288

Section 8.3 and 8.4

FP: reminder to send the media type registrations to the media-types mailing list for community review (good to do during IETF Last Call).

FP: I would have appreciated an informative reference for Dublin Core Terms.

Appendix B.

FP: Thank you for this, it is always interesting to see implementation status reports. Even if this will not make the final version of the document, may I suggest to please update it - in particular the following sentence makes me think this is outdated:

pertaining to products, shipments, assets and locations. Currently, the GS1 Digital Link specification makes an informative reference to version 03 of the "linkset" I-D. GS1 expresses confidence that this will become a normative reference in the next iteration of that specification.

FP: As noted by Rich in his shepherd write up, there are two references that come up as obsoleted: 6982 -> 7942 and 5988 -> 8288. Reading how they are used, I think 5988 makes sense to stay as informative. On the other hand, 6982 should not only be replaced by 7942, but I also think it should move to informative, and will most likely be removed before publication since it is only used in Appendix B which will be removed.

FP: Rich also brought up in the shepherd write up that he believes this document should have an "Update RFC 8288" header. While I see the benefit of having that sort of link in the document, I am not sure that it is necessary in this case. Hence I'd like to listen to the wg's opinion and hear if there has been a discussion about it.

dret commented 2 years ago

It would have been nice to use CDDL (RFC 8610) to defined the structures not only in text. I usually recommend it for specifications defining JSON (or CBOR) structures, because writing that down often uncovers imprecisions and questions about the definitions that don't come up otherwise.

i am working through all tasks. @hvdsomp and myself discussed this one (task 6). CDDL is not really known or used in the API community. what is getting iused is JSON schema but sadly that one is still not finished as a stable spec. so while we agree that a more formal definition would be desirable, we think right now leaving it as it is is the best solution.

richsalz commented 2 years ago

I think that conclusion (no formal definition language used) is fine.

fpalombini commented 2 years ago

It would have been nice to use CDDL (RFC 8610) to defined the structures not only in text. I usually recommend it for specifications defining JSON (or CBOR) structures, because writing that down often uncovers imprecisions and questions about the definitions that don't come up otherwise.

i am working through all tasks. @hvdsomp and myself discussed this one (task 6). CDDL is not really known or used in the API community. what is getting iused is JSON schema but sadly that one is still not finished as a stable spec. so while we agree that a more formal definition would be desirable, we think right now leaving it as it is is the best solution.

I would think having CDDL definitions just in an appendix would be useful - even if not for all implementers, for those who might know CDDL, but mainly to make sure the text definitions don't have imprecisions - , and if you need the CBOR working group is usually happy to help, but ok, I'll accept what the wg thinks is best.

dret commented 2 years ago

On 2022-01-18 05:08, fpalombini wrote:

I would think having CDDL definitions just in an appendix would be useful - even if not for all implementers, for those who might know CDDL, but mainly to make sure the text definitions don't have imprecisions - , and if you need the CBOR working group is usually happy to help, but ok, I'll accept what the wg thinks is best.

thanks, francesca!

hvdsomp commented 2 years ago

I think there's consensus on the list that there should not be a "Update RFC 8288" header, so I ticked off 18 above.

hvdsomp commented 2 years ago

It seems to me that all items of the feedback from @fpalombini were handled. OK to close the issue?

hvdsomp commented 2 years ago

Pinging @fpalombini to check whether this issue can be closed.

fpalombini commented 2 years ago

Ack, will review and hopefully be done by the end of the day!

fpalombini commented 2 years ago

Looks all good to me, thank you for addressing my comments. You can go ahead, close this issue and submit the updated doc, so I can send it forward. Thank you!

dret commented 2 years ago

great, and thanks a lot for your review, @fpalombini!