Douglass.network Schemas

Feed Index json-table

douglass.network/feed-idx

Aggregated content feed

{
  "id": "douglass.network/feed-idx",
  "title": "Feed Index",
  "description": "Aggregated content feed",
  "type": "json-table",
  "keyTemplate": [
    {
      "type": "json-pointer",
      "value": "/feedUserId"
    },
    {
      "type": "string",
      "value": ":"
    },
    {
      "type": "json-pointer",
      "value": "/idxkey"
    }
  ],
  "definition": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "required": [
      "feedUserId",
      "idxkey",
      "item",
      "createdAt"
    ],
    "properties": {
      "feedUserId": {
        "type": "string",
        "pattern": ".+@.+"
      },
      "idxkey": {
        "type": "string"
      },
      "item": {
        "type": "object",
        "required": [
          "dbUrl",
          "authorId"
        ],
        "properties": {
          "dbUrl": {
            "type": "string",
            "format": "uri"
          },
          "authorId": {
            "type": "string",
            "pattern": ".+@.+"
          }
        }
      },
      "createdAt": {
        "type": "string",
        "format": "date-time"
      }
    }
  }
}

Schemas