{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/folio/main/json-schema/folio-application-cleanup-result-schema.json",
  "title": "applicationCleanupResult",
  "description": "Summary of the application cleanup execution",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/folio-mgr-applications-am-openapi.yml#/components/schemas/applicationCleanupResult",
  "type": "object",
  "properties": {
    "inspected": {
      "description": "The total number of application descriptors inspected for cleanup",
      "type": "integer",
      "minimum": 0
    },
    "cleaned": {
      "description": "The number of application descriptors removed successfully",
      "type": "integer",
      "minimum": 0
    },
    "skipped": {
      "description": "The number of application descriptors skipped because they are still installed",
      "type": "integer",
      "minimum": 0
    },
    "failed": {
      "description": "The number of application descriptors that could not be removed due to errors",
      "type": "integer",
      "minimum": 0
    },
    "cleanedIds": {
      "description": "The identifiers of application descriptors removed successfully",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "skippedIds": {
      "description": "The identifiers of application descriptors skipped because they are still installed",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "failedIds": {
      "description": "The identifiers of application descriptors that failed cleanup",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "inspected",
    "cleaned",
    "skipped",
    "failed",
    "cleanedIds",
    "skippedIds",
    "failedIds"
  ]
}