Skip to content
New issue

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

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

Already on GitHub? # to your account

IETF Internet-Draft JSON serialization for Web Linking #343

Open
heidivanparys opened this issue Mar 15, 2020 · 3 comments
Open

IETF Internet-Draft JSON serialization for Web Linking #343

heidivanparys opened this issue Mar 15, 2020 · 3 comments
Labels

Comments

@heidivanparys
Copy link
Contributor

I came across this IETF Internet-Draft: JSON serialization for Web Linking.

This may become relevant if it is approved as an Internet Standard?

  1. Introduction

There are many JSON-based standards and formats that require the need
to express a link. Examples can be found in [draft-kelly-json-hal],
[JSON-API], [WEBTHING], [draft-nottingham-json-home],
[COLLECTIONJSON], [SIREN] and many others.

Because there hasn't been an accepted reference for serializing Web
Links in JSON, it's typical for authors of new formats to invent
their own. This has resulted in many minor differences between
serializations, making it difficult to write generic parsers.

This document is an attempt to define a standard JSON serialization
for Web linking. A primary goal is to define a format that's
relatively uncontroversial and similar to existing serializations.

Furthermore, this specification defines an optional format for groups
of links and a recommendation for defining document-wide links.

@cportele cportele added the Part 1: Core Issue related to Part 1 - Core label Mar 15, 2020
@cportele
Copy link
Member

Thanks for this, @heidivanparys !

It indeed is relevant, if it moves to RFC status. However, we will only be able to use it, if it is consistent with what we have done in the standard as we don't want to break backwards compatibility. So far this seems to be the case including the document-level links, with the exception that we only have href as required in the schema and the draft has rel as required, too. Since we add requirements on rel for all links (I think), we could also make it required, too.

In fact, rel probably should be required anyhow as a result of the dependency to RFC 8288.

@akuckartz
Copy link

Please keep compatibillity with JSON-LD in mind!

@cportele
Copy link
Member

#358 was created as a result of the discussion. We will keep this issue open to monitor the progress of the IETF draft.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
Status: Waiting for Input
Development

No branches or pull requests

3 participants