{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kenna-security/json-schema/kenna-security-users-get-response-schema-schema.json",
  "title": "users_get_response_schema",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kenna-security-users-api-openapi.yml#/components/schemas/users_get_response_schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "default": 0
    },
    "created_at": {
      "type": "string"
    },
    "updated_at": {
      "type": "string"
    },
    "last_sign_in_at": {
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "firstname": {
      "type": "string"
    },
    "lastname": {
      "type": "string"
    },
    "phone": {
      "type": "string"
    },
    "external_id": {
      "type": "string",
      "description": "A client defined string; for example, an internal Active Directory account name."
    },
    "roles": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "role_ids": {
      "type": "array",
      "items": {
        "type": "integer",
        "default": 0
      }
    }
  }
}