CTZN.network Schemas Video Devlog

Followers of view json-view

ctzn.network/followers-view

Get multiple known followers of a user.

{
  "id": "ctzn.network/followers-view",
  "title": "Followers of view",
  "description": "Get multiple known followers of a user.",
  "type": "json-view",
  "parameters": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "array",
    "minItems": 1,
    "additionalItems": false,
    "items": [
      {
        "type": "string"
      }
    ]
  },
  "definition": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "required": [
      "subject"
    ],
    "properties": {
      "subject": {
        "type": "object",
        "required": [
          "dbUrl",
          "userId"
        ],
        "properties": {
          "dbUrl": {
            "type": "string",
            "format": "uri"
          },
          "userId": {
            "type": "string",
            "pattern": ".+@.+"
          }
        }
      },
      "followers": {
        "type": "array",
        "items": {
          "type": "string",
          "pattern": ".+@.+"
        }
      }
    }
  }
}

Schemas