toolsOzoneCommunicationDefs top-level constant

Map<String, dynamic> const toolsOzoneCommunicationDefs

tools.ozone.communication.defs

Implementation

const toolsOzoneCommunicationDefs = <String, dynamic>{
  "lexicon": 1,
  "id": "tools.ozone.communication.defs",
  "defs": {
    "templateView": {
      "type": "object",
      "required": [
        "id",
        "name",
        "contentMarkdown",
        "disabled",
        "lastUpdatedBy",
        "createdAt",
        "updatedAt"
      ],
      "properties": {
        "id": {"type": "string"},
        "name": {"type": "string", "description": "Name of the template."},
        "subject": {
          "type": "string",
          "description":
              "Content of the template, can contain markdown and variable placeholders."
        },
        "contentMarkdown": {
          "type": "string",
          "description": "Subject of the message, used in emails."
        },
        "disabled": {"type": "boolean"},
        "lastUpdatedBy": {
          "type": "string",
          "format": "did",
          "description": "DID of the user who last updated the template."
        },
        "createdAt": {"type": "string", "format": "datetime"},
        "updatedAt": {"type": "string", "format": "datetime"}
      }
    }
  }
};