{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/phala/json-schema/phala-pending-updates-response-schema.json",
  "title": "PendingUpdatesResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/phala-apps-pending-updates-api-openapi.yml#/components/schemas/PendingUpdatesResponse",
  "properties": {
    "items": {
      "items": {
        "$ref": "#/$defs/PendingUpdateItem"
      },
      "type": "array",
      "title": "Items",
      "default": []
    }
  },
  "type": "object",
  "$defs": {
    "PendingUpdateItem": {
      "properties": {
        "vm_uuid": {
          "type": "string",
          "title": "Vm Uuid"
        },
        "compose_hash": {
          "type": "string",
          "title": "Compose Hash"
        },
        "on_chain": {
          "type": "boolean",
          "title": "On Chain"
        },
        "instance_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Instance Name"
        }
      },
      "type": "object",
      "required": [
        "vm_uuid",
        "compose_hash",
        "on_chain"
      ],
      "title": "PendingUpdateItem"
    }
  }
}