{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "https://apidocs.iqrf.org/openapi/iqrf-gateway-webapp/v2.7.0-rc3/schemas/totpDetail.json",
    "type": "object",
    "title": "TOTP token detail",
    "additionalProperties": false,
    "required": [
        "uuid",
        "name",
        "createdAt",
        "lastUsedAt"
    ],
    "properties": {
        "uuid": {
            "title": "TOTP token UUID",
            "type": "string",
            "format": "uuid",
            "example": "9b10dbaf-1f20-47f5-b1a2-cde87feee65f"
        },
        "name": {
            "title": "TOTP token name",
            "type": "string",
            "example": "Mobile authenticator"
        },
        "createdAt": {
            "title": "Date created",
            "type": "string",
            "format": "date-time",
            "example": "2026-06-14T12:00:00+02:00"
        },
        "lastUsedAt": {
            "title": "Date last used",
            "type": [
                "string",
                "null"
            ],
            "format": "date-time",
            "example": null
        }
    }
}
