{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/yungle-co/json-schema/yungle-co-upload-request-schema.json",
  "title": "UploadRequest",
  "description": "A public upload link that files arrive through, into one of your collections.",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/yungle-co-openapi.json#/components/schemas/UploadRequest",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "The page to give people. Anyone with it can upload, until paused, closed or expired."
    },
    "title": {
      "type": "string"
    },
    "message": {
      "type": [
        "string",
        "null"
      ]
    },
    "collectionId": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "description": "Currently one of: `active`, `paused`, `closed`. Treat unknown values as unknown, not as an error."
    },
    "hasPassword": {
      "type": "boolean"
    },
    "requiredItems": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "expiresAt": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ]
    },
    "submissionCount": {
      "type": "integer",
      "minimum": 0
    },
    "receivedBytes": {
      "type": "integer",
      "minimum": 0
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "id",
    "url",
    "title",
    "message",
    "collectionId",
    "status",
    "hasPassword",
    "requiredItems",
    "expiresAt",
    "submissionCount",
    "receivedBytes",
    "createdAt"
  ]
}