{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-directory-service/json-schema/amazon-directory-service-search-groups-request-schema.json",
  "title": "SearchGroupsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-directory-service-groups-api-openapi.yml#/components/schemas/SearchGroupsRequest",
  "type": "object",
  "properties": {
    "DirectoryId": {
      "type": "string",
      "description": "The identifier (ID) of the directory that's associated with the group."
    },
    "SearchString": {
      "type": "string",
      "description": "The attribute value that you want to search for. Wildcard (*) searches aren't supported. For a list of supported attributes, see Directory Service Data Attributes."
    },
    "SearchAttributes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "One or more data attributes that are used to search for a group. For a list of supported attributes, see Directory Service Data Attributes."
    },
    "Realm": {
      "type": "string",
      "description": "The domain name that's associated with the group. This parameter is optional, so you can return groups outside of your Managed Microsoft AD domain. When no value is defined, only your Managed Microsoft AD groups are returned. This value is case insensitive."
    },
    "NextToken": {
      "type": "string",
      "description": "An encoded paging token for paginated calls that can be passed back to retrieve the next page."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of results to be returned per request."
    }
  },
  "required": [
    "DirectoryId",
    "SearchString",
    "SearchAttributes"
  ]
}