{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/kontaktio/main/json-schema/kontaktio-device-access-response-schema.json",
  "title": "DeviceAccessResponse",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kontaktio-device-api-openapi.yml#/components/schemas/DeviceAccessResponse",
  "type": "object",
  "properties": {
    "managerId": {
      "description": "Identifier of the managers account"
    },
    "email": {
      "description": "Email of the managers account"
    },
    "firstName": {
      "description": "Managers first name"
    },
    "lastName": {
      "description": "Managers last name"
    },
    "role": {
      "type": "string",
      "description": "Role that the manager should have for the device",
      "enum": [
        "VIEWER",
        "EDITOR"
      ]
    },
    "expirationDate": {
      "type": "string",
      "description": "The expiration date for assigned role"
    }
  }
}