tools.ozone.communication.createTemplate

ozone-lexicons.bsky.social

{
  "id": "tools.ozone.communication.createTemplate",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "subject",
            "contentMarkdown",
            "name"
          ],
          "properties": {
            "lang": {
              "type": "string",
              "format": "language",
              "description": "Message language."
            },
            "name": {
              "type": "string",
              "description": "Name of the template."
            },
            "subject": {
              "type": "string",
              "description": "Subject of the message, used in emails."
            },
            "createdBy": {
              "type": "string",
              "format": "did",
              "description": "DID of the user who is creating the template."
            },
            "contentMarkdown": {
              "type": "string",
              "description": "Content of the template, markdown supported, can contain variable placeholders."
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "DuplicateTemplateName"
        }
      ],
      "output": {
        "schema": {
          "ref": "tools.ozone.communication.defs#templateView",
          "type": "ref"
        },
        "encoding": "application/json"
      },
      "description": "Administrative action to create a new, re-usable communication (email for now) template."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against tools.ozone.communication.createTemplate

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:33dt5kftu3jq2h5h4jjlqezt
CID
bafyreifqj7bvggylsolmkorhxmukkk64be6qtsf5lruzmwka6rrgmwjd7a
Indexed At
2026-01-09 12:47 UTC
AT-URI
at://did:plc:33dt5kftu3jq2h5h4jjlqezt/com.atproto.lexicon.schema/tools.ozone.communication.createTemplate

Referenced Schemas (1)

Lexicon Garden

@