{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-guardduty/json-schema/amazon-guardduty-create-members-request-schema.json",
  "title": "CreateMembersRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-guardduty-member-api-openapi.yml#/components/schemas/CreateMembersRequest",
  "type": "object",
  "properties": {
    "DetectorId": {
      "type": "string",
      "description": "The unique ID of the detector of the GuardDuty account for which you want to associate member accounts. To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API."
    },
    "AccountDetails": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AccountDetail"
      },
      "description": "A list of account ID and email address pairs of the accounts that you want to associate with the GuardDuty administrator account."
    }
  },
  "required": [
    "DetectorId",
    "AccountDetails"
  ],
  "$defs": {
    "AccountDetail": {
      "type": "object",
      "properties": {
        "AccountId": {
          "type": "string",
          "description": "The member account ID."
        },
        "Email": {
          "type": "string",
          "description": "The email address of the member account. The following list includes the rules for a valid email address: The email address must be a minimum of 6 and a maximum of 64 characters long. All characters must be 7-bit ASCII characters. There must be one and only one @ symbol, which separates the local name from the domain name. The local name can't contain any of the following characters: whitespace, \" ' ( ) &lt; &gt; [ ] : ' , \\ | % &amp; The local name can't begin with a dot (.). The domain name can consist of only the characters [a-z], [A-Z], [0-9], hyphen (-), or dot (.). The domain name can't "
        }
      },
      "required": [
        "AccountId",
        "Email"
      ]
    }
  }
}