{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ptc/json-schema/ptc-user-schema.json",
  "title": "User",
  "description": "Properties of a codebeamer user",
  "x-generated": "2026-12-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ptc-codebeamer-api-openapi.yml#/components/schemas/User",
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "description": "Address of a user"
    },
    "city": {
      "type": "string",
      "description": "City of a user"
    },
    "company": {
      "type": "string",
      "description": "Company of a user"
    },
    "country": {
      "type": "string",
      "description": "Country of a user in ISO 3166-1 alpha-2 format",
      "maxLength": 2
    },
    "dateFormat": {
      "type": "string",
      "description": "Date format of a user"
    },
    "email": {
      "type": "string",
      "description": "Email of a user"
    },
    "firstName": {
      "type": "string",
      "description": "First name of a user"
    },
    "id": {
      "type": "integer",
      "format": "int32",
      "description": "Id of the entity",
      "minimum": 0
    },
    "language": {
      "type": "string",
      "description": "Language of a user in ISO 639-1 format",
      "maxLength": 2
    },
    "lastLoginDate": {
      "type": "string",
      "format": "date-time",
      "description": "Last login date of a user"
    },
    "lastName": {
      "type": "string",
      "description": "Last name of a user"
    },
    "mobile": {
      "type": "string",
      "description": "Mobile number of a user"
    },
    "name": {
      "type": "string",
      "description": "Name of the entity"
    },
    "phone": {
      "type": "string",
      "description": "Phone number of a user"
    },
    "registryDate": {
      "type": "string",
      "format": "date-time",
      "description": "Registration date of a user"
    },
    "skills": {
      "type": "string",
      "description": "Skills of a user"
    },
    "state": {
      "type": "string",
      "description": "State / providence of a user"
    },
    "status": {
      "type": "string",
      "description": "Status of a user",
      "enum": [
        "ACTIVATED",
        "DISABLED",
        "INACTIVATION"
      ]
    },
    "timeZone": {
      "type": "string",
      "description": "Time zone of a user"
    },
    "title": {
      "type": "string",
      "description": "Title of a user"
    },
    "zip": {
      "type": "string",
      "description": "Zip of a user"
    }
  }
}