{
  "typeName" : "AWS::AmplifyUIBuilder::Theme",
  "description" : "Definition of AWS::AmplifyUIBuilder::Theme Resource Type",
  "definitions" : {
    "Tags" : {
      "type" : "object",
      "patternProperties" : {
        "^(?!aws:)[a-zA-Z+-=._:/]+$" : {
          "type" : "string",
          "maxLength" : 256,
          "minLength" : 1
        }
      },
      "additionalProperties" : false
    },
    "ThemeValue" : {
      "type" : "object",
      "properties" : {
        "Value" : {
          "type" : "string"
        },
        "Children" : {
          "insertionOrder" : false,
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/ThemeValues"
          }
        }
      },
      "additionalProperties" : false
    },
    "ThemeValues" : {
      "type" : "object",
      "properties" : {
        "Key" : {
          "type" : "string"
        },
        "Value" : {
          "$ref" : "#/definitions/ThemeValue"
        }
      },
      "additionalProperties" : false
    }
  },
  "properties" : {
    "AppId" : {
      "type" : "string"
    },
    "EnvironmentName" : {
      "type" : "string"
    },
    "Id" : {
      "type" : "string"
    },
    "Name" : {
      "type" : "string",
      "maxLength" : 255,
      "minLength" : 1
    },
    "Overrides" : {
      "insertionOrder" : false,
      "type" : "array",
      "items" : {
        "$ref" : "#/definitions/ThemeValues"
      }
    },
    "Tags" : {
      "$ref" : "#/definitions/Tags"
    },
    "Values" : {
      "insertionOrder" : false,
      "type" : "array",
      "items" : {
        "$ref" : "#/definitions/ThemeValues"
      }
    }
  },
  "required" : [ "Name", "Values" ],
  "readOnlyProperties" : [ "/properties/Id" ],
  "createOnlyProperties" : [ "/properties/Tags" ],
  "primaryIdentifier" : [ "/properties/AppId", "/properties/EnvironmentName", "/properties/Id" ],
  "handlers" : {
    "create" : {
      "permissions" : [ "amplifyuibuilder:CreateTheme", "amplify:GetApp" ]
    },
    "read" : {
      "permissions" : [ "amplifyuibuilder:GetTheme", "amplify:GetApp" ]
    },
    "update" : {
      "permissions" : [ "amplifyuibuilder:UpdateTheme", "amplify:GetApp" ]
    },
    "delete" : {
      "permissions" : [ "amplifyuibuilder:DeleteTheme", "amplify:GetApp" ]
    },
    "list" : {
      "permissions" : [ "amplifyuibuilder:ListThemes", "amplify:GetApp" ]
    }
  },
  "additionalProperties" : false,
  "taggable" : true
}