{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hostilo-app/json-schema/hostilo-app-import-zip-request-schema.json",
  "title": "ImportZipRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hostilo-app-openapi.json#/components/schemas/ImportZipRequest",
  "type": "object",
  "required": [
    "site_id"
  ],
  "properties": {
    "site_id": {
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "string"
        }
      ],
      "description": "Site id (number) or site name."
    },
    "zip_url": {
      "type": "string",
      "format": "uri",
      "description": "Public http/https link to the ZIP. Use this or zip_base64."
    },
    "zip_base64": {
      "type": "string",
      "description": "The ZIP as base64. Use this or zip_url."
    },
    "clear_assets": {
      "type": "boolean",
      "default": false
    },
    "dry_run": {
      "type": "boolean",
      "default": false
    }
  }
}