{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "organizationId": {
      "description": "Workspace ID. Omit to use your current workspace.",
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "messageId": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "draftRevision": {
      "type": "integer",
      "minimum": 1,
      "maximum": 2147483647
    },
    "subject": {
      "type": "string",
      "maxLength": 998
    },
    "body": {
      "type": "string",
      "maxLength": 100000
    },
    "cc": {
      "default": "",
      "type": "string",
      "maxLength": 3000
    },
    "bcc": {
      "default": "",
      "type": "string",
      "maxLength": 3000
    }
  },
  "required": ["messageId", "draftRevision", "subject", "body"],
  "additionalProperties": false
}
