{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "title": "delete_image_finished_event",
  "description": "Delete image finished event schema.",
  "additionalProperties": false,
  "required": [
    "image_id",
    "image_type_key",
    "filename",
    "title",
    "source_file_name"
  ],
  "properties": {
    "image_id": {
      "type": "string",
      "minLength": 32,
      "maxLength": 36,
      "format": "uuid",
      "description": "A UUID."
    },
    "image_type_key": {
      "type": "string",
      "minLength": 1,
      "pattern": "^$|.*\\S.*",
      "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
    },
    "filename": {
      "type": "string",
      "minLength": 1,
      "pattern": "^$|.*\\S.*",
      "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
    },
    "title": {
      "type": "string",
      "minLength": 1,
      "pattern": "^$|.*\\S.*",
      "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
    },
    "source_file_name": {
      "type": "string",
      "minLength": 1,
      "pattern": "^$|.*\\S.*",
      "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
    },
    "original_source_location": {
      "type": "string",
      "description": "Original source location of the deleted image. Not set if image was uploaded via UI or GraphQL API."
    }
  }
}