{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/srift-app/json-schema/srift-app-quick-share-result-schema.json",
  "title": "QuickShareResult",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/srift-app-openapi.yml#/components/schemas/QuickShareResult",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "mode": {
      "type": "string",
      "enum": [
        "relay"
      ]
    },
    "sessionId": {
      "type": "string"
    },
    "fileId": {
      "type": "string"
    },
    "token": {
      "type": "string"
    },
    "downloadUrl": {
      "type": "string",
      "description": "Give this to the recipient. Encrypted links include the key after #k="
    },
    "shareUrl": {
      "type": "string",
      "description": "Same as downloadUrl (kept for older clients)"
    },
    "fileName": {
      "type": "string"
    },
    "fileSize": {
      "type": "number"
    },
    "maxDownloads": {
      "type": "number"
    },
    "expiresAt": {
      "type": [
        "number",
        "null"
      ]
    },
    "encrypted": {
      "type": "boolean"
    },
    "passwordProtected": {
      "type": "boolean"
    }
  }
}