{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TemplateInfo",
  "title": "TemplateInfo",
  "type": "object",
  "description": "Information about a Mandrill template.",
  "properties": {
    "slug": {
      "type": "string",
      "description": "The URL-safe slug for the template.",
      "example": "example_value"
    },
    "name": {
      "type": "string",
      "description": "The display name of the template.",
      "example": "Example Title"
    },
    "labels": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Labels applied to the template for organization.",
      "example": []
    },
    "code": {
      "type": "string",
      "description": "The HTML code of the template.",
      "example": "example_value"
    },
    "subject": {
      "type": "string",
      "description": "The default subject line.",
      "example": "example_value"
    },
    "from_email": {
      "type": "string",
      "format": "email",
      "description": "The default from address.",
      "example": "user@example.com"
    },
    "from_name": {
      "type": "string",
      "description": "The default from name.",
      "example": "example_value"
    },
    "text": {
      "type": "string",
      "description": "The default text content.",
      "example": "example_value"
    },
    "publish_name": {
      "type": "string",
      "description": "The name of the published version.",
      "example": "example_value"
    },
    "publish_code": {
      "type": "string",
      "description": "The HTML code of the published version.",
      "example": "example_value"
    },
    "publish_subject": {
      "type": "string",
      "description": "The subject of the published version.",
      "example": "example_value"
    },
    "publish_from_email": {
      "type": "string",
      "format": "email",
      "description": "The from address of the published version.",
      "example": "user@example.com"
    },
    "publish_from_name": {
      "type": "string",
      "description": "The from name of the published version.",
      "example": "example_value"
    },
    "publish_text": {
      "type": "string",
      "description": "The text content of the published version.",
      "example": "example_value"
    },
    "published_at": {
      "type": "string",
      "format": "date-time",
      "description": "When the template was last published.",
      "example": "2026-01-15T10:30:00Z"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "When the template was created.",
      "example": "2026-01-15T10:30:00Z"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "When the template was last updated.",
      "example": "2026-01-15T10:30:00Z"
    }
  }
}