Representing CoRE Link Collections in JSON
draft-ietf-core-links-json-00

The information below is for an old version of the document
Document Type Active Internet-Draft (core WG)
Last updated 2013-07-31 (latest revision 2013-06-02)
Replaces draft-bormann-core-links-json
Stream IETF
Intended RFC status Proposed Standard
Formats pdf htmlized bibtex
Reviews
Stream WG state WG Document
Document shepherd None
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
CoRE Working Group                                            C. Bormann
Internet-Draft                                   Universitaet Bremen TZI
Intended status: Standards Track                           June 03, 2013
Expires: December 05, 2013

               Representing CoRE Link Collections in JSON
                     draft-ietf-core-links-json-00

Abstract

   Web Linking (RFC5988) provides a way to represent links between Web
   resources as well as the relations expressed by them and attributes
   of such a link.  In constrained networks, a collection of Web links
   can be exchanged in the CoRE link format (RFC6690).  Outside of
   constrained environments, it may be useful to represent these
   collections of Web links in JSON format (RFC4627).

   This specification defines a common format for representing Web links
   in JSON format.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on December 05, 2013.

Copyright Notice

   Copyright (c) 2013 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect

Bormann                Expires December 05, 2013                [Page 1]
Internet-Draft               Links-in-JSON                     June 2013

   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
     1.1.  Objectives  . . . . . . . . . . . . . . . . . . . . . . .   2
     1.2.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  Web Links in JSON . . . . . . . . . . . . . . . . . . . . . .   3
     2.1.  Examples  . . . . . . . . . . . . . . . . . . . . . . . .   4
   3.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   5
   4.  Security Considerations . . . . . . . . . . . . . . . . . . .   5
   5.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .   5
   6.  References  . . . . . . . . . . . . . . . . . . . . . . . . .   5
     6.1.  Normative References  . . . . . . . . . . . . . . . . . .   5
     6.2.  Informative References  . . . . . . . . . . . . . . . . .   5
   Appendix A.  Implementation . . . . . . . . . . . . . . . . . . .   6
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .   6

1.  Introduction

   Web Linking [RFC5988] provides a way to represent links between Web
   resources as well as the relations expressed by them and attributes
   of such a link.  In constrained networks, a collection of Web links
   can be exchanged in the CoRE link format [RFC6690] to enable resource
   discovery.

   Outside of constrained environments, it may also be useful to
   represent the same collections of Web links in the widely used JSON
   format [RFC4627].  When converting between these two formats, as
   usual, there are many little decisions that have to be made.  If left
   without guidance, it is likely that a number of slightly incompatible
   dialects will emerge.

   This specification defines a common format for representing CoRE Web
   Linking in JSON format.

   Note that there is a separate question on how to represent Web links
   out of JSON documents, as discussed e.g.  in [MNOT11].  While there
   are good reasons to stay as compatible as possible to developments in
   this area, the present specification is solving a different problem.

1.1.  Objectives

   (TBD: Convert the shopping list into plaintext)

Bormann                Expires December 05, 2013                [Page 2]
Internet-Draft               Links-in-JSON                     June 2013

   o  Canonical mapping

      *  lossless round-tripping

      *  but not trying for bit-preserving (DER-style) round-tripping

   o  The simplest thing that could possibly work

      *  Do not cater for RFC 5988 complications caused by HTTP header
         character set issues [RFC2047]
Show full document text