Network Working Group J. Snell Internet-Draft October 9, 2012 Intended status: Informational Expires: April 12, 2013 The application/stream+json Media Type draft-snell-activity-streams-type-00.txt Abstract This specification defines and registers the application/stream+json Content Type for the JSON Activity Streams format. Status of this Memo This Internet-Draft is submitted to IETF 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 April 12, 2013. Copyright Notice Copyright (c) 2012 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 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. Snell Expires April 12, 2013 [Page 1]
Internet-Draft application/stream+json October 2012 Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3 2. IANA Considerations . . . . . . . . . . . . . . . . . . . . . . 3 3. Security Considerations . . . . . . . . . . . . . . . . . . . . 4 4. Normative References . . . . . . . . . . . . . . . . . . . . . 4 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 4 Snell Expires April 12, 2013 [Page 2]
Internet-Draft application/stream+json October 2012 1. Introduction Activity Streams [asms] is a data format for "the serialization of a stream of social activities using the JSON format" [RFC4627]. Version 1.0 of the specification was published in May of 2011 by the Activity Streams Working Group (<http://activitystrea.ms>) and has been implemented in a broad range of applications. This specification defines and registers the "application/ stream+json" Content Type to represent JSON document resources that conform to the JSON Activity Streams version 1.0 Specification, Section 4. In this document, the key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" are to be interpreted as described in [RFC2119]. 2. IANA Considerations This specification registers the application/stream+json MIME Media Type: Type name: application Subtype name: stream+json Required parameters: None Optional parameters: "charset" : Specifies the character set encoding. If not specified, a default of "UTF-8" is assumed. Encoding considerations: Resources that use the "application/ stream+json" media type are required to conform to the "application/json" Media Type and are therefore subject to the same encoding considerations specified in Section 6 [RFC4627]. Security considerations: As defined in this specification Published specification: This specification. Applications that use this media type: JSON Activity Streams are implemented by a wide range of existing applications. Additional information: Magic number(s): N/A File extension(s): N/A Macintosh file type code(s): TEXT Person & email address to contact for further information: James M Snell <jasnell@gmail.com> Intended usage: COMMON Restrictions on usage: None. Author: James M Snell <jasnell@gmail.com> Change controller: IESG Snell Expires April 12, 2013 [Page 3]
Internet-Draft application/stream+json October 2012 3. Security Considerations Security considerations for JSON Activity Stream documents are discussed in Section 11 of [asms]. 4. Normative References [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997. [RFC4627] Crockford, D., "The application/json Media Type for JavaScript Object Notation (JSON)", RFC 4627, July 2006. [asms] Snell, J., Atkins, M., Norris, W., Messina, C., Wilkinson, M., and R. Dolin, "JSON Activity Streams 1.0", May 2011, <http://activitystrea.ms/specs/json/1.0/>. Author's Address James M Snell Email: jasnell@gmail.com Snell Expires April 12, 2013 [Page 4]