The Constrained RESTful Application Language (CoRAL)
draft-ietf-core-coral-01

Document Type Active Internet-Draft (core WG)
Last updated 2019-11-04
Replaces draft-hartke-t2trg-coral
Stream IETF
Intended RFC status (None)
Formats plain text pdf htmlized bibtex
Stream WG state WG Document
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
CoRE Working Group                                             K. Hartke
Internet-Draft                                                  Ericsson
Intended status: Standards Track                        November 4, 2019
Expires: May 7, 2020

          The Constrained RESTful Application Language (CoRAL)
                        draft-ietf-core-coral-01

Abstract

   The Constrained RESTful Application Language (CoRAL) defines a data
   model and interaction model as well as two specialized serialization
   formats for the description of typed connections between resources on
   the Web ("links"), possible operations on such resources ("forms"),
   as well as simple resource metadata.

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 https://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 May 7, 2020.

Copyright Notice

   Copyright (c) 2019 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
   (https://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
   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.

Hartke                     Expires May 7, 2020                  [Page 1]
Internet-Draft  Constrained RESTful Application Language   November 2019

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
     1.1.  Notational Conventions  . . . . . . . . . . . . . . . . .   4
   2.  Data and Interaction Model  . . . . . . . . . . . . . . . . .   4
     2.1.  Browsing Context  . . . . . . . . . . . . . . . . . . . .   5
     2.2.  Documents . . . . . . . . . . . . . . . . . . . . . . . .   5
     2.3.  Links . . . . . . . . . . . . . . . . . . . . . . . . . .   5
     2.4.  Forms . . . . . . . . . . . . . . . . . . . . . . . . . .   6
     2.5.  Form Fields . . . . . . . . . . . . . . . . . . . . . . .   7
     2.6.  Embedded Representations  . . . . . . . . . . . . . . . .   7
     2.7.  Navigation  . . . . . . . . . . . . . . . . . . . . . . .   8
     2.8.  History Traversal . . . . . . . . . . . . . . . . . . . .   9
   3.  Binary Format . . . . . . . . . . . . . . . . . . . . . . . .  10
     3.1.  Data Structure  . . . . . . . . . . . . . . . . . . . . .  10
       3.1.1.  Documents . . . . . . . . . . . . . . . . . . . . . .  10
       3.1.2.  Links . . . . . . . . . . . . . . . . . . . . . . . .  10
       3.1.3.  Forms . . . . . . . . . . . . . . . . . . . . . . . .  11
       3.1.4.  Embedded Representations  . . . . . . . . . . . . . .  12
       3.1.5.  Directives  . . . . . . . . . . . . . . . . . . . . .  13
     3.2.  Dictionaries  . . . . . . . . . . . . . . . . . . . . . .  13
       3.2.1.  Dictionary References . . . . . . . . . . . . . . . .  13
       3.2.2.  Media Type Parameter  . . . . . . . . . . . . . . . .  14
   4.  Textual Format  . . . . . . . . . . . . . . . . . . . . . . .  14
     4.1.  Lexical Structure . . . . . . . . . . . . . . . . . . . .  15
       4.1.1.  Line Terminators  . . . . . . . . . . . . . . . . . .  15
       4.1.2.  White Space . . . . . . . . . . . . . . . . . . . . .  15
       4.1.3.  Comments  . . . . . . . . . . . . . . . . . . . . . .  15
       4.1.4.  Identifiers . . . . . . . . . . . . . . . . . . . . .  16
       4.1.5.  IRIs and IRI References . . . . . . . . . . . . . . .  16
       4.1.6.  Literals  . . . . . . . . . . . . . . . . . . . . . .  16
       4.1.7.  Punctuators . . . . . . . . . . . . . . . . . . . . .  20
     4.2.  Syntactic Structure . . . . . . . . . . . . . . . . . . .  20
       4.2.1.  Documents . . . . . . . . . . . . . . . . . . . . . .  21
       4.2.2.  Links . . . . . . . . . . . . . . . . . . . . . . . .  21
       4.2.3.  Forms . . . . . . . . . . . . . . . . . . . . . . . .  22
       4.2.4.  Embedded Representations  . . . . . . . . . . . . . .  23
       4.2.5.  Directives  . . . . . . . . . . . . . . . . . . . . .  23
   5.  Usage Considerations  . . . . . . . . . . . . . . . . . . . .  24
     5.1.  Specifying CoRAL-based Applications . . . . . . . . . . .  24
Show full document text