CTZN.network Schemas Video Devlog

Delete ban method dbmethod

ctzn.network/community-delete-ban-method

Delete a ban-record from a community.

{
  "id": "ctzn.network/community-delete-ban-method",
  "title": "Delete ban method",
  "description": "Delete a ban-record from a community.",
  "type": "dbmethod",
  "parameters": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "required": [
      "bannedUser"
    ],
    "properties": {
      "bannedUser": {
        "type": "object",
        "required": [
          "dbUrl",
          "userId"
        ],
        "properties": {
          "dbUrl": {
            "type": "string",
            "format": "uri"
          },
          "userId": {
            "type": "string",
            "pattern": ".+@.+"
          }
        }
      }
    }
  }
}

Schemas