social.coves.community.subscription

coves.social

Documentation

A subscription to a community

main record

A subscription to a community

Record Key tid Timestamp-based ID

Properties

contentVisibility integer Optional

Content visibility level (1=only best content, 5=all content)

minimum: 1maximum: 5
Default: 3
createdAt string datetime Required

When the subscription started

endedAt string datetime Optional

When the subscription ended (null if current)

subject string did Required

DID of the community being subscribed to

View raw schema
{
  "description": "A subscription to a community",
  "key": "tid",
  "record": {
    "properties": {
      "contentVisibility": {
        "default": 3,
        "description": "Content visibility level (1=only best content, 5=all content)",
        "maximum": 5,
        "minimum": 1,
        "type": "integer"
      },
      "createdAt": {
        "description": "When the subscription started",
        "format": "datetime",
        "type": "string"
      },
      "endedAt": {
        "description": "When the subscription ended (null if current)",
        "format": "datetime",
        "type": "string"
      },
      "subject": {
        "description": "DID of the community being subscribed to",
        "format": "did",
        "type": "string"
      }
    },
    "required": [
      "subject",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}

Lexicon Garden

@