{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/kontaktio/main/json-schema/kontaktio-update-device-secure-response-request-schema.json",
  "title": "Device Update via Secure Response",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kontaktio-device-api-openapi.yml#/components/schemas/UpdateDeviceSecureResponseRequest",
  "x-stoplight": {
    "id": "z42p6ny4h5b5y"
  },
  "properties": {
    "uniqueId": {
      "description": "List of Unique IDs of Devices that should be updated",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "response": {
      "description": "List of Base64-encoded Secure Responses from Kontakt.io devices that were configured. A position on this list corresponds to a position of a Unique ID in the `uniqueId` list.",
      "type": "array",
      "items": {
        "type": "string",
        "format": "byte"
      }
    },
    "updated": {
      "description": "List of Unix epoch timestamps (seconds) that represent a time and date when a Kontakt.io Device were updated. Mostly used for time synchronization in secure shuffling. A position on this list corresponds to a position of a Unique ID in the `uniqueId` list.",
      "type": "array",
      "items": {
        "type": "integer"
      }
    }
  },
  "required": [
    "uniqueId",
    "response",
    "updated"
  ]
}