Douglass.network Schemas

User/Database Index json-table

douglass.network/user-db-idx

An index mapping user database URLs to user IDs

{
  "id": "douglass.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