{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/100hires-com/json-schema/100hires-com-email-template-update-request-schema.json",
  "title": "EmailTemplateUpdateRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/100hires-com-email-templates-api-openapi.yml#/components/schemas/EmailTemplateUpdateRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Template name"
    },
    "subject": {
      "type": "string",
      "description": "Email subject line. Plain text.\n\n**Placeholders:** literal `{{first_name}}` / `{{job_title}}` tokens are NOT substituted — they will be delivered to the recipient verbatim. To embed a placeholder, call `POST /template-placeholders/prepare` and paste the returned HTML `<tag>…</tag>` string into this field.\n"
    },
    "body": {
      "type": "string",
      "description": "Email body HTML.\n\n**Placeholders:** literal `{{first_name}}` tokens are NOT substituted — the recipient will see the raw text. To embed a placeholder, call `POST /template-placeholders/prepare` and insert the returned `<tag contenteditable=\"false\" data-type=\"…\" data-identifier=\"…\">…</tag>` element into the HTML at the position where the value should appear.\n"
    }
  },
  "additionalProperties": false
}