{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-workspaces-web/json-schema/amazon-workspaces-web-list-user-settings-response-schema.json",
  "title": "ListUserSettingsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-workspaces-web-user-settings-api-openapi.yml#/components/schemas/ListUserSettingsResponse",
  "type": "object",
  "properties": {
    "userSettings": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/UserSettingsSummary"
      },
      "description": "The user settings."
    },
    "nextToken": {
      "type": "string",
      "description": "The pagination token used to retrieve the next page of results for this operation."
    }
  },
  "$defs": {
    "BrandingConfiguration": {
      "type": "object",
      "properties": {
        "logo": {
          "$ref": "#/$defs/ImageMetadata"
        },
        "wallpaper": {
          "$ref": "#/$defs/ImageMetadata"
        },
        "favicon": {
          "$ref": "#/$defs/ImageMetadata"
        },
        "localizedStrings": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/LocalizedBrandingStrings"
          },
          "description": "A map of localized text strings for different languages, allowing the portal to display content in the user's preferred language."
        },
        "colorTheme": {
          "type": "string",
          "enum": [
            "Light",
            "Dark"
          ],
          "description": "The color theme for components on the web portal."
        },
        "termsOfService": {
          "type": "string",
          "description": "The terms of service text in Markdown format that users must accept before accessing the portal."
        }
      },
      "required": [
        "logo",
        "favicon",
        "localizedStrings",
        "colorTheme"
      ]
    },
    "CookieSpecification": {
      "type": "object",
      "properties": {
        "domain": {
          "type": "string",
          "description": "The domain of the cookie."
        },
        "name": {
          "type": "string",
          "description": "The name of the cookie."
        },
        "path": {
          "type": "string",
          "description": "The path of the cookie."
        }
      },
      "required": [
        "domain"
      ]
    },
    "CookieSynchronizationConfiguration": {
      "type": "object",
      "properties": {
        "allowlist": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CookieSpecification"
          },
          "description": "The list of cookie specifications that are allowed to be synchronized to the remote browser."
        },
        "blocklist": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CookieSpecification"
          },
          "description": "The list of cookie specifications that are blocked from being synchronized to the remote browser."
        }
      },
      "required": [
        "allowlist"
      ]
    },
    "ImageMetadata": {
      "type": "object",
      "properties": {
        "mimeType": {
          "type": "string",
          "enum": [
            "image/png",
            "image/jpeg",
            "image/x-icon"
          ],
          "description": "The MIME type of the image."
        },
        "fileExtension": {
          "type": "string",
          "description": "The file extension of the image."
        },
        "lastUploadTimestamp": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when the image was last uploaded."
        }
      },
      "required": [
        "mimeType",
        "fileExtension",
        "lastUploadTimestamp"
      ]
    },
    "LocalizedBrandingStrings": {
      "type": "object",
      "properties": {
        "browserTabTitle": {
          "type": "string",
          "description": "The text displayed in the browser tab title."
        },
        "welcomeText": {
          "type": "string",
          "description": "The welcome text displayed on the sign-in page."
        },
        "loginTitle": {
          "type": "string",
          "description": "The title text for the login section. This field is optional and defaults to \"Sign In\"."
        },
        "loginDescription": {
          "type": "string",
          "description": "The description text for the login section. This field is optional and defaults to \"Sign in to your session\"."
        },
        "loginButtonText": {
          "type": "string",
          "description": "The text displayed on the login button. This field is optional and defaults to \"Sign In\"."
        },
        "contactLink": {
          "type": "string",
          "description": "A contact link URL. The URL must start with https:// or mailto:. If not provided, the contact button will be hidden from the web portal screen."
        },
        "contactButtonText": {
          "type": "string",
          "description": "The text displayed on the contact button. This field is optional and defaults to \"Contact us\"."
        },
        "loadingText": {
          "type": "string",
          "description": "The text displayed during session loading. This field is optional and defaults to \"Loading your session\"."
        }
      },
      "required": [
        "browserTabTitle",
        "welcomeText"
      ]
    },
    "ToolbarConfiguration": {
      "type": "object",
      "properties": {
        "toolbarType": {
          "type": "string",
          "description": "The type of toolbar displayed during the session."
        },
        "visualMode": {
          "type": "string",
          "description": "The visual mode of the toolbar."
        },
        "hiddenToolbarItems": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The list of toolbar items to be hidden."
        },
        "maxDisplayResolution": {
          "type": "string",
          "description": "The maximum display resolution that is allowed for the session."
        }
      }
    },
    "UserSettingsSummary": {
      "type": "object",
      "properties": {
        "userSettingsArn": {
          "type": "string",
          "description": "The ARN of the user settings."
        },
        "copyAllowed": {
          "type": "string",
          "description": "Specifies whether the user can copy text from the streaming session to the local device."
        },
        "pasteAllowed": {
          "type": "string",
          "description": "Specifies whether the user can paste text from the local device to the streaming session."
        },
        "downloadAllowed": {
          "type": "string",
          "description": "Specifies whether the user can download files from the streaming session to the local device."
        },
        "uploadAllowed": {
          "type": "string",
          "description": "Specifies whether the user can upload files from the local device to the streaming session."
        },
        "printAllowed": {
          "type": "string",
          "description": "Specifies whether the user can print to the local device."
        },
        "disconnectTimeoutInMinutes": {
          "type": "integer",
          "description": "The amount of time that a streaming session remains active after users disconnect."
        },
        "idleDisconnectTimeoutInMinutes": {
          "type": "integer",
          "description": "The amount of time that users can be idle (inactive) before they are disconnected from their streaming session and the disconnect timeout interval begins."
        },
        "cookieSynchronizationConfiguration": {
          "$ref": "#/$defs/CookieSynchronizationConfiguration"
        },
        "deepLinkAllowed": {
          "type": "string",
          "description": "Specifies whether the user can use deep links that open automatically when connecting to a session."
        },
        "toolbarConfiguration": {
          "$ref": "#/$defs/ToolbarConfiguration"
        },
        "brandingConfiguration": {
          "$ref": "#/$defs/BrandingConfiguration"
        },
        "webAuthnAllowed": {
          "type": "string",
          "description": "Specifies whether the user can use WebAuthn redirection for passwordless login to websites within the streaming session."
        }
      },
      "required": [
        "userSettingsArn"
      ]
    }
  }
}