{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sendraven-ai/json-schema/sendraven-ai-template-render-result-schema.json",
  "title": "TemplateRenderResult",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sendraven-ai-templates-api-openapi.yml#/components/schemas/TemplateRenderResult",
  "type": "object",
  "required": [
    "subject",
    "html",
    "text"
  ],
  "properties": {
    "subject": {
      "type": "string",
      "description": "Values substituted as given (the subject is not HTML)."
    },
    "html": {
      "type": "string",
      "description": "Values HTML-escaped on substitution."
    },
    "text": {
      "type": [
        "string",
        "null"
      ],
      "description": "null when the template has no text body. Values substituted as given."
    }
  }
}