{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-directory-service/json-schema/amazon-directory-service-describe-user-result-schema.json",
  "title": "DescribeUserResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-directory-service-users-api-openapi.yml#/components/schemas/DescribeUserResult",
  "type": "object",
  "properties": {
    "DirectoryId": {
      "type": "string",
      "description": "The identifier (ID) of the directory that's associated with the user."
    },
    "Realm": {
      "type": "string",
      "description": "The domain name that's associated with the user."
    },
    "SID": {
      "type": "string",
      "description": "The unique security identifier (SID) of the user."
    },
    "SAMAccountName": {
      "type": "string",
      "description": "The name of the user."
    },
    "DistinguishedName": {
      "type": "string",
      "description": "The distinguished name of the object."
    },
    "UserPrincipalName": {
      "type": "string",
      "description": "The UPN that is an Internet-style login name for a user and is based on the Internet standard RFC 822. The UPN is shorter than the distinguished name and easier to remember."
    },
    "EmailAddress": {
      "type": "string",
      "description": "The email address of the user."
    },
    "GivenName": {
      "type": "string",
      "description": "The first name of the user."
    },
    "Surname": {
      "type": "string",
      "description": "The last name of the user."
    },
    "Enabled": {
      "type": "boolean",
      "description": "Indicates whether the user account is active."
    },
    "OtherAttributes": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/AttributeValue"
      },
      "description": "The attribute values that are returned for the attribute names that are included in the request. Attribute names are case insensitive."
    }
  },
  "$defs": {
    "AttributeValue": {
      "type": "object",
      "properties": {
        "S": {
          "type": "string",
          "description": "Indicates that the attribute type value is a string. For example: \"S\": \"S Group\""
        },
        "N": {
          "type": "integer",
          "description": "Indicates that the attribute type value is a number. For example: \"N\": \"16\""
        },
        "BOOL": {
          "type": "boolean",
          "description": "Indicates that the attribute type value is a boolean. For example: \"BOOL\": true"
        },
        "SS": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Indicates that the attribute type value is a string set. For example: \"SS\": [\"sample_service_class/host.sample.com:1234/sample_service_name_1\", \"sample_service_class/host.sample.com:1234/sample_service_name_2\"]"
        }
      },
      "description": "Exactly one member is set."
    }
  }
}