{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/yungle-co/json-schema/yungle-co-transfer-summary-schema.json",
  "title": "TransferSummary",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/yungle-co-openapi.json#/components/schemas/TransferSummary",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "title": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": "string",
      "description": "Currently one of: `active`, `expired`, `infected`, `removed`. Treat unknown values as unknown, not as an error."
    },
    "sizeBytes": {
      "type": "integer",
      "minimum": 0
    },
    "fileCount": {
      "type": "integer",
      "minimum": 0
    },
    "firstFileName": {
      "type": [
        "string",
        "null"
      ]
    },
    "e2ee": {
      "type": "boolean",
      "description": "End-to-end encrypted: the working link carries a key Yungle never holds, so `url` alone does not open it."
    },
    "recipients": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "downloadCount": {
      "type": "integer",
      "minimum": 0
    },
    "maxDownloads": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0
        },
        {
          "type": "null"
        }
      ]
    },
    "finalizedAt": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ]
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "id",
    "slug",
    "url",
    "title",
    "status",
    "sizeBytes",
    "fileCount",
    "firstFileName",
    "e2ee",
    "recipients",
    "downloadCount",
    "maxDownloads",
    "finalizedAt",
    "expiresAt",
    "createdAt"
  ]
}