Profiled Hypertext Application Language
draft-montoya-phtal-01

Document Type Active Internet-Draft (individual)
Author Jose Montoya 
Last updated 2020-05-05
Stream (None)
Intended RFC status (None)
Formats plain text xml pdf htmlized (tools) htmlized bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                         J. Montoya
Internet-Draft                                              May 05, 2020
Intended status: Informational
Expires: November 6, 2020

                Profiled Hypertext Application Language
                         draft-montoya-phtal-01

Abstract

   This document defines PHTAL, a generic representation format for
   hypertext applications guided by REST constraints.  PHTAL could be
   compared to HTML without any graphical objectives.

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 November 6, 2020.

Copyright Notice

   Copyright (c) 2020 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.

Montoya                 Expires November 6, 2020                [Page 1]
Internet-Draft                    phtal                         May 2020

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
     1.1.  Definitions and Terminology . . . . . . . . . . . . . . .   3
       1.1.1.  Terminology and Conformance Language  . . . . . . . .   3
       1.1.2.  General . . . . . . . . . . . . . . . . . . . . . . .   3
     1.2.  Motivation  . . . . . . . . . . . . . . . . . . . . . . .   4
   2.  PHTAL Document  . . . . . . . . . . . . . . . . . . . . . . .   4
     2.1.  Document description  . . . . . . . . . . . . . . . . . .   4
       2.1.1.  Format  . . . . . . . . . . . . . . . . . . . . . . .   4
       2.1.2.  Schema  . . . . . . . . . . . . . . . . . . . . . . .   4
     2.2.  Hypermedia as the engine of application state . . . . . .   4
       2.2.1.  Document root . . . . . . . . . . . . . . . . . . . .   5
       2.2.2.  Link Object . . . . . . . . . . . . . . . . . . . . .   7
       2.2.3.  Operation Object  . . . . . . . . . . . . . . . . . .   9
       2.2.4.  HTTP Operation Object . . . . . . . . . . . . . . . .  11
       2.2.5.  Security Object . . . . . . . . . . . . . . . . . . .  12
       2.2.6.  Partial Object  . . . . . . . . . . . . . . . . . . .  13
     2.3.  Self-descriptive messages . . . . . . . . . . . . . . . .  14
       2.3.1.  Linking to a profile  . . . . . . . . . . . . . . . .  15
     2.4.  Code-On-Demand  . . . . . . . . . . . . . . . . . . . . .  15
       2.4.1.  Script Object . . . . . . . . . . . . . . . . . . . .  16
   3.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  17
     3.1.  application/phtal+xml . . . . . . . . . . . . . . . . . .  17
     3.2.  application/phtal+json  . . . . . . . . . . . . . . . . .  19
   4.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  20
     4.1.  Normative References  . . . . . . . . . . . . . . . . . .  20
     4.2.  Informative References  . . . . . . . . . . . . . . . . .  21
     4.3.  URIs  . . . . . . . . . . . . . . . . . . . . . . . . . .  22
   Appendix A.  Acknowledgments  . . . . . . . . . . . . . . . . . .  22
   Appendix B.  Frequently Asked Questions . . . . . . . . . . . . .  22
     B.1.  How can I submit comments or feedback to the editors? . .  22
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .  22

1.  Introduction

   This document defines PHTAL, a generic representation format for
   hypertext applications guided by REST constraints.  PHTAL could be
   compared to HTML without any graphical objectives.

   This document registers two media-type identifiers with the IANA:
   "application/phtal+json" and "application/phtal+xml".  This
   registration is for community review and will be submitted to the
   IESG for review, approval, and registration with IANA.

Montoya                 Expires November 6, 2020                [Page 2]
Internet-Draft                    phtal                         May 2020

1.1.  Definitions and Terminology
Show full document text