{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/asap-cool/json-schema/asap-cool-email-template-request-schema.json",
  "title": "EmailTemplateRequest",
  "description": "Body of `POST` / `PATCH /v1/emails/templates`.\n\nNamed `Email…` rather than `TemplateRequest`: the signature module already\nexposes a schema under that name, and two components sharing one name\nsilently overwrite each other in the generated client.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/asap-cool-emails-api-openapi.yml#/components/schemas/EmailTemplateRequest",
  "type": "object",
  "required": [
    "name",
    "subject",
    "body_html"
  ],
  "properties": {
    "body_html": {
      "type": "string",
      "description": "Rich-text body; may carry `{{variable}}` placeholders. Sanitized on\nsave — what is stored is not necessarily what was sent."
    },
    "name": {
      "type": "string",
      "description": "Name, unique within the org."
    },
    "subject": {
      "type": "string",
      "description": "Subject line; may carry `{{variable}}` placeholders."
    }
  }
}