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