{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/100hires-com/json-schema/100hires-com-email-template-schema.json",
  "title": "EmailTemplate",
  "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/EmailTemplate",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Email template ID"
    },
    "name": {
      "type": "string",
      "description": "Template name"
    },
    "subject": {
      "type": "string",
      "description": "Email subject line as stored. Placeholders, when present, are stored as `<tag>` HTML produced by `POST /template-placeholders/prepare`; they are rendered to real values only at send time, not on read.\n"
    },
    "body": {
      "type": "string",
      "description": "Email body HTML as stored. Placeholders are stored as `<tag>` HTML produced by `POST /template-placeholders/prepare` and rendered at send time. Present only when `view=full` (default); omitted entirely when `view=summary` — template bodies can be tens of KB each.\n"
    },
    "url_backoffice": {
      "type": "string",
      "format": "uri",
      "description": "Absolute backoffice URL to edit this email template in the 100Hires recruiter app. Use to render deep-links in agent UIs."
    },
    "created_at": {
      "type": "integer",
      "description": "Unix timestamp"
    },
    "updated_at": {
      "type": "integer",
      "description": "Unix timestamp"
    }
  }
}