{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/namirial/json-schema/namirial-template-find-request-schema.json",
  "title": "TemplateFindRequest",
  "description": "The request model for searching templates.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/namirial-template-api-openapi.yml#/components/schemas/TemplateFindRequest",
  "type": "object",
  "properties": {
    "SearchText": {
      "description": "If set, the given text is searched in following fields:\nenvelope name and description\nnotification subject and message \nsender email address, given name and surname  \nrecipient email address, given name and surname\nNote: Using this search option is very resource intensive! It might take very long.",
      "maxLength": 500,
      "minLength": 0,
      "type": "string"
    },
    "RecipientEmail": {
      "description": "If set, envelopes containing a recipient with the given email address are matched.",
      "maxLength": 250,
      "minLength": 0,
      "type": "string"
    }
  }
}