{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-connect/json-schema/amazon-connect-create-workspace-request-schema.json",
  "title": "CreateWorkspaceRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-connect-workspaces-api-openapi.yml#/components/schemas/CreateWorkspaceRequest",
  "type": "object",
  "properties": {
    "InstanceId": {
      "type": "string",
      "description": "The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance."
    },
    "Name": {
      "type": "string",
      "description": "The name of the workspace. Must be unique within the instance and can contain 1-127 characters."
    },
    "Description": {
      "type": "string",
      "description": "The description of the workspace. Maximum length is 250 characters."
    },
    "Theme": {
      "$ref": "#/$defs/WorkspaceTheme"
    },
    "Title": {
      "type": "string",
      "description": "The title displayed for the workspace."
    },
    "Tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The tags used to organize, track, or control access for this resource. For example, { \"Tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }."
    }
  },
  "required": [
    "InstanceId",
    "Name"
  ],
  "$defs": {
    "FontFamily": {
      "type": "object",
      "properties": {
        "Default": {
          "type": "string",
          "enum": [
            "Arial",
            "Courier New",
            "Georgia",
            "Times New Roman",
            "Trebuchet",
            "Verdana"
          ],
          "description": "The default font family to use in the workspace theme."
        }
      }
    },
    "ImagesLogo": {
      "type": "object",
      "properties": {
        "Default": {
          "type": "string",
          "description": "The default logo image displayed in the workspace."
        },
        "Favicon": {
          "type": "string",
          "description": "The favicon image displayed in the browser tab."
        }
      }
    },
    "PaletteCanvas": {
      "type": "object",
      "properties": {
        "ContainerBackground": {
          "type": "string",
          "description": "The background color for container elements."
        },
        "PageBackground": {
          "type": "string",
          "description": "The background color for page elements."
        },
        "ActiveBackground": {
          "type": "string",
          "description": "The background color for active elements."
        }
      }
    },
    "PaletteHeader": {
      "type": "object",
      "properties": {
        "Background": {
          "type": "string",
          "description": "The background color of the header."
        },
        "Text": {
          "type": "string",
          "description": "The text color in the header."
        },
        "TextHover": {
          "type": "string",
          "description": "The text color when hovering over header elements."
        },
        "InvertActionsColors": {
          "type": "boolean",
          "description": "Whether to invert the colors of action buttons in the header."
        }
      }
    },
    "PaletteNavigation": {
      "type": "object",
      "properties": {
        "Background": {
          "type": "string",
          "description": "The background color of the navigation area."
        },
        "TextBackgroundHover": {
          "type": "string",
          "description": "The background color when hovering over navigation text."
        },
        "TextBackgroundActive": {
          "type": "string",
          "description": "The background color for active navigation items."
        },
        "Text": {
          "type": "string",
          "description": "The text color in the navigation area."
        },
        "TextHover": {
          "type": "string",
          "description": "The text color when hovering over navigation items."
        },
        "TextActive": {
          "type": "string",
          "description": "The text color for active navigation items."
        },
        "InvertActionsColors": {
          "type": "boolean",
          "description": "Whether to invert the colors of action buttons in the navigation area."
        }
      }
    },
    "PalettePrimary": {
      "type": "object",
      "properties": {
        "Default": {
          "type": "string",
          "description": "The default primary color used throughout the workspace."
        },
        "Active": {
          "type": "string",
          "description": "The primary color used for active states."
        },
        "ContrastText": {
          "type": "string",
          "description": "The text color that contrasts with the primary color for readability."
        }
      }
    },
    "WorkspaceTheme": {
      "type": "object",
      "properties": {
        "Light": {
          "$ref": "#/$defs/WorkspaceThemeConfig"
        },
        "Dark": {
          "$ref": "#/$defs/WorkspaceThemeConfig"
        }
      }
    },
    "WorkspaceThemeConfig": {
      "type": "object",
      "properties": {
        "Palette": {
          "$ref": "#/$defs/WorkspaceThemePalette"
        },
        "Images": {
          "$ref": "#/$defs/WorkspaceThemeImages"
        },
        "Typography": {
          "$ref": "#/$defs/WorkspaceThemeTypography"
        }
      }
    },
    "WorkspaceThemeImages": {
      "type": "object",
      "properties": {
        "Logo": {
          "$ref": "#/$defs/ImagesLogo"
        }
      }
    },
    "WorkspaceThemePalette": {
      "type": "object",
      "properties": {
        "Header": {
          "$ref": "#/$defs/PaletteHeader"
        },
        "Navigation": {
          "$ref": "#/$defs/PaletteNavigation"
        },
        "Canvas": {
          "$ref": "#/$defs/PaletteCanvas"
        },
        "Primary": {
          "$ref": "#/$defs/PalettePrimary"
        }
      }
    },
    "WorkspaceThemeTypography": {
      "type": "object",
      "properties": {
        "FontFamily": {
          "$ref": "#/$defs/FontFamily"
        }
      }
    }
  }
}