{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/romm/json-schema/romm-install-request-update-payload-schema.json",
  "title": "InstallRequestUpdatePayload",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/romm-devices-api-openapi.yml#/components/schemas/InstallRequestUpdatePayload",
  "properties": {
    "status": {
      "$ref": "#/$defs/InstallStatus"
    },
    "reason": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 500
        },
        {
          "type": "null"
        }
      ],
      "title": "Reason"
    }
  },
  "type": "object",
  "required": [
    "status"
  ],
  "$defs": {
    "InstallStatus": {
      "type": "string",
      "enum": [
        "pending",
        "taken",
        "done",
        "already_installed",
        "failed",
        "cancelled"
      ],
      "title": "InstallStatus"
    }
  }
}