{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mend/main/json-schema/mend-dwrresponse-user-key-dto-schema.json",
  "title": "DWRResponseUserKeyDTO",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mend-user-profile-api-openapi.yml#/components/schemas/DWRResponseUserKeyDTO",
  "type": "object",
  "properties": {
    "supportToken": {
      "title": "Support Token",
      "type": "string"
    },
    "retVal": {
      "$ref": "#/$defs/UserKeyDTO"
    }
  },
  "$defs": {
    "UserKeyDTO": {
      "type": "object",
      "properties": {
        "uuid": {
          "title": "User Key UUID",
          "type": "string"
        },
        "userUuid": {
          "title": "User UUID",
          "type": "string"
        },
        "userKey": {
          "title": "User Key",
          "type": "string"
        },
        "createdAt": {
          "title": "Time Of Creation",
          "type": "string",
          "format": "date-time"
        },
        "lastUsedAt": {
          "title": "Last Token Usage",
          "type": "string",
          "format": "date-time"
        },
        "description": {
          "title": "Token Description",
          "type": "string"
        },
        "expirationDate": {
          "title": "Token Expiration Date",
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}