CTZN.network Schemas Video Devlog

Account json-table

ctzn.network/account

Internal record of user account registrations.

{
  "id": "ctzn.network/account",
  "title": "Account",
  "description": "Internal record of user account registrations.",
  "type": "json-table",
  "definition": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "required": [
      "email",
      "hashedPassword",
      "privateDbUrl"
    ],
    "properties": {
      "email": {
        "type": "string",
        "format": "email"
      },
      "hashedPassword": {
        "type": "string"
      },
      "passwordChangeCode": {
        "type": "string"
      },
      "passwordChangeCodeCreatedAt": {
        "type": "string",
        "format": "date-time"
      },
      "privateDbUrl": {
        "type": "string",
        "pattern": "^hyper://([a-f0-9]{64})/$"
      },
      "notificationsClearedAt": {
        "type": "string",
        "format": "date-time"
      }
    }
  }
}

Schemas