CTZN.network Schemas Video Devlog

Community user permissions view json-view

ctzn.network/community-user-permissions-view

Get multiple of a user's permissions in a community.

{
  "id": "ctzn.network/community-user-permissions-view",
  "title": "Community user permissions view",
  "description": "Get multiple of a user's permissions in a community.",
  "type": "json-view",
  "parameters": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "array",
    "minItems": 2,
    "additionalItems": false,
    "items": [
      {
        "type": "string"
      },
      {
        "type": "string"
      }
    ]
  },
  "definition": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "required": [
      "permissions"
    ],
    "properties": {
      "permissions": {
        "type": "array",
        "items": {
          "type": "object",
          "required": [
            "permId"
          ],
          "properties": {
            "permId": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}

Schemas