{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/skavio-eu/json-schema/skavio-eu-review-result-schema.json",
  "title": "ReviewResult",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/skavio-eu-flow-api-openapi.yml#/components/schemas/ReviewResult",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "result": {
      "$ref": "#/$defs/JobResult"
    }
  },
  "required": [
    "ok",
    "result"
  ],
  "$defs": {
    "JobResult": {
      "type": "object",
      "properties": {
        "files": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ResultFile"
          }
        },
        "documents": {
          "type": "integer"
        },
        "review_required_documents": {
          "type": "integer"
        },
        "estimated_time_saved_minutes": {
          "type": "integer"
        },
        "time_saved_basis": {
          "type": "string"
        }
      },
      "required": [
        "files"
      ]
    },
    "ResultFile": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "size_bytes": {
          "type": "integer"
        },
        "download_path": {
          "type": "string",
          "description": "Authenticated path relative to the API server."
        },
        "storage_object_id": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "size_bytes",
        "download_path"
      ]
    }
  }
}