Douglass.network Schemas

Owned Items Index json-table

douglass.network/owned-items-idx

An index of items owned by a user in other databases.

{
  "id": "douglass.network/owned-items-idx",
  "title": "Owned Items Index",
  "description": "An index of items owned by a user in other databases.",
  "type": "json-table",
  "keyTemplate": [
    {
      "type": "json-pointer",
      "value": "/item/userId"
    },
    {
      "type": "string",
      "value": ":"
    },
    {
      "type": "json-pointer",
      "value": "/item/key"
    }
  ],
  "definition": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "required": [
      "item",
      "createdAt"
    ],
    "properties": {
      "item": {
        "type": "object",
        "required": [
          "dbUrl",
          "key",
          "userId"
        ],
        "properties": {
          "dbUrl": {
            "type": "string",
            "format": "uri"
          },
          "key": {
            "type": "string"
          },
          "userId": {
            "type": "string",
            "pattern": ".+@.+"
          }
        }
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      }
    }
  }
}

Schemas