Application message request
Application message request schema
JSON schema
  1. {
  2.     "$schema": "http://json-schema.org/draft-04/schema",
  3.     "id": "http://api.xeebo.com/schema/xeebo-rest-application-message-request-schema-v1.0.0.json",
  4.     "title": "Application message request",
  5.     "description": "Application message request schema",
  6.     "type": "object",
  7.     "properties": {
  8.         "version": {
  9.             "title": "Application message schema version",
  10.             "$ref": "http://api.xeebo.com/schema/xeebo-rest-application-schema-v1.0.0.json#/definitions/versionType"
  11.         },
  12.         "message": {
  13.             "title": "Message",
  14.             "description": "Message data",
  15.             "type": "object",
  16.             "properties": {
  17.                 "id": {
  18.                     "title": "Message id",
  19.                     "description": "The message id (used for reference by inReplyTo)",
  20.                     "$ref": "http://api.xeebo.com/schema/xeebo-rest-application-schema-v1.0.0.json#/definitions/idMessageType"
  21.                 },
  22.                 "inReplyTo": {
  23.                     "title": "In reply to",
  24.                     "description": "The message reference id this message references",
  25.                     "anyOf": [
  26.                         {
  27.                             "type": "string"
  28.                         },
  29.                         {
  30.                             "type": "null"
  31.                         }
  32.                     ]
  33.                 },
  34.                 "subject": {
  35.                     "title": "Subject",
  36.                     "description": "The message subject",
  37.                     "type": "string"
  38.                 },
  39.                 "body": {
  40.                     "title": "Body",
  41.                     "description": "The message body text",
  42.                     "type": "string"
  43.                 },
  44.                 "date": {
  45.                     "title": "Message sending date",
  46.                     "description": "The date the message was sent",
  47.                     "$ref": "http://api.xeebo.com/schema/xeebo-rest-application-schema-v1.0.0.json#/definitions/dateType"
  48.                 }
  49.             },
  50.             "required": [
  51.                 "id",
  52.                 "subject",
  53.                 "body",
  54.                 "date"
  55.             ],
  56.             "additionalProperties": false
  57.         }
  58.     },
  59.     "required": [
  60.         "version",
  61.         "message"
  62.     ],
  63.     "additionalProperties": false
  64. }
JSON schema data description
Path/Attribute Title Description Required