CTZN.network Schemas Video Devlog

User/Database Index json-table

ctzn.network/user-db-idx

An index mapping user database URLs to user IDs

{
  "id": "ctzn.network/user-db-idx",
  "title": "User/Database Index",
  "description": "An index mapping user database URLs to user IDs",
  "type": "json-table",
  "definition": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "required": [
      "userId",
      "dbUrl"
    ],
    "properties": {
      "userId": {
        "type": "string",
        "pattern": ".+@.+"
      },
      "dbUrl": {
        "type": "string",
        "pattern": "^hyper://([a-f0-9]{64})/$"
      }
    }
  }
}

Schemas