{
  "type": "object",
  "properties": {
    "datetime": {
      "_format": "date-time",
      "type": "string"
    },
    "email_content": {
      "properties": {
        "body": {
          "type": "string"
        },
        "from_email": {
          "_format": "email_address",
          "type": "string"
        },
        "subject": {
          "type": "string"
        }
      },
      "required": [
        "body",
        "from_email",
        "subject"
      ],
      "title": "notification email content",
      "type": "object"
    },
    "sms_content": {
      "properties": {
        "body": {
          "type": "string"
        },
        "from_number": {
          "type": "string"
        }
      },
      "required": [
        "body",
        "from_number"
      ],
      "title": "notification sms content",
      "type": "object"
    },
    "template": {
      "properties": {
        "_id": {
          "$ref": "#/definitions/uuid"
        },
        "uri": {
          "type": "string"
        },
        "version": {
          "type": "integer"
        }
      },
      "required": [
        "id",
        "version"
      ],
      "title": "notification content",
      "type": "object"
    }
  },
  "definitions": {
    "uuid": {
      "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
      "type": "string"
    }
  }
}