All Downloads are FREE. Search and download functionalities are using the official Maven repository.

schemas.schema-form.json Maven / Gradle / Ivy

The newest version!
{
  "type" : "object",
  "id" : "urn:jsonschema:io:gravitee:policy:am:send:email:SendEmailPolicyConfiguration",
  "properties" : {
    "template" : {
      "type" : "string",
      "title": "Template",
      "description": "The email's template name. For log and audit purpose"
    },
    "from" : {
      "type" : "string",
      "title": "From",
      "description": "The email's FROM address (support freemarker). Example: [email protected]"
    },
    "fromName" : {
      "type" : "string",
      "title": "From name",
      "description": "The email's FROM name (support freemarker). Example: [Support Team]"
    },
    "to" : {
      "type" : "string",
      "title": "To",
      "description": "The email's TO address (support freemarker). Example: ${user.email}"
    },
    "subject": {
      "type" : "string",
      "title": "Subject",
      "description": "The email's subject (support freemarker)"
    },
    "content": {
      "type" : "string",
      "title": "Content",
      "x-schema-form": {
        "type": "codemirror",
        "codemirrorOptions": {
          "placeholder": "The email's payload (support freemarker)",
          "lineWrapping": true,
          "lineNumbers": true,
          "allowDropFileTypes": true,
          "autoCloseTags": true,
          "mode": "html"
        }
      }
    }
  },
  "required": [
    "template",
    "from",
    "to",
    "subject",
    "content"
  ]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy