{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/smokeball/json-schema/smokeball-memodto.json",
  "title": "Smokeball MemoDto",
  "required": [
    "text",
    "title"
  ],
  "type": "object",
  "properties": {
    "title": {
      "minLength": 1,
      "type": "string",
      "description": "The title of the memo.",
      "example": "Update"
    },
    "text": {
      "type": "string",
      "description": "The text (content) of the memo.\r\n            \r\nSupports plain-text and RTF.",
      "example": "There has been a recent update on this matter."
    },
    "userId": {
      "type": "string",
      "description": "Unique identifier of the user.",
      "nullable": true,
      "example": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2"
    },
    "createdDateUtc": {
      "type": "string",
      "description": "Date that the memo was created.\r\n\r\nWill default to the current date and time, if not supplied.",
      "format": "date-time",
      "nullable": true,
      "example": "2022-07-01"
    }
  },
  "additionalProperties": false
}