Douglass.network Schemas

Delete ban method dbmethod

douglass.network/community-delete-ban-method

Delete a ban-record from a community.

{
  "id": "douglass.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