{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/politicalcomms-com/json-schema/politicalcomms-com-email-template-lint-schema.json",
  "title": "EmailTemplateLint",
  "description": "Content lint result returned alongside every template write. A template with lint errors saves, but a campaign using it will not schedule, so read this on the write rather than discovering it at schedule time. Warnings do not block.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/politicalcomms-com-email-templates-api-openapi.yml#/components/schemas/EmailTemplateLint",
  "type": "object",
  "properties": {
    "errors": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    }
  },
  "additionalProperties": true
}