{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-workspaces/json-schema/amazon-workspaces-create-account-link-invitation-result-schema.json",
  "title": "CreateAccountLinkInvitationResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-workspaces-account-link-invitation-api-openapi.yml#/components/schemas/CreateAccountLinkInvitationResult",
  "type": "object",
  "properties": {
    "AccountLink": {
      "$ref": "#/$defs/AccountLink"
    }
  },
  "$defs": {
    "AccountLink": {
      "type": "object",
      "properties": {
        "AccountLinkId": {
          "type": "string",
          "description": "The identifier of the account link."
        },
        "AccountLinkStatus": {
          "type": "string",
          "enum": [
            "LINKED",
            "LINKING_FAILED",
            "LINK_NOT_FOUND",
            "PENDING_ACCEPTANCE_BY_TARGET_ACCOUNT",
            "REJECTED"
          ],
          "description": "The status of the account link."
        },
        "SourceAccountId": {
          "type": "string",
          "description": "The identifier of the source account."
        },
        "TargetAccountId": {
          "type": "string",
          "description": "The identifier of the target account."
        }
      }
    }
  }
}