{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/genialis/main/json-schema/genialis-patched-user-details-schema.json",
  "title": "PatchedUserDetails",
  "description": "User model w/o password",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/genialis-rest-auth-api-openapi.yml#/components/schemas/PatchedUserDetails",
  "type": "object",
  "properties": {
    "pk": {
      "type": "integer",
      "readOnly": true,
      "title": "ID"
    },
    "username": {
      "type": "string",
      "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.",
      "pattern": "^[\\w.@+-]+$",
      "maxLength": 150
    },
    "email": {
      "type": "string",
      "format": "email",
      "readOnly": true
    },
    "first_name": {
      "type": "string",
      "maxLength": 150
    },
    "last_name": {
      "type": "string",
      "maxLength": 150
    }
  }
}