org.simocracy.notificationSeen

gainforest.earth

Documentation

Singleton record per user tracking when they last viewed their notifications. Written to the user's PDS with rkey 'self'.

main record

Singleton record per user tracking when they last viewed their notifications. Written to the user's PDS with rkey 'self'.

Record Key literal:self Fixed literal value

Properties

createdAt string datetime Required

When this record was first created

seenAt string datetime Required

When the user last opened /notifications

View raw schema
{
  "key": "literal:self",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "seenAt",
      "createdAt"
    ],
    "properties": {
      "seenAt": {
        "type": "string",
        "format": "datetime",
        "description": "When the user last opened /notifications"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "When this record was first created"
      }
    }
  },
  "description": "Singleton record per user tracking when they last viewed their notifications. Written to the user's PDS with rkey 'self'."
}

Lexicon Garden

@