{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hostilo-app/json-schema/hostilo-app-import-response-schema.json",
  "title": "ImportResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hostilo-app-openapi.json#/components/schemas/ImportResponse",
  "type": "object",
  "required": [
    "success",
    "url",
    "message"
  ],
  "properties": {
    "success": {
      "type": "boolean"
    },
    "dry_run": {
      "type": "boolean"
    },
    "url": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "index": {
      "type": "boolean",
      "description": "index.html was (or would be) published."
    },
    "files": {
      "type": "integer"
    },
    "bytes": {
      "type": "integer"
    },
    "rewritten": {
      "type": "integer",
      "description": "Links fixed to point at assets/."
    },
    "overwritten": {
      "type": "integer"
    },
    "skipped": {
      "$ref": "#/$defs/Skipped"
    }
  },
  "$defs": {
    "Skipped": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        }
      }
    }
  }
}