{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-detective/refs/heads/main/json-structure/amazon-detective-create-members-response-structure.json",
  "description": "Response from creating member accounts",
  "type": "object",
  "properties": {
    "Members": {
      "type": "array",
      "description": "The set of member account invitation or enablement requests.",
      "items": {
        "$ref": "#/components/schemas/MemberDetail"
      }
    },
    "UnprocessedAccounts": {
      "type": "array",
      "description": "The list of accounts for which Detective was unable to process the invitation.",
      "items": {
        "$ref": "#/components/schemas/UnprocessedAccount"
      }
    }
  },
  "name": "CreateMembersResponse"
}