{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/przypominamy-com/json-schema/przypominamy-com-template-input-schema.json",
  "title": "TemplateInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/przypominamy-com-szablony-api-openapi.yml#/components/schemas/TemplateInput",
  "type": "object",
  "required": [
    "name",
    "body"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 60
    },
    "type": {
      "type": "string",
      "enum": [
        "sms",
        "mms",
        "vms"
      ],
      "default": "sms",
      "description": "Domyślnie `sms`"
    },
    "body": {
      "type": "string",
      "maxLength": 5000,
      "description": "Treść z placeholderami `{{klucz}}`"
    },
    "subject": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 80,
      "description": "Temat (tylko MMS)"
    }
  }
}