Skip to content

LostOriginalDto

Endpoints · All schemas

FieldRequiredDescription
assetIdYesThe photo or video
checksumYesSHA-1 of the lost file, base64: what the phone matches its own file by
fileCreatedAtYesWhen the file was created
originalFileNameYesThe name the file had

Complete definition

required lists fields that must be present. nullable allows a null value; it does not make the field optional. Response enums retain exact wire values for compatibility.

{
  "properties": {
    "assetId": {
      "description": "The photo or video",
      "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)$",
      "type": "string"
    },
    "checksum": {
      "description": "SHA-1 of the lost file, base64: what the phone matches its own file by",
      "type": "string"
    },
    "fileCreatedAt": {
      "description": "When the file was created",
      "format": "date-time",
      "type": "string"
    },
    "originalFileName": {
      "description": "The name the file had",
      "type": "string"
    }
  },
  "required": [
    "assetId",
    "checksum",
    "fileCreatedAt",
    "originalFileName"
  ],
  "type": "object"
}