{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/recall-ai/json-schema/recall-ai-desktop-sdk-upload-schema.json",
  "title": "DesktopSdkUpload",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/recall-ai-sdk-upload-api-openapi.yml#/components/schemas/DesktopSdkUpload",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "status": {
      "allOf": [
        {
          "$ref": "#/$defs/NewDesktopSdkUploadStatus"
        }
      ],
      "readOnly": true
    },
    "recording_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "readOnly": true
    },
    "upload_token": {
      "type": "string",
      "readOnly": true
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "metadata": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "required": [
    "created_at",
    "id",
    "recording_id",
    "status",
    "upload_token"
  ],
  "$defs": {
    "NewDesktopSdkUploadStatus": {
      "type": "object",
      "properties": {
        "code": {
          "$ref": "#/$defs/NewDesktopSdkUploadStatusCodeEnum"
        },
        "sub_code": {
          "type": [
            "string",
            "null"
          ]
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        }
      },
      "required": [
        "code",
        "sub_code",
        "updated_at"
      ]
    },
    "NewDesktopSdkUploadStatusCodeEnum": {
      "enum": [
        "pending",
        "recording_started",
        "recording_ended",
        "uploading",
        "complete",
        "failed"
      ],
      "type": "string",
      "description": "* `pending` - Pending\n* `recording_started` - Recording Started\n* `recording_ended` - Recording Ended\n* `uploading` - Uploading\n* `complete` - Complete\n* `failed` - Failed"
    }
  }
}