net.wireservice.staffRole

wireservice.net

Documentation

A staff member's role at the publication, stored in the publication's private staff space. The record key is the staff member's DID, so each person has at most one role.

main record

A staff member's role at the publication, stored in the publication's private staff space. The record key is the staff member's DID, so each person has at most one role.

Record Key any Any valid record key

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

role string Required

No description available.

maxLength: 64 bytes
Known values: admin, editor, reporter, contributor
subject string did Required

The staff member's DID. Must match the record key.

View raw schema
{
  "description": "A staff member's role at the publication, stored in the publication's private staff space. The record key is the staff member's DID, so each person has at most one role.",
  "key": "any",
  "record": {
    "properties": {
      "createdAt": {
        "format": "datetime",
        "type": "string"
      },
      "role": {
        "knownValues": [
          "admin",
          "editor",
          "reporter",
          "contributor"
        ],
        "maxLength": 64,
        "type": "string"
      },
      "subject": {
        "description": "The staff member's DID. Must match the record key.",
        "format": "did",
        "type": "string"
      }
    },
    "required": [
      "subject",
      "role",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}

Lexicon Garden

@