{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-ses-template.json",
  "title": "AWSSESTemplateProperties",
  "description": "Resource Type definition for AWS::SES::Template. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ses.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-ses-template.json",
    "sourceSha256": "9d5a16c633bff6a3cb2041f975a5b5173b32a437ea4ddf16c1866e22cf475264"
  },
  "type": "object",
  "properties": {
    "Template": {
      "$ref": "#/$defs/Template"
    }
  },
  "typeName": "AWS::SES::Template",
  "createOnlyProperties": [
    "/properties/Template/TemplateName"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-ses.git",
  "additionalProperties": false,
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "$defs": {
    "Template": {
      "type": "object",
      "title": "AWSSESTemplateTemplateDefinition",
      "description": "The content of the email, composed of a subject line, an HTML part, and a text-only part",
      "properties": {
        "TemplateName": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^[a-zA-Z0-9_-]{1,64}$",
              "maxLength": 64,
              "minLength": 1
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The name of the template."
        },
        "SubjectPart": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The subject line of the email."
        },
        "TextPart": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The email body that is visible to recipients whose email clients do not display HTML content."
        },
        "HtmlPart": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The HTML body of the email."
        }
      },
      "required": [
        "SubjectPart"
      ],
      "additionalProperties": false
    }
  },
  "readOnlyProperties": [
    "/properties/Id"
  ]
}
