{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-quicksight-theme.json",
  "title": "AWSQuickSightThemeProperties",
  "description": "Definition of the AWS::QuickSight::Theme Resource Type.. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-quicksight-theme.json",
    "sourceSha256": "3bd601c66fdd66d268a8788136ebdd1113347329ac4996cc2b25e57ed21241b8"
  },
  "type": "object",
  "properties": {
    "AwsAccountId": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 12,
          "minLength": 12,
          "pattern": "^[0-9]{12}$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "BaseThemeId": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 2048,
          "minLength": 1,
          "pattern": "[\\w\\-]+"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "<p>The ID of the theme that a custom theme will inherit from. All themes inherit from one of\n\t\t\tthe starting themes defined by Amazon QuickSight. For a list of the starting themes, use\n\t\t\t\t<code>ListThemes</code> or choose <b>Themes</b> from\n\t\t\twithin a QuickSight analysis. </p>"
    },
    "Configuration": {
      "$ref": "#/$defs/ThemeConfiguration"
    },
    "Name": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 2048,
          "minLength": 1
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "<p>A display name for the theme.</p>"
    },
    "Permissions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ResourcePermission"
      },
      "maxItems": 64,
      "minItems": 1,
      "description": "<p>A valid grouping of resource permissions to apply to the new theme.\n\t\t\t</p>"
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "maxItems": 200,
      "minItems": 1,
      "description": "<p>A map of the key-value pairs for the resource tag or tags that you want to add to the\n\t\t\tresource.</p>"
    },
    "ThemeId": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 2048,
          "minLength": 1,
          "pattern": "[\\w\\-]+"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "VersionDescription": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 512,
          "minLength": 1
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "<p>A description of the first version of the theme that you're creating. Every time\n\t\t\t\t<code>UpdateTheme</code> is called, a new version is created. Each version of the\n\t\t\ttheme has a description of the version in the <code>VersionDescription</code>\n\t\t\tfield.</p>"
    }
  },
  "typeName": "AWS::QuickSight::Theme",
  "primaryIdentifier": [
    "/properties/ThemeId",
    "/properties/AwsAccountId"
  ],
  "additionalProperties": false,
  "createOnlyProperties": [
    "/properties/ThemeId",
    "/properties/AwsAccountId"
  ],
  "required": [
    "AwsAccountId",
    "ThemeId"
  ],
  "$defs": {
    "BorderStyle": {
      "type": "object",
      "description": "<p>The display options for tile borders for visuals.</p>",
      "properties": {
        "Show": {
          "type": "boolean",
          "description": "<p>The option to enable display of borders for visuals.</p>"
        }
      },
      "title": "AWSQuickSightThemeBorderStyleDefinition",
      "additionalProperties": false
    },
    "DataColorPalette": {
      "type": "object",
      "description": "<p>The theme colors that are used for data colors in charts. The colors description is a\n            hexadecimal color code that consists of six alphanumerical characters, prefixed with\n                <code>#</code>, for example #37BFF5. </p>",
      "properties": {
        "EmptyFillColor": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^#[A-F0-9]{6}$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The hexadecimal code of a color that applies to charts where a lack of data is\n            highlighted.</p>"
        },
        "Colors": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^#[A-F0-9]{6}$"
          },
          "maxItems": 100,
          "minItems": 0,
          "description": "<p>The hexadecimal codes for the colors.</p>"
        },
        "MinMaxGradient": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^#[A-F0-9]{6}$"
          },
          "maxItems": 100,
          "minItems": 0,
          "description": "<p>The minimum and maximum hexadecimal codes that describe a color gradient. </p>"
        }
      },
      "title": "AWSQuickSightThemeDataColorPaletteDefinition",
      "additionalProperties": false
    },
    "Font": {
      "type": "object",
      "properties": {
        "FontFamily": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "title": "AWSQuickSightThemeFontDefinition",
      "additionalProperties": false
    },
    "GutterStyle": {
      "type": "object",
      "description": "<p>The display options for gutter spacing between tiles on a sheet.</p>",
      "properties": {
        "Show": {
          "type": "boolean",
          "description": "<p>This Boolean value controls whether to display a gutter space between sheet tiles.\n        </p>"
        }
      },
      "title": "AWSQuickSightThemeGutterStyleDefinition",
      "additionalProperties": false
    },
    "MarginStyle": {
      "type": "object",
      "description": "<p>The display options for margins around the outside edge of sheets.</p>",
      "properties": {
        "Show": {
          "type": "boolean",
          "description": "<p>This Boolean value controls whether to display sheet margins.</p>"
        }
      },
      "title": "AWSQuickSightThemeMarginStyleDefinition",
      "additionalProperties": false
    },
    "ResourcePermission": {
      "type": "object",
      "description": "<p>Permission for the resource.</p>",
      "properties": {
        "Actions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "maxItems": 16,
          "minItems": 1,
          "description": "<p>The IAM action to grant or revoke permissions on.</p>"
        },
        "Principal": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The Amazon Resource Name (ARN) of the principal. This can be one of the\n            following:</p>\n        <ul>\n            <li>\n                <p>The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)</p>\n            </li>\n            <li>\n                <p>The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)</p>\n            </li>\n            <li>\n                <p>The ARN of an AWS account root: This is an IAM ARN rather than a QuickSight\n                    ARN. Use this option only to share resources (templates) across AWS accounts.\n                    (This is less common.) </p>\n            </li>\n         </ul>"
        }
      },
      "required": [
        "Actions",
        "Principal"
      ],
      "title": "AWSQuickSightThemeResourcePermissionDefinition",
      "additionalProperties": false
    },
    "ResourceStatus": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "CREATION_IN_PROGRESS",
            "CREATION_SUCCESSFUL",
            "CREATION_FAILED",
            "UPDATE_IN_PROGRESS",
            "UPDATE_SUCCESSFUL",
            "UPDATE_FAILED",
            "DELETED"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSQuickSightThemeResourceStatusDefinition"
    },
    "SheetStyle": {
      "type": "object",
      "description": "<p>The theme display options for sheets. </p>",
      "properties": {
        "TileLayout": {
          "$ref": "#/$defs/TileLayoutStyle"
        },
        "Tile": {
          "$ref": "#/$defs/TileStyle"
        }
      },
      "title": "AWSQuickSightThemeSheetStyleDefinition",
      "additionalProperties": false
    },
    "Tag": {
      "type": "object",
      "description": "<p>The key or keys of the key-value pairs for the resource tag or tags assigned to the\n            resource.</p>",
      "properties": {
        "Value": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 256,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Tag value.</p>"
        },
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 128,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>Tag key.</p>"
        }
      },
      "required": [
        "Key",
        "Value"
      ],
      "title": "AWSQuickSightThemeTagDefinition",
      "additionalProperties": false
    },
    "ThemeConfiguration": {
      "type": "object",
      "description": "<p>The theme configuration. This configuration contains all of the display properties for\n            a theme.</p>",
      "properties": {
        "DataColorPalette": {
          "$ref": "#/$defs/DataColorPalette"
        },
        "UIColorPalette": {
          "$ref": "#/$defs/UIColorPalette"
        },
        "Sheet": {
          "$ref": "#/$defs/SheetStyle"
        },
        "Typography": {
          "$ref": "#/$defs/Typography"
        }
      },
      "title": "AWSQuickSightThemeThemeConfigurationDefinition",
      "additionalProperties": false
    },
    "ThemeError": {
      "type": "object",
      "description": "<p>Theme error.</p>",
      "properties": {
        "Type": {
          "$ref": "#/$defs/ThemeErrorType"
        },
        "Message": {
          "oneOf": [
            {
              "type": "string",
              "pattern": ".*\\S.*"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The error message.</p>"
        }
      },
      "title": "AWSQuickSightThemeThemeErrorDefinition",
      "additionalProperties": false
    },
    "ThemeErrorType": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "INTERNAL_FAILURE"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSQuickSightThemeThemeErrorTypeDefinition"
    },
    "ThemeType": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "QUICKSIGHT",
            "CUSTOM",
            "ALL"
          ]
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "title": "AWSQuickSightThemeThemeTypeDefinition"
    },
    "ThemeVersion": {
      "type": "object",
      "description": "<p>A version of a theme.</p>",
      "properties": {
        "Status": {
          "$ref": "#/$defs/ResourceStatus"
        },
        "Errors": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ThemeError"
          },
          "minItems": 1,
          "description": "<p>Errors associated with the theme.</p>"
        },
        "Description": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 512,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The description of the theme.</p>"
        },
        "CreatedTime": {
          "oneOf": [
            {
              "type": "string",
              "format": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The date and time that this theme version was created.</p>"
        },
        "Configuration": {
          "$ref": "#/$defs/ThemeConfiguration"
        },
        "BaseThemeId": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 2048,
              "minLength": 1,
              "pattern": "[\\w\\-]+"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The Amazon QuickSight-defined ID of the theme that a custom theme inherits from. All\n            themes initially inherit from a default QuickSight theme.</p>"
        },
        "Arn": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The Amazon Resource Name (ARN) of the resource.</p>"
        },
        "VersionNumber": {
          "type": "number",
          "minimum": 1,
          "description": "<p>The version number of the theme.</p>"
        }
      },
      "title": "AWSQuickSightThemeThemeVersionDefinition",
      "additionalProperties": false
    },
    "TileLayoutStyle": {
      "type": "object",
      "description": "<p>The display options for the layout of tiles on a sheet.</p>",
      "properties": {
        "Gutter": {
          "$ref": "#/$defs/GutterStyle"
        },
        "Margin": {
          "$ref": "#/$defs/MarginStyle"
        }
      },
      "title": "AWSQuickSightThemeTileLayoutStyleDefinition",
      "additionalProperties": false
    },
    "TileStyle": {
      "type": "object",
      "description": "<p>Display options related to tiles on a sheet.</p>",
      "properties": {
        "Border": {
          "$ref": "#/$defs/BorderStyle"
        }
      },
      "title": "AWSQuickSightThemeTileStyleDefinition",
      "additionalProperties": false
    },
    "Typography": {
      "type": "object",
      "description": "<p>The typeface for the theme.</p>",
      "properties": {
        "FontFamilies": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Font"
          },
          "maxItems": 5,
          "minItems": 0
        }
      },
      "title": "AWSQuickSightThemeTypographyDefinition",
      "additionalProperties": false
    },
    "UIColorPalette": {
      "type": "object",
      "description": "<p>The theme colors that apply to UI and to charts, excluding data colors. The colors\n            description is a hexadecimal color code that consists of six alphanumerical characters,\n            prefixed with <code>#</code>, for example #37BFF5. For more information, see <a href=\"<https://docs.aws.amazon.com/quicksight/latest/user/themes-in-quicksight.html>\">Using Themes in Amazon QuickSight</a> in the <i>Amazon QuickSight User\n                Guide.</i>\n        </p>",
      "properties": {
        "Warning": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^#[A-F0-9]{6}$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>This color that applies to warning and informational messages.</p>"
        },
        "Accent": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^#[A-F0-9]{6}$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>This color is that applies to selected states and buttons.</p>"
        },
        "AccentForeground": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^#[A-F0-9]{6}$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The foreground color that applies to any text or other elements that appear over the\n            accent color.</p>"
        },
        "SecondaryBackground": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^#[A-F0-9]{6}$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The background color that applies to the sheet background and sheet controls.</p>"
        },
        "DangerForeground": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^#[A-F0-9]{6}$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The foreground color that applies to any text or other elements that appear over the\n            error color.</p>"
        },
        "PrimaryBackground": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^#[A-F0-9]{6}$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The background color that applies to visuals and other high emphasis UI.</p>"
        },
        "Dimension": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^#[A-F0-9]{6}$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The color that applies to the names of fields that are identified as\n            dimensions.</p>"
        },
        "SecondaryForeground": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^#[A-F0-9]{6}$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The foreground color that applies to any sheet title, sheet control text, or UI that\n            appears over the secondary background.</p>"
        },
        "WarningForeground": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^#[A-F0-9]{6}$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The foreground color that applies to any text or other elements that appear over the\n            warning color.</p>"
        },
        "DimensionForeground": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^#[A-F0-9]{6}$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The foreground color that applies to any text or other elements that appear over the\n            dimension color.</p>"
        },
        "PrimaryForeground": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^#[A-F0-9]{6}$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The color of text and other foreground elements that appear over the primary\n            background regions, such as grid lines, borders, table banding, icons, and so on.</p>"
        },
        "Success": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^#[A-F0-9]{6}$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The color that applies to success messages, for example the check mark for a\n            successful download.</p>"
        },
        "Danger": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^#[A-F0-9]{6}$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The color that applies to error messages.</p>"
        },
        "SuccessForeground": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^#[A-F0-9]{6}$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The foreground color that applies to any text or other elements that appear over the\n            success color.</p>"
        },
        "Measure": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^#[A-F0-9]{6}$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The color that applies to the names of fields that are identified as measures.</p>"
        },
        "MeasureForeground": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^#[A-F0-9]{6}$"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "<p>The foreground color that applies to any text or other elements that appear over the\n            measure color.</p>"
        }
      },
      "title": "AWSQuickSightThemeUIColorPaletteDefinition",
      "additionalProperties": false
    }
  },
  "readOnlyProperties": [
    "/properties/ThemeError",
    "/properties/CreatedTime",
    "/properties/Version",
    "/properties/LastUpdatedTime",
    "/properties/Arn",
    "/properties/Type"
  ],
  "writeOnlyProperties": [
    "/properties/VersionDescription",
    "/properties/Configuration",
    "/properties/BaseThemeId"
  ]
}
