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
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"
}