{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/continuous-delivery-foundation/json-schema/continuous-delivery-foundation-auth-user-response-schema.json",
  "title": "AuthUserResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/continuous-delivery-foundation-auth-controller-api-openapi.yml#/components/schemas/AuthUserResponse",
  "properties": {
    "accountNonExpired": {
      "type": "boolean"
    },
    "accountNonLocked": {
      "type": "boolean"
    },
    "allowedAccounts": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "authorities": {
      "items": {
        "$ref": "#/$defs/Authority"
      },
      "type": "array"
    },
    "canMintApiTokens": {
      "type": "boolean"
    },
    "credentialsNonExpired": {
      "type": "boolean"
    },
    "email": {
      "type": "string"
    },
    "enabled": {
      "type": "boolean"
    },
    "firstName": {
      "type": "string"
    },
    "isAdmin": {
      "type": "boolean"
    },
    "lastName": {
      "type": "string"
    },
    "maxServiceAccountTokenLifetimeDays": {
      "format": "int32",
      "type": "integer"
    },
    "maxUserTokenLifetimeDays": {
      "format": "int32",
      "type": "integer"
    },
    "roles": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "username": {
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "Authority": {
      "properties": {
        "authority": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}