CTZN.network Schemas Video Devlog

Profile view json-view

ctzn.network/profile-view

Get the profile-record of a user.

{
  "id": "ctzn.network/profile-view",
  "title": "Profile view",
  "description": "Get the profile-record 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",
    "properties": {
      "url": {
        "type": "string",
        "format": "uri"
      },
      "userId": {
        "type": "string",
        "pattern": ".+@.+"
      },
      "dbUrl": {
        "type": "string",
        "format": "uri"
      },
      "value": {
        "type": "object",
        "properties": {
          "displayName": {
            "type": "string"
          },
          "description": {
            "type": "string"
          }
        }
      }
    }
  }
}

Schemas