{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cm-com/json-schema/cm-com-user-dto-schema.json",
  "title": "UserDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cm-com-authentication-api-openapi.yml#/components/schemas/UserDto",
  "type": "object",
  "properties": {
    "uuid": {
      "type": "string",
      "readOnly": true
    },
    "cmPersonGuid": {
      "type": "string",
      "readOnly": true
    },
    "firstName": {
      "type": "string",
      "readOnly": true
    },
    "lastName": {
      "type": "string",
      "readOnly": true
    },
    "username": {
      "type": "string",
      "readOnly": true
    },
    "email": {
      "type": "string",
      "readOnly": true
    },
    "entrancePlanClaims": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "OBSERVER",
          "EDITOR",
          "OWNER",
          "ADMIN",
          "SCAN_USER",
          "SCAN_CHECKIN",
          "SCAN_CHECKOUT",
          "SCAN_CLICKER_CHECKIN",
          "SCAN_CLICKER_CHECKOUT",
          "SCAN_SEARCH",
          "SCAN_VALIDATE",
          "SCAN_ANALYTICS"
        ]
      }
    }
  },
  "required": [
    "uuid",
    "cmPersonGuid",
    "firstName",
    "lastName",
    "username",
    "email",
    "entrancePlanClaims"
  ]
}