{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/space-ocr-com/json-schema/space-ocr-com-upload-form-schema.json",
  "title": "UploadForm",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/space-ocr-com-openapi.json#/components/schemas/UploadForm",
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "pattern": "^\\/(?:[^./#$\\[\\]/]+(?:\\/[^./#$\\[\\]/]+)*)?\\/?$",
      "description": "Target sheet or doc bundle path."
    },
    "files": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "binary"
      },
      "description": "Image file(s). Repeat the field for multiple. Max 20 files, 20MB each."
    },
    "wait": {
      "type": "boolean",
      "description": "Sync mode — wait up to 30s per image and return `results` instead of `jobs`. Anything slower comes back as status:\"pending\"; poll GET /jobs/{jobId}."
    }
  },
  "required": [
    "path",
    "files"
  ]
}