Douglass.network Schemas

Community membership json-table

douglass.network/community-membership

Declaration of membership in a community by a user.

{
  "id": "douglass.network/community-membership",
  "title": "Community membership",
  "description": "Declaration of membership in a community by a user.",
  "type": "json-table",
  "definition": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "required": [
      "community",
      "joinDate"
    ],
    "properties": {
      "community": {
        "type": "object",
        "required": [
          "dbUrl",
          "userId"
        ],
        "properties": {
          "dbUrl": {
            "type": "string",
            "format": "uri"
          },
          "userId": {
            "type": "string",
            "pattern": ".+@.+"
          }
        }
      },
      "joinDate": {
        "type": "string",
        "format": "date-time"
      }
    }
  }
}

Schemas