{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/faxforagents/json-schema/faxforagents-upload-session-schema.json",
  "title": "UploadSession",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/faxforagents-documents-api-openapi.yml#/components/schemas/UploadSession",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "filename": {
      "type": "string",
      "title": "Filename"
    },
    "content_type": {
      "type": "string",
      "title": "Content Type"
    },
    "declared_size": {
      "type": "integer",
      "title": "Declared Size"
    },
    "received_size": {
      "type": "integer",
      "title": "Received Size"
    },
    "sha256": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sha256"
    },
    "created_at": {
      "type": "string",
      "title": "Created At"
    },
    "expires_at": {
      "type": "string",
      "title": "Expires At"
    },
    "completed_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Completed At"
    },
    "upload_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Upload Url"
    },
    "upload_method": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Upload Method"
    },
    "upload_url_expires_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Upload Url Expires At"
    }
  },
  "additionalProperties": true,
  "type": "object",
  "required": [
    "id",
    "status",
    "filename",
    "content_type",
    "declared_size",
    "received_size",
    "sha256",
    "created_at",
    "expires_at",
    "completed_at"
  ]
}